:root {
  --color-red: #c7000a;
  --color-white: #fff;
  --color-black: #000;
  --color-gray: #cecece;
}

@keyframes poyon {
  0% {
    transform: scale(1, 1);
  }
  33% {
    transform: scale(1.3, 0.7);
  }
  66% {
    transform: scale(0.8, 1.2);
  }
  100% {
    transform: scale(1, 1);
  }
}
@keyframes katakata {
  0% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(8deg);
  }
  20% {
    transform: rotate(0);
  }
  30% {
    transform: rotate(8deg);
  }
  40% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(0);
  }
}
@keyframes dot-pulse {
  0%, 100% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}
.p-hero__logo {
  margin: 0 auto 41px;
  width: 52.3%;
  transform: scale(0.7);
  opacity: 0;
}
@media screen and (max-width: 859px) {
  .p-hero__logo {
    margin: 0 auto 29px;
  }
}
.is-load .p-hero__logo {
  opacity: 1;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.2s;
}
.p-hero__lead {
  text-align: center;
  line-height: 1.85;
  font-size: 20px;
  letter-spacing: 1.3px;
  transform: translateY(40px);
  opacity: 0;
  font-feature-settings: "palt";
}
.is-load .p-hero__lead {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.45s;
}
@media screen and (max-width: 859px) {
  .p-hero__lead {
    font-size: 14px;
    letter-spacing: 0.8px;
  }
}
.p-hero__info {
  padding: 0 2.7%;
  margin-top: 19px;
  transform: translateY(40px);
  opacity: 0;
}
.is-load .p-hero__info {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.45s;
}
@media screen and (min-width: 860px) {
  .p-hero__info {
    margin-top: 29px;
  }
}
.p-hero__info-head-ttl {
  text-align: center;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.5px;
  margin-bottom: 9px;
}
@media screen and (min-width: 860px) {
  .p-hero__info-head-ttl {
    margin-bottom: 15px;
    font-size: 22px;
  }
}
.p-hero__info-head-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.5px;
}
@media screen and (min-width: 860px) {
  .p-hero__info-head-text {
    font-size: 20px;
  }
}
.p-hero__info-head-tag {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  margin-top: 10px;
}
@media screen and (min-width: 860px) {
  .p-hero__info-head-tag {
    font-size: 20px;
  }
}
.p-hero__info-head-tag span {
  background-color: #7d0000;
  color: var(--color-white);
  font-weight: 500;
  margin-left: 7px;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 100px;
}
@media screen and (min-width: 860px) {
  .p-hero__info-head-tag span {
    margin-left: 14px;
    padding: 10px 18px 11px;
    font-size: 16px;
  }
}
.p-hero__info-content {
  margin-top: 31px;
}
@media screen and (min-width: 860px) {
  .p-hero__info-content {
    margin-top: 38px;
  }
}
.p-hero__info-box {
  line-height: 1.55;
  border-top: 2px dotted #7d0000;
  padding: 25px 0;
}
@media screen and (min-width: 860px) {
  .p-hero__info-box {
    padding: 30px 0;
  }
}
.p-hero__info-box:last-of-type {
  padding-bottom: 0;
}
.p-hero__info-box-ttl {
  color: var(--color-red);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 13px;
}
@media screen and (min-width: 860px) {
  .p-hero__info-box-ttl {
    font-size: 20px;
  }
}
.p-hero__info-box-text {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.5px;
}
@media screen and (min-width: 860px) {
  .p-hero__info-box-text {
    font-size: 20px;
  }
}
.p-hero__info-box-text .is-note {
  font-size: 12px;
  margin-top: 12px;
  text-indent: -1em;
  padding-left: 1em;
}
@media screen and (min-width: 860px) {
  .p-hero__info-box-text .is-note {
    font-size: 18px;
  }
}
.p-hero__info-box-ex {
  font-weight: 400;
  font-size: 14px;
  margin-top: 10px;
}
@media screen and (min-width: 860px) {
  .p-hero__info-box-ex {
    font-size: 20px;
    margin-top: 15px;
  }
}
.p-hero__info-box-exlist-item {
  font-size: 12px;
  text-indent: -1em;
  padding-left: 1em;
}
@media screen and (min-width: 860px) {
  .p-hero__info-box-exlist-item {
    font-size: 18px;
  }
}
.p-hero__info-box-exlist-item + .p-hero__info-box-exlist-item {
  margin-top: 4px;
}
.p-hero__meyasubako {
  margin: 0 auto;
  width: 117px;
}
@media screen and (min-width: 860px) {
  .p-hero__meyasubako {
    width: 160px;
  }
}

