@charset "utf-8";

:root {
  --color-blue: #28437E;
  --color-yellow: #BF9B5D;
  --color-basic: #231815;
}

img {
  width: 100%;
  height: auto;
}

.body {
  color: var(--color-basic);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  background-color: #F2EFE6;
}
.background {
  background-image: url(../img/bg-img.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: -1000;
}

.header-img {
  background: url(../img/header.png) no-repeat center top/contain;
  aspect-ratio: 2880/596;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: -100;
}

.container {
  max-width: 540px;
  margin: auto;
  padding: 0 15px;
}

main.container {
  margin-top: calc(100svw * (0.068));
}

/* 概要 */
.about-sec {
  margin: auto;
  margin-top: 14px;
  margin-bottom: 55px;
  max-width: 360px;
  padding: 0 20px;
}
.about-ttl {
  margin-top: 12px;
}
.about-period__wrap {
  margin-top: 20px;
}
.about-special_judge__wrap {
  max-width: 260px;
  margin: 30px auto;
}
/* //概要 */

/* 募集方法 */
.detail-sec {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px 22px 60px;
  margin: auto;
  margin-bottom: 55px;
  max-width: calc(360px - 22px*2);
}
.entry-sec {
  padding-bottom: 30px;
  border-bottom: 2px dotted #5386B9;
}
.entry-ttl__wrap {
  margin: auto;
  margin-bottom: 28px;
  max-width: 120px;
}
.entry-step__01 {
  display: block;
}
.entry-step__line,
.entry-step__02,
.entry-step__03 {
  display: block;
  margin-top: 15px;
}
.entry-step__desc {
  display: block;
  margin-top: 20px;
}
/* //募集方法 */

/* 賞品 */
.prize-sec {
  padding-top: 30px;
}
.prize-ttl__wrap {
  margin: auto;
  margin-bottom: 28px;
  max-width: 120px;
}

.prize-list__item {
  display: block;
  margin: auto;
  margin-bottom: 30px;
  max-width: calc(100% - 85px);
}
.prize-list__item-result {
  display: block;
  margin: auto;
  margin-top: 40px;
  max-width: calc(100% - 38px);
}


/* //賞品 */

/* 応募フォーム */
.entryform-sec {
  background-color: #fff;
  border: 2px solid var(--color-yellow);
  border-radius: 20px;
  padding: 95px 22px 35px;
  margin: auto;
  margin-top: 128px;
  margin-bottom: 60px;
  max-width: calc(360px - 22px*2);
  position: relative;
}
.entryform-sec::before {
  content: "";
  display: block;
  width: 140px;
  height: 140px;
  background: url(../img/ttl-entryform.png) no-repeat center/contain;
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
}
.form__wrap {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.form__label {
  margin-bottom: 0.5em;
}
.form__input {
  margin: 0;
  margin-bottom: 34px;
}
.required {
  background-color: var(--color-yellow);
  color: #fff;
  font-size: 0.75em;
  border-radius: 0.17em;
  padding: 0.17em 0.34em;
  margin-left: 0.42em;
  display: inline-block;
}
input, textarea {
  background-color: #F8FAFC;
  border: 1px solid #B8BCCA;
  border-radius: 0.5em;
  padding: 0.8em;
  width: calc(100% - 0.8em*2);
}

.btn {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  background-color: var(--color-blue);
  color: #fff;
  border: none;
  margin: 10px 0;
  padding: 20px;
  border-radius: 0.5em;
  text-decoration: none;
  display: inline-block;
}
.btn-wide {
  width: 100%;
}
/* //応募フォーム */

/* フッター */
.footer {
  background-color: var(--color-blue);
  color: #fff;
  font-size: 12px;
  padding: 1em;
}
.footer-row {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}
.footer-img {
  max-width: 132px;
}
.footer-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 20em;
  gap: 0.2em 1.5em;
}
.footer-text p {
  margin: 0;
}
/* //フッター */

/* 完了画面 */
html:has(.form-end) {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  box-sizing: border-box;
  padding-bottom: 100px;
}
.form-end {
  margin-top: calc(100svw * 0.2);
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

.form-end .btn {
  font-size: 1em;
  padding: 1.5em;
}
.footer-form {
  width: calc(100% - 1em*2);
  position: absolute;
  bottom: 0;
  left: 0;
}
.error_messe {
  color: #b22323;
}
/* //完了画面 */

@media (hover: hover) {
  a,
  .btn {
    transition: .3s;
  }
  a:hover,
  .btn:hover {
    opacity: 0.7;

  }
}
@media screen and (min-width: 768px), print {
  .container {
    max-width: 1210px;
    padding: 0 30px;
  }
  .about-sec {
    max-width: 825px;
    margin-top: 35px;
    margin-bottom: 140px;
    padding: 0 40px;
  }
  .about-ttl {
    margin-top: 28px;
  }
  .about-period__wrap {
    margin-top: 45px;
  }
  .about-special_judge__wrap {
    max-width: 590px;
    margin: 62px auto;
  }
  .detail-sec {
    background-color: #fff;
    border-radius: 45px;
    padding: 70px 50px 140px;
    margin: auto;
    margin-bottom: 140px;
    max-width: calc(810px - 50px * 2);
  }
  .entry-ttl__wrap {
    margin-bottom: 62px;
    max-width: 270px;
  }
  .entry-step__line, .entry-step__02, .entry-step__03 {
    margin-top: 34px;
  }
  .entry-step__desc {
    margin-top: 45px;
  }
  .entry-sec {
    padding-bottom: 68px;
    border-bottom: 5px dotted #5386B9;
  }
  .prize-sec {
    padding-top: 64px;
  }
  .prize-ttl__wrap {
    margin-bottom: 68px;
    max-width: 270px;
  }
  .prize-list__item {
    margin-bottom: 68px;
    max-width: calc(100% - 195px);
  }
  .prize-list__item-result {
    margin-top: 94px;
    max-width: calc(100% - 75px);
  }
  .entryform-sec {
    margin-top: 280px;
    margin-bottom: 130px;
    max-width: calc(810px - 50px * 2);
    padding: 215px 50px 75px;
    border-radius: 45px;
    border: 5px solid var(--color-yellow);
  }
  .entryform-sec::before {
    width: 315px;
    height: 315px;
    top: -152px;
  }
  .form__wrap {
    font-size: 36px;
  }
  input, textarea {
    border-width: 2px;
  }
  .form__input {
    margin-bottom: 72px;
  }
  .btn {
    font-size: 48px;
    padding: 44px;
    margin: 30px 0;
  }
  .footer {
    font-size: 14px;
  }
  .footer-row {
    flex-direction: row;
    gap: 1em;
  }
  .footer-img {
    max-width: 185px;
  }
  .footer-text {
    justify-content: flex-start;
  }
  .form-end {
    margin-top: calc(100svw * 0.14);
    font-size: 20px;
  }
}
