@charset "utf-8";

@media screen and (max-width: 768px) {
  .header .logo-wrap .logo {
    position: relative;
  }

  .header .logo-wrap .logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/top/logo_sp.png) no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 300ms ease;
  }

  .header.-active .logo-wrap .logo::after {
    opacity: 1; 
  }

  .header .logo-wrap .sub {
    color: #000;
    transition: color 300ms ease;
  }

  .header.-active .logo-wrap .sub {
    color: #fff;
  }

  .header .menu-btn span:nth-of-type(1),
  .header .menu-btn span:nth-of-type(2),
  .header .menu-btn span:nth-of-type(3) {
    background-color: #000;
  }

  .header .menu-btn.-active span:nth-of-type(1),
  .header .menu-btn.-active span:nth-of-type(2),
  .header .menu-btn.-active span:nth-of-type(3) {
    background-color: #fff;
  }
}

/* ↓↓↓ bg ↓↓↓ */
.bg {
  width: 100%;
  height: max-content;
  background: #FFFFFF;
  background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(216, 232, 221, 1) 70%);
}
/* ↑↑↑ bg ↑↑↑ */

/* ↓↓↓ form-area ↓↓↓ */
.form-area {
  margin-top: 184px;
  padding: 0 30px;
}

@media screen and (max-width: 768px) {
  .form-area {
    margin-top: 144px;
  }
}

.form-area {
  margin-top: 184px;
  padding: 0 26px min(9.375vw, 120px);
}

.form-area .content {
  max-width: 1000px;
  background-color: #fff;
  border: 2px solid #2E7048;
  margin: 0 auto;
  padding: 70px min(8vw, 80px) 80px;
}

@media screen and (max-width: 768px) {
  .form-area .content {
    max-width: 100%;
    padding: 32px 24px 48px;
  }
}

.form-area .content .title {
  font-size: 3.2rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .form-area .content .title {
    font-size: 2.4rem;
  }
}

.form-area .content .form {
  margin-top: 80px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form {
    margin-top: 32px;
  }
}

.form-area .content .form input {
  border: 1px solid #B2B2B2;
  width: 100%;
  height: 46px;
  padding: 10px 15px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form input {
    height: 46px;
    padding: 10px 10px;
  }
}

.form-area .content .form input[type="radio"] {
  width: fit-content;
}

.form-area .content .form input[type="file"] {
  font-size: 1.4rem;
  color: #434343;
}

.form-area .content .form input[type="file"]::file-selector-button,
.form-area .content .form input[type="file"]::-webkit-file-upload-button {
  width: 125px;
  height: 26px;
  font-size: 1.4rem;
  color: #434343;
  background-color: #EBEBEB;
  border: 1px solid #707070;
  margin-right: 12px;
  cursor: pointer;
  transition: opacity 300ms ease;
  border-radius: 2;
}

@media screen and (min-width: 769px)  {
  .form-area .content .form input[type="file"]::file-selector-button:hover,
  .form-area .content .form input[type="file"]::-webkit-file-upload-button:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 768px) {
  .form-area .content .form input[type="file"]::file-selector-button,
  .form-area .content .form input[type="file"]::-webkit-file-upload-button {
    margin: 0 4px 0 0px;
  }
}

.form-area .content .form .block select {
  border: 1px solid #B2B2B2;
  width: 239px;
  height: 46px;
  padding: 10px 15px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block select {
    width: 177px;
    height: 46px;
  }
}

.form-area .content .form .block {
  width: 100%;
  margin-top: 32px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block {
    width: 100%;
    margin-top: 24px;
  }
}

.form-area .content .form .block:first-of-type {
  margin-top: 0;
}

.form-area .content .form .block .item-wrap {
  display: flex;
  column-gap: 16px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block .item-wrap {
    column-gap: 7px;
  }
}

.form-area .content .form .block .item-wrap.zip {
  position: relative;
  column-gap: 26px;
}

.form-area .content .form .block .item-wrap.zip::after {
  content: '';
  position: absolute;
  translate: 0 -50%;
  width: 10px;
  height: 2px;
  top: 50%;
  left: 77px;
  background-color: #000000;
}

.form-area .content .form .block .item {
  width: 100%;
}

.form-area .content .form .block .item.small {
  width: 254px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block .item.small {
    width: 132px;
  }
}

.form-area .content .form .block .item.age {
  width: 69px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block .item.age {
    width: 69px;
  }
}

.form-area .content .form .block .item.gender,
.form-area .content .form .block .item.consent {
  display: flex;
  align-items: center;
  height: 46px;
  column-gap: 8px;
  padding: 10px 15px;
  border: 1px solid #B2B2B2;
}

.form-area .content .form .block .item.consent {
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block .item.consent {
    margin-top: 16px;
  }
}

.form-area .content .form .block .head {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block .head {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }
}

.form-area .content .form .block .head .req {
  font-size: 1.4rem;
  padding: 0 8px;
  margin-left: 8px;
  color: #fff;
  background-color: #2F7048;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block .head .req {
    font-size: 1.4rem;
    padding: 0 8px;
    margin-left: 8px;
    color: #fff;
    background-color: #2F7048;
  }
}

.form-area .content .form .sub {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #434343;
}