.p-form {
  position: relative;
  margin-top: 55px;
  transform: translateY(40px);
  opacity: 0;
}
.is-load .p-form {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.65s;
}
@media screen and (max-width: 859px) {
  .p-form {
    margin-top: 37px;
  }
}
.p-form__main {
  position: relative;
  padding: 67px 0 67px;
}
@media screen and (max-width: 859px) {
  .p-form__main {
    padding: 12.9% 0 13.4%;
  }
}
.p-form__main::before {
  content: "";
  width: 100%;
  padding-top: 125px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../img/base_head.png) no-repeat center top;
  background-size: 100%;
  pointer-events: none;
}
@media screen and (max-width: 859px) {
  .p-form__main::before {
    padding-top: 20%;
  }
}
.p-form__main::after {
  content: "";
  width: 100%;
  padding-top: 125px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(../img/base_bottom.png) no-repeat center bottom;
  background-size: 100%;
  pointer-events: none;
}
@media screen and (max-width: 859px) {
  .p-form__main::after {
    padding-top: 33%;
  }
}
.p-form__list {
  position: relative;
  z-index: 1;
  padding: 0 8.5%;
  background: url(../img/base_repeat.png) repeat-y center bottom;
  background-size: 100%;
}
.p-form__list::after {
  content: "";
  width: 17%;
  padding-top: 46%;
  position: absolute;
  bottom: -19%;
  right: -1%;
  background: url(../img/deco_pen.png) no-repeat center center;
  background-size: contain;
  animation: katakata 2.2s linear infinite forwards;
}
.p-form__list-item {
  position: relative;
}
.p-form__list-item + .p-form__list-item {
  margin-top: 27px;
}
@media screen and (max-width: 859px) {
  .p-form__list-item + .p-form__list-item {
    margin-top: 19px;
  }
}
.p-form__list-label {
  font-size: 20px;
  letter-spacing: 1.3px;
  margin-bottom: 12px;
}
@media screen and (max-width: 859px) {
  .p-form__list-label {
    font-size: 14px;
    margin-bottom: 7px;
  }
}
.p-form__list-label span {
  vertical-align: baseline;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  display: inline-block;
  border-radius: 100px;
  padding: 2px 8px 4px;
  font-size: 15px;
  margin-left: 12px;
  transform: translateY(-3%);
}
@media screen and (max-width: 859px) {
  .p-form__list-label span {
    padding: 2px 6px 3px;
    font-size: 10px;
    margin-left: 5px;
    transform: translateY(-8%);
  }
}
.p-form__list-text {
  position: relative;
}
.p-form__list-text.--select::before {
  content: "";
  width: 16px;
  height: 11px;
  position: absolute;
  top: 50%;
  right: 19px;
  transform: translateY(-50%);
  background-color: var(--color-black);
  -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  pointer-events: none;
}
@media screen and (max-width: 859px) {
  .p-form__list-text.--select::before {
    width: 12px;
    height: 8px;
    right: 12px;
  }
}
.p-form__list-text select, .p-form__list-text input, .p-form__list-text textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  color: var(--color-black);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 1px;
  padding: 19px 22px 21px;
  cursor: pointer;
}
@media screen and (max-width: 859px) {
  .p-form__list-text select, .p-form__list-text input, .p-form__list-text textarea {
    border-radius: 5px;
    padding: 11px 18px 11px;
    font-size: 16px;
  }
}
.p-form__list-text textarea {
  height: 153px;
}
.p-form__list-text select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.p-form__btn {
  background-color: var(--color-red);
  border-radius: 100px;
  position: relative;
  text-align: center;
  padding: 15px 0 17px;
  margin: 0 auto;
  margin-top: 19px;
  border: 2px solid var(--color-red);
  width: 205px;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.p-form__btn.is-disable {
  pointer-events: none;
  background-color: var(--color-gray);
  border-color: var(--color-gray);
}
@media (hover: hover) {
  .p-form__btn:hover {
    background-color: var(--color-white);
    transform: scale(0.97);
  }
  .p-form__btn:hover .p-form__btn-text {
    color: var(--color-red);
  }
}
@media screen and (min-width: 860px) {
  .p-form__btn {
    margin-top: 28px;
    padding: 23px 0 26px;
    width: 307px;
  }
}
.p-form__btn input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.p-form__btn-text {
  color: var(--color-white);
  font-size: 14px;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
@media screen and (min-width: 860px) {
  .p-form__btn-text {
    font-size: 20px;
  }
}

.p-thanks {
  padding-bottom: 8px;
}
@media screen and (min-width: 860px) {
  .p-thanks {
    padding-bottom: 16px;
  }
}
.p-thanks__onayami {
  position: relative;
  padding: 55px 0 58px;
  margin-top: 20px;
}
@media screen and (max-width: 859px) {
  .p-thanks__onayami {
    margin-top: 10px;
    padding: 11.5% 0 10%;
  }
}
.p-thanks__onayami::before {
  content: "";
  width: 100%;
  padding-top: 125px;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../img/base_head.png) no-repeat center top;
  background-size: 100%;
  pointer-events: none;
}
@media screen and (max-width: 859px) {
  .p-thanks__onayami::before {
    padding-top: 20%;
  }
}
.p-thanks__onayami::after {
  content: "";
  width: 100%;
  padding-top: 125px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(../img/base_bottom.png) no-repeat center bottom;
  background-size: 100%;
  pointer-events: none;
}
@media screen and (max-width: 859px) {
  .p-thanks__onayami::after {
    padding-top: 33%;
  }
}
.p-thanks__onayami-inner {
  position: relative;
  z-index: 1;
  padding: 0 8.5%;
  background: url(../img/base_repeat.png) repeat-y center bottom;
  background-size: 100%;
}
.p-thanks__onayami-ttl {
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
@media screen and (min-width: 860px) {
  .p-thanks__onayami-ttl {
    font-size: 22px;
    margin-bottom: 25px;
  }
}
.p-thanks__onayami-comment {
  line-height: 1.6;
  font-size: 14px;
  font-weight: 400;
}
@media screen and (min-width: 860px) {
  .p-thanks__onayami-comment {
    font-size: 20px;
  }
}
.p-thanks__post {
  text-align: center;
  background-color: var(--color-red);
  border: 2px solid var(--color-red);
  border-radius: 100px;
  margin: 0 auto;
  width: 205px;
  margin-top: 16px;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (hover: hover) {
  .p-thanks__post:hover {
    background-color: var(--color-white);
    transform: scale(0.97);
  }
  .p-thanks__post:hover .p-thanks__post-link {
    color: var(--color-red);
  }
  .p-thanks__post:hover .p-thanks__post-link::before {
    background-color: var(--color-red);
  }
}
@media screen and (min-width: 860px) {
  .p-thanks__post {
    width: 307px;
  }
}
.p-thanks__post-link {
  display: block;
  text-decoration: none;
  color: var(--color-white);
  padding: 16px 0 17px;
  font-size: 13px;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
@media screen and (min-width: 860px) {
  .p-thanks__post-link {
    padding: 25px 0 26px;
    font-size: 20px;
  }
}
.p-thanks__post-link::before {
  content: "";
  width: 17px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 22px;
  -webkit-mask: url(../img/icon_x.svg) no-repeat center center;
  mask: url(../img/icon_x.svg) no-repeat center center;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: var(--color-white);
  transition: background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
@media screen and (min-width: 860px) {
  .p-thanks__post-link::before {
    width: 28px;
  }
}
.p-thanks__back {
  text-align: center;
  font-size: 13px;
  margin-top: 30px;
}
@media screen and (min-width: 860px) {
  .p-thanks__back {
    margin-top: 42px;
    font-size: 16px;
  }
}
.p-thanks__back a {
  color: var(--color-black);
  position: relative;
  text-decoration: none;
  padding-bottom: 3px;
  transition: color 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (hover: hover) {
  .p-thanks__back a:hover {
    color: var(--color-red);
  }
  .p-thanks__back a:hover::before {
    background-color: var(--color-red);
    transform: scaleX(0.5);
  }
}
.p-thanks__back a::before {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--color-black);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-postanime {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: baseline;
  z-index: 1;
  background: url(../img/bg_ptn.png) repeat-y center 0;
  background-size: 540px;
}
@media screen and (max-width: 859px) {
  .p-postanime {
    background-size: 380px;
  }
}
.is-post-end .p-postanime {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.37, 0, 0.63, 1);
}
.p-postanime::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  opacity: 0;
}
.is-post-now .p-postanime::after {
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.37, 0, 0.63, 1) 2.2s;
}
.p-postanime__content {
  padding-top: 40.5%;
  width: 100%;
  position: relative;
  transform: translateY(-8%);
}
.p-postanime__paper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16.5%;
  z-index: 1;
}
.p-postanime__paper-inner {
  opacity: 0;
  transform: translateY(-40px);
}
.is-post-now .p-postanime__paper-inner {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(0, 0.55, 0.45, 1), opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0.6s;
}
.is-post-now .p-postanime__paper img {
  transform: translateY(95%) scale(0.5, 0.4);
  opacity: 0;
  transform-origin: bottom;
  transition: transform 0.65s cubic-bezier(0.5, 0, 0.75, 0) 0.9s, opacity 0.1s cubic-bezier(0.25, 1, 0.5, 1) 1.55s;
}
.p-postanime__box {
  margin: 0 auto;
  width: 42.5%;
  transform: scale(0.6);
  opacity: 0;
}
.is-post-now .p-postanime__box {
  opacity: 1;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.p-postanime__box img {
  transform-origin: bottom;
}
.is-post-now .p-postanime__box img {
  animation: poyon 0.55s linear forwards 1.53s;
}