/* 共通 */
p {
  margin: 0;
}

.wrap-main {
  background-image: url(./img/bg-main.jpg);
  background-repeat: repeat;
  margin-top: -18px
}

.content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 30px;
  font-size: 16px;
  color: #3F2F28;
}
.content .image {
  margin-left: auto;
  margin-right: auto;
}
.content .image img {
  width: 100%;
}
.content .w500 {
  max-width: 500px;
}

.plain-link {
  text-decoration: none;
  color: inherit;
}

/* 共通フレーム */
.frame-title {
  margin-bottom: -27.5px;
}
.frame-title img {
  max-width: 90%;
  display: block;
  margin: 0 auto;
}
.frame-main {
  box-sizing: border-box;
  padding: 45px 10% 20px;
  background-color: #FFFFFF;
  border: 5px solid #CF3A1D;
  border-radius: 40px;
}

/* 罫線 */
hr.ashiato {
  border: 0;
  background-image: url(./img/icon_ashiato.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  height: 43px;
  margin: 50px auto;
}
hr.frame-line {
  border: 0;
  background-image: url(./img/line_yellow-dot.png);
  background-repeat: repeat-x;
  height: 3px;
}

/* 電車アニメーション */
.wrap-train {
  position: relative;
  overflow: hidden;
  height: 158px;
  margin-top: -140px;
}
.train01 {
  bottom: 18px;
}
.train02 {
  bottom: 43px;
}
.train-anime {
  position: absolute;
  z-index: 3;
  width: 20%;
  animation-name: train;
  animation-duration: 10s;
  animation-delay: 0.5s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.train-anime img {
  width: 100%;
}
@keyframes train {
  0% {right: -25%;}
  100% {right: 100%;}
}

/* KV */
#marugoto-taiken {
  margin: 0 auto -50px;
  position: relative;
  z-index: 2;
  text-align: center;
}
#marugoto-taiken img {
  width: 90%;
  max-width: 500px;
}
.wrap-kv {
  background-color: #6AB441;
  position: relative;
  z-index: -1;
}
.kv {
  max-width: 960px;
  margin: 0 auto;
  line-height: 0;
  position: relative;
  z-index: 1;
}
.kv img {
  width: 100%;
}
.line-senro {
  height: 18px;
  position: relative;
  z-index: 2;
  bottom: -124px;
  background-image: url(./img/line_senro.png);
  background-repeat: repeat-x;
}

/* 上部の概要情報 */
.main-info {
  background-image: url(./img/bg_ashiato.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  padding-top: 20px;
}

/* ニュース */
.news .frame-main {
  line-height: 1.8;
}

.news-date {
  color: #6AB441;
  font-weight: bold;
}

/* 遊び方 */
.how-to-text img {
  max-width: 100%;
}
.how-to-image {
  text-align: right;
}
.how-to-image img {
  max-width: 100%;
}
@media (max-width:768px) {
  .how-to-image img {
    width: 50%;
  }
}

/* 参加キット配布場所 */
.haihu p {
  text-align: center;
}
.haihu ul {
  margin: 0 auto;
}

.haihu ul li {
  line-height: 1.6;
}

/* 開催概要 */
.gaiyo-term {
  color: #6AB441;
  font-weight: bold;
}
@media (max-width:768px) {
  .gaiyo-term {
    margin-bottom: 5px;
  }
}
.gaiyo hr {
  margin: 10px 0;
}

/* よくあるご質問 */
.q-and-a dt, .q-and-a dd {
  display: table;
}
.q-and-a dt::before, .q-and-a dd::before {
  display: table-cell;
  padding-right: 10px;
}
.q-and-a dt {
  margin-bottom: 10px;
  color: #CF3A1D;
}
.q-and-a dt::before {
  content: url(./img/QandA_Q.png);
}
.q-and-a dd::before {
  content: url(./img/QandA_A.png);
}

@media (max-width:768px) {
  .q-and-a hr {
    margin: 20px 0;
  }
}

/* 注意事項 */
.attension ul {
  margin: 0;
  padding-left: 20px;
}
.attension ul li {
  margin-bottom: 10px;
  font-size: 12px;
}

/* お問い合わせ */
.contact {
  text-align: center;
  padding: 30px;
  margin: 0 auto;
  border-radius: 40px;
  background-color: #FFFFFF;
}
@media (min-width:768px) {
  .contact {
    width: 50%;
  }
}

/* SNSシェア */
.sns-share {
  background-color: #FFC02A;
}
.sns-share.line {
  background-image: url(./img/line_senro_white.png);
  background-repeat: repeat-x;
  background-position: center;
  height: 18px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* お仕事体験へのリンク */
.oshigoto-taiken-wrap {
  background-color: #f4ead5;
  margin-top: -18px;
  padding: 30px;
}
.oshigoto-taiken-wrap p {
  color: #b28147;
  font-size: 20px;
}
.button-link {
  background-color: #CF3A1D;
  border-radius: 23px;
  line-height: 30px;
  font-weight: bold;
}

/* クレジット */
.credit {
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  color: #655853;
  line-height: 1.8;
  margin: 30px;
}

/* 汎用クラス */
p small {
  font-size: 12px;
  font-weight: bold;
  color: #6AB441;
}

.mb_10 {
  margin-bottom: 10px;
}

.mb_20 {
  margin-bottom: 20px;
}

.mb_50 {
  margin-bottom: 50px;
}

.mt_20 {
  margin-top: 20px;
}

.mt_50 {
  margin-top: 50px;
}

.txt-center {
  text-align: center;
}

.txt-white {
  color: #FFFFFF;
}

dl, dt, dd {
  margin: 0;
  padding: 0;
}