.form-area .content .form .block .example {
  font-size: 1.4rem;
  margin: 8px 0 0 3px;
  color: #434343;
}

.form-area .content .form .block .text-wrap .text {
  width: 100%;
  border: 1px solid #B2B2B2;
  padding: 31px 39px;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block .text-wrap .text {
    padding: 31px 16px;
  }
}

.form-area .content .form .block .text {
  font-size: 1.4rem;
  line-height: 2.2;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .block .text {
    line-height: 1.85;
  }
}

.form-area .content .form .form-submit {
  width: 100%;
  margin: 72px auto 0;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .form-submit {
    width: 100%;
    margin: 24px auto 0;
  }
}

.form-area .content .form .form-submit.confirm {
  display: flex;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .form-submit.confirm {
    flex-direction: column;
  }
}

.form-area .content .form .form-submit .btn {
  display: block;
  position: relative;
  width: 100%;
  max-width: 664px;
  height: 140px;
  background-color: #2E7048;
  border: 2px solid #2E7048;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 auto;
  cursor: pointer;
  transition: background-color 300ms ease, color 300ms ease;
}

@media screen and (min-width: 769px) {
  .form-area .content .form .form-submit .btn:hover {
    background-color: #fff;
    color: #2E7048;
  }
}

@media screen and (min-width: 769px) {
  .form-area .content .form .form-submit form .btn:hover {
    background-color: #fff;
    color: #2E7048;
  }
}

@media screen and (max-width: 768px) {
  .form-area .content .form .form-submit .btn {
    width: 100%;
    max-width: 100%;
    height: 78px;
    font-size: 2.0rem;
  }
}

.form-area .content .form .form-submit.confirm form {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .form-submit.confirm form + form{
    margin-top: 16px;
  }
}

.form-area .content .form .form-submit.confirm .btn {
  width: calc(100% - 8px);
  margin: 0;
}

@media screen and (max-width: 768px) {
  .form-area .content .form .form-submit.confirm .btn {
    width: 100%;
    margin: 0;
  }
}

.form-area .content .form .form-submit.confirm form:last-of-type .btn {
  margin: 0 0 0 auto;
}

.form-area .content .form .form-submit .btn::after {
  content: '';
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  right: 54px;
  width: 15px;
  height: 27px;
  mask-image: url(../img/common/arrow.svg);
  mask-repeat: no-repeat;
  mask-size: 15px 27px;
  background-color: #fff;
  transition: background-color 300ms ease;
}

@media screen and (min-width: 769px) {
  .form-area .content .form .form-submit .btn:hover::after {
    background-color: #2E7048;
  }
}

@media screen and (min-width: 769px) {
  .form-area .content .form .form-submit form .btn:hover::after {
    background-color: #2E7048;
  }
}

@media screen and (max-width: 768px) {
  .form-area .content .form .form-submit .btn::after {
    content: '';
    position: absolute;
    translate: 0 -50%;
    top: 50%;
    right: 23px;
    width: 7px;
    height: 12px;
    mask-size: 7px 12px;
  }
}

.form-area .content .form .form-submit.confirm form:first-of-type .btn {
  border: 2px solid #2E7048;
  background-color: #fff;
  color: #2E7048;
}

@media screen and (min-width: 769px) {
  .form-area .content .form .form-submit.confirm form:first-of-type .btn:hover {
    background-color: #2E7048;
    color: #fff;
  }
}

.form-area .content .form .form-submit.confirm form:first-of-type .btn::after {
  right: unset;
  left: 54px;
  rotate: 180deg;
  background-color: #2E7048;
}

@media screen and (min-width: 769px) {
  .form-area .content .form .form-submit.confirm form:first-of-type .btn:hover::after {
    background-color: #fff;
  }
}

@media screen and (max-width: 768px) {
  .form-area .content .form .form-submit.confirm form:first-of-type .btn::after {
    left: 23px;
  }
}

.form-area.thanks .title {
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: .08em;
  text-align: center;
}

.form-area.thanks .lead {
  font-size: 1.6rem;
  margin: 30px 0;
  line-height: 2;
  text-align: justify;
  word-break: break-all;
}

.form-area.thanks .top-btn {
  display: block;
  position: relative;
  width: 100%;
  max-width: 164px;
  height: 41px;
  background-color: #2E7048;
  border: 1px solid #2E7048;
  font-size: 1.4rem;
  display: grid;
  justify-items: center;
  align-items: center;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 auto;
  transition: background-color 300ms ease, color 300ms ease;
}

@media screen and (min-width: 768px) {
  .form-area.thanks .top-btn:hover {
    background-color: #fff;
    color: #2E7048;
  }
}

.form-area.thanks .top-btn::after {
  content: '';
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  right: 16px;
  width: 5px;
  height: 10px;
  mask-image: url(../img/common/arrow.svg);
  mask-repeat: no-repeat;
  mask-size: 5px 10px;
  background-color: #fff;
  transition: background-color 300ms ease;
}

@media screen and (min-width: 768px) {
  .form-area.thanks .top-btn:hover::after {
    background-color: #2E7048;
  }
} 
/* ↑↑↑ form-area ↑↑↑ */

/* ↓↓↓ common ↓↓↓ */
/* ↑↑↑ common ↑↑↑ */