@charset "UTF-8";
.sp {
  display: none;
}

.pc {
  display: block;
}

@media only screen and (max-width: 750px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

.clearfix:before, .clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

li {
  list-style: none;
}

html {
  width: 100%;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, Meiryo, Verdana, sans-serif;
  background-color: #fff;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
  text-align: center;
  color: #000;
  letter-spacing: 0.03em;
  position: relative;
  font-size: 16px;
  -webkit-animation: bodyIn 1s ease both;
  animation: bodyIn 1s ease both;
}

@-webkit-keyframes bodyIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bodyIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*****************************************/
.wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.wrapper p {
  max-height: 999999px;
}

@media only screen and (min-width: 751px) {
  .wrapper {
    min-width: 1100px;
  }
}

/*****************************************/
.header {
  position: relative;
  padding-top: 34.5%;
}

.header h1 {
  position: absolute;
  z-index: 20;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

@media only screen and (min-width: 751px) {
  .header {
    background: url("../img/img_main_pc.jpg") center no-repeat;
    -webkit-background-size: 100% auto;
    -o-background-size: 100% auto;
    background-size: 100% auto;
  }
  .header h1 {
    width: 500px;
    bottom: -130px;
  }
}

@media only screen and (max-width: 750px) {
  .header {
    background: url("../img/img_main_sp.jpg") top center no-repeat;
    -webkit-background-size: 100% auto;
    -o-background-size: 100% auto;
    background-size: 100% auto;
    padding-top: 61%;
  }
  .header h1 {
    width: 81%;
    bottom: -34%;
  }
}

/*****************************************/
.contents {
  position: relative;
}

.contents .cont_in {
  position: relative;
  z-index: 20;
}

.contents .question {
  background: url("../img/bg_paper_repeat.gif");
  position: relative;
}

.contents .question:before, .contents .question:after {
  content: "";
  display: block;
  width: 100%;
  height: 100px;
  position: absolute;
  z-index: 10;
}

.contents .question:before {
  background: url("../img/bg_paper_head.png") top repeat-x;
  top: -27px;
}

.contents .question:after {
  background: url("../img/bg_paper_bottom.png") bottom repeat-x;
  bottom: -27px;
}

.contents .question .lead {
  font-family: 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "ＭＳ 明朝", "ＭＳ Ｐ明朝", serif;
  line-height: 1.7;
}

.contents .question .lead:after {
  content: "";
  display: block;
  background: url("../img/deco.png") center no-repeat;
  -webkit-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}

.contents .question .q_txt {
  line-height: 1.6;
}

.contents .question input {
  background: #FBF7EB;
  border: 1px solid #D4CCB7;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  text-align: center;
  position: relative;
  z-index: 30;
}

.contents .question .send, .contents .question .back {
  position: relative;
  z-index: 30;
}

.contents .past {
  position: relative;
}

.contents .past .chara {
  position: absolute;
  z-index: 20;
  top: -137px;
  left: 50%;
  margin-left: -450px;
  width: 160px;
}

.contents .past .past_list li {
  position: relative;
  display: inline-block;
  padding: 20px;
  width: 280px;
}

.contents .past .past_list li a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 40;
}

.contents .past .past_list li:before {
  content: "";
  background: url("../img/frame.png") no-repeat;
  -webkit-background-size: 100% 100%;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

@media only screen and (min-width: 751px) {
  .contents .cont_in {
    width: 1020px;
    margin: 0 auto;
  }
  .contents .cont_in h2 {
    width: 550px;
    margin: 0 auto 35px;
  }
  .contents .question {
    padding: 170px 0 100px;
  }
  .contents .question .lead {
    font-size: 20px;
  }
  .contents .question .lead:after {
    width: 60px;
    height: 16px;
    margin: 50px auto;
  }
  .contents .question .img_sample {
    width: 500px;
    margin: 0 auto;
  }
  .contents .question h2 {
    margin-top: 85px;
  }
  .contents .question .q_txt {
    margin: 25px 0;
    font-size: 20px;
  }
  .contents .question input {
    width: 540px;
    height: 40px;
    padding: 10px 20px;
    font-size: 18px;
  }
  .contents .question .send, .contents .question .back {
    width: 350px;
    margin: 50px auto 0;
    cursor: pointer;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    cursor: pointer;
  }
  .contents .question .send:hover, .contents .question .back:hover {
    opacity: 0.7;
  }
  .contents .question .back {
    width: 245px;
  }
  .contents .question .thanks_txt {
    width: 520px;
    margin: 0 auto;
  }
  .contents .question .img_digicon {
    margin: 35px auto;
    width: 300px;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    cursor: pointer;
  }
  .contents .question .img_digicon:hover {
    opacity: 0.7;
  }
  .contents .past {
    background: url("../img/bg_past_pc.jpg") center;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 90px 0;
  }
  .contents .past .past_list li {
    margin: 0 5px 20px;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    cursor: pointer;
  }
  .contents .past .past_list li:hover {
    opacity: 0.7;
  }
}

@media only screen and (max-width: 750px) {
  .contents .cont_in {
    margin: 0 auto;
    width: 92%;
  }
  .contents .question {
    padding: 28% 0 15%;
  }
  .contents .question .lead {
    line-height: 1.8;
    font-size: 15px;
    font-size: 4.4vw;
    letter-spacing: -0.01em;
  }
  .contents .question .lead:after {
    width: 40px;
    height: 15px;
    margin: 9% auto 10%;
  }
  .contents .question .img_sample {
    width: 80%;
    margin: 0 auto;
  }
  .contents .question h2 {
    margin-top: 12%;
  }
  .contents .question .q_txt {
    margin-top: 5%;
    font-size: 15px;
  }
  .contents .question input {
    font-size: 15px;
    width: 100%;
    height: 50px;
    margin: 8% 0;
    padding: 3% 5%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .contents .question .send, .contents .question .back {
    width: 60%;
    margin: 0 auto;
  }
  .contents .question .thanks_txt {
    margin: 0 5%;
  }
  .contents .question .img_digicon {
    width: 50%;
    margin: 8% auto;
  }
  .contents .question .att {
    margin-bottom: 10%;
    line-height: 1.5;
  }
  .contents .past {
    background: url("../img/bg_past_sp.jpg") no-repeat;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 13% 0;
  }
  .contents .past .chara {
    top: -5%;
    left: 4%;
    margin-left: 0;
    width: 26%;
  }
  .contents .past .past_list {
    font-size: 0;
    text-align: left;
    padding-top: 5%;
  }
  .contents .past .past_list li {
    width: 42%;
    padding: 3%;
    margin: 0 0 1.4% 0;
  }
  .contents .past .past_list li:nth-of-type(even) {
    margin-left: 3%;
  }
}

/*****************************************/
.footer {
  background: #251808 url("../img/bg_footer.gif");
  padding: 50px 0 40px;
  color: #fff;
  font-size: 12px;
}

.footer .bnr {
  width: 240px;
  margin: 0 auto 35px;
}

.footer .copy {
  line-height: 1.8;
}

@media only screen and (min-width: 751px) {
  .footer .bnr {
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    cursor: pointer;
  }
  .footer .bnr:hover {
    opacity: 0.7;
  }
}

@media only screen and (max-width: 750px) {
  .footer {
    padding: 12% 4% 10%;
    font-size: 10px;
  }
}

/*****************************************/
.chara_float {
  position: absolute;
  z-index: 30;
  left: -110px;
  top: 0;
  width: 110px;
  height: 110px;
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  -webkit-animation: rotation 8s linear infinite;
  animation: rotation 8s linear infinite;
}

@-webkit-keyframes rotation {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotation {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.chara_float2 {
  position: absolute;
  z-index: 30;
  right: -110px;
  top: 0;
  width: 110px;
  height: 110px;
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  -webkit-animation: rotation2 8s linear infinite;
  animation: rotation2 8s linear infinite;
}

@-webkit-keyframes rotation2 {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

@keyframes rotation2 {
  0% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}