/* Original parent-theme footer and contact styles, scoped to the restored area. */

.legacy-ending .c-contact-links__title,.legacy-ending .c-contact-links__loop-item{
  word-spacing: -0.25em;
}
.legacy-ending .l-footer{
  padding: 3.75rem 0 10rem 0;
  border-top: 1px solid var(--c-main-text);
  position: relative;
  z-index: 0;
  overflow: hidden;
  --opa: 0;
}
.legacy-ending .l-footer::after{
  content: "";
  position: absolute;
  display: block;
  left: -3.75rem;
  width: calc(100% + 7.5rem);
  height: auto;
  aspect-ratio: 1558/812;
  background: var(--gradation01);
  background: var(--gradation01);
  background-repeat: no-repeat;
  will-change: filter;
  -webkit-filter: blur(4.375rem);
          filter: blur(4.375rem);
  bottom: 0;
  -webkit-transform: translateY(90%);
          transform: translateY(90%);
  opacity: var(--opa);
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.legacy-ending .l-footer__inner{
  margin: auto;
  max-width: 30rem;
  width: 100%;
  padding-inline: 1.875rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.legacy-ending .l-footer__logo{
  display: inline-block;
  width: 8.75rem;
  height: 4.875rem;
  margin: auto;
}
.legacy-ending .l-footer__right{
  margin-left: 0;
}
.legacy-ending .l-footer__container{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-top: 3.75rem;
}
.legacy-ending .l-footer__nav{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0 2.6875rem;
}
.legacy-ending .l-footer__nav-items{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.legacy-ending .l-footer__nav-items:nth-of-type(1){
  width: 7.1875rem;
}
.legacy-ending .l-footer__nav-items:nth-of-type(2){
  width: 7.1875rem;
}
.legacy-ending .l-footer__nav-item a{
  white-space: nowrap;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2;
}
.legacy-ending .l-footer__sns-text{
  margin-top: 3.75rem;
}
.legacy-ending .l-footer__sns-items{
  margin-top: 1.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.25rem;
}
.legacy-ending .l-footer__drawer-snsLink{
  display: inline-block;
  width: 1.5rem;
  height: auto;
  aspect-ratio: 1/1;
}
.legacy-ending .l-footer__drawer-snsLink.--note{
  width: 4rem;
  aspect-ratio: 64/14;
}
.legacy-ending .l-footer__drawer-snsLink.--note img{
  -o-object-fit: contain;
     object-fit: contain;
}
.legacy-ending .l-footer__sns-text{
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
}
.legacy-ending .l-footer__info{
  display: grid;
  gap: 0.75rem 1.25rem;
  grid-template-columns: 5.5rem 1fr;
  margin-top: 2.5rem;
  font-size: 0.75rem;
}
.legacy-ending .l-footer__privacy,.legacy-ending .l-footer__makers{
  width: 7.1875rem;
}
.legacy-ending .l-footer__copyright{
  color: #787878;
  grid-column: 1/3;
  grid-row: 2/3;
  display: block;
  word-break: keep-all;
}
.legacy-ending .l-inner{
  max-width: 30rem;
  width: 100%;
  margin-inline: auto;
  padding-inline: 25px;
}
.legacy-ending .c-btn{
  width: 13.3125rem;
  height: 3.25rem;
  border-radius: 0.25rem;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 0.6875rem 0 1.25rem;
  background: var(--c-black);
  color: var(--c-base);
  cursor: pointer;
}
.legacy-ending .c-btn__arrow{
  width: 1.875rem;
  height: 1.875rem;
  background: var(--c-base);
  border-radius: 0.25rem;
  margin-left: 0.75rem;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: none;
}
.legacy-ending .c-btn__arrow::before{
  content: "";
  position: absolute;
  width: 0.9375rem;
  height: 0.625rem;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 0.4375rem;
  background-color: var(--c-black);
  -webkit-mask: url(/wp-content/themes/dreamscape-theme_horror_202601/assets/img/00_common/arrow.svg) no-repeat center/contain;
          mask: url(/wp-content/themes/dreamscape-theme_horror_202601/assets/img/00_common/arrow.svg) no-repeat center/contain;
  -webkit-transition: background-color 0.4s ease;
  transition: background-color 0.4s ease;
}
.legacy-ending .c-btn.c-btn--blank .c-btn__arrow::before{
  -webkit-mask: url(/wp-content/themes/dreamscape-theme_horror_202601/assets/img/00_common/icon_blank.svg) no-repeat center/contain;
          mask: url(/wp-content/themes/dreamscape-theme_horror_202601/assets/img/00_common/icon_blank.svg) no-repeat center/contain;
}
.legacy-ending .c-btn.c-btn--disabled{
  cursor: not-allowed;
}
.legacy-ending .c-btn--reverse{
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  padding: 0 1.25rem 0 0.6875rem;
}
.legacy-ending .c-btn--reverse .c-btn__arrow{
  margin-left: 0;
  margin-right: 1.25rem;
}
.legacy-ending .c-btn--reverse .c-btn__arrow::before{
  right: auto;
  left: 0.4375rem;
  -webkit-transform: translateY(-50%) scaleX(-1);
          transform: translateY(-50%) scaleX(-1);
}
.legacy-ending .c-btn-entry{
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  align-items: center;
  background: -webkit-gradient(linear, left top, right top, from(var(--gradation01)), to(var(--gradation02)));
  background: linear-gradient(90deg, var(--gradation01) 0%, var(--gradation02) 100%);
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
  color: var(--c-sub-text);
  -webkit-transition: opacity 0.4s ease, visibility 0.4s ease;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.legacy-ending .c-btn-entry .text{
  color: var(--c-sub-text);
  pointer-events: none;
}
.legacy-ending .c-btn-entry::after{
  pointer-events: none;
  content: "";
  background-color: currentColor;
  -webkit-mask: url(/wp-content/themes/dreamscape-theme_horror_202601/assets/img/00_common/icon_blank.svg) no-repeat center/contain;
          mask: url(/wp-content/themes/dreamscape-theme_horror_202601/assets/img/00_common/icon_blank.svg) no-repeat center/contain;
  -webkit-transition: background-color 0.4s ease;
  transition: background-color 0.4s ease;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 0.9375rem;
  height: 0.6875rem;
  pointer-events: none;
}
.legacy-ending .c-btn-entry__hover{
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  align-items: center;
  background-color: var(--c-white);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  color: var(--c-sub-text);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transition: opacity 0.4s ease, visibility 0.4s ease;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.legacy-ending .c-btn-entry__hover .text{
  background: -webkit-gradient(linear, left top, right top, from(var(--gradation01)), to(var(--gradation02)));
  background: linear-gradient(90deg, var(--gradation01) 0%, var(--gradation02) 100%);
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.legacy-ending .c-btn-entry__hover .icon{
  content: "";
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 0.9375rem;
  height: 0.6875rem;
}
.legacy-ending .c-btn-entry.is-disabled{
  cursor: not-allowed;
  pointer-events: none;
}
.legacy-ending .l-header__nav-item--entry.is-disabled .c-btn-entry__hover{
  display: none;
}
.legacy-ending .c-contact-links{
  padding: 6.25rem 0 5rem;
}
.legacy-ending .c-contact-links__inner{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.legacy-ending .c-contact-links__title{
  font-family: var(--f-en);
  font-size: 3rem;
  line-height: normal;
}
.legacy-ending .c-contact-links__text{
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 2.13;
}
.legacy-ending .c-contact-links__contact{
  border: 1px solid var(--c-black);
  overflow: hidden;
  max-width: 35.625rem;
  border-radius: 0.5rem;
  margin-top: 3.75rem;
  padding: 1.5625rem 0;
  position: relative;
}
.legacy-ending .c-contact-links__contact .swiper-container{
  pointer-events: none;
}
.legacy-ending .c-contact-links__mouseStalker{
  position: absolute;
  display: block;
  left: -2.9375rem;
  top: -2.9375rem;
  width: 5.875rem;
  height: auto;
  aspect-ratio: 1/1;
  cursor: initial;
  z-index: -1;
  -webkit-transition: -webkit-transform 0.3s linear;
  transition: -webkit-transform 0.3s linear;
  transition: transform 0.3s linear;
  transition: transform 0.3s linear, -webkit-transform 0.3s linear;
}
.legacy-ending .c-contact-links__mouseStalker::before{
  content: "";
  display: block;
  background-color: var(--gradation01);
  will-change: filter;
  -webkit-filter: blur(25px);
          filter: blur(25px);
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  -webkit-animation-name: scale;
          animation-name: scale;
  -webkit-animation-fill-mode: backwards;
          animation-fill-mode: backwards;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-timing-function: ease;
          animation-timing-function: ease;
}
.legacy-ending .c-contact-links__content{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0 2rem;
  margin-top: 1rem;
}
.legacy-ending .c-section__title.c-contact-links__title{
  font-size: 2.625rem;
}
.legacy-ending .c-contact-links__contact-text{
  font-size: 0.9375rem;
  line-height: 2.13;
}
.legacy-ending .c-contact-links__link{
  margin-top: 1.5rem;
}
.legacy-ending .c-contact-links__submit{
  margin-top: 2rem;
}
.legacy-ending .c-contact-links__contact .swiper-slide{
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.legacy-ending .c-contact-links__loop-item{
  font-family: var(--f-en);
  font-size: 7.5rem;
  width: 55.625rem;
  line-height: 1;
  padding-inline: 0.625rem;
}
.legacy-ending .c-contact-links__wrapper{
  -webkit-transition-timing-function: linear;
          transition-timing-function: linear;
}
.legacy-ending .c-form__wrapper{
  max-width: 54.75rem;
  margin: 3.75rem auto 0;
}
.legacy-ending .c-form{
  margin-top: 3.75rem;
  background: var(--c-base-dark);
  padding: 3.75rem 1.25rem;
  border-radius: 0.5rem;
}
.legacy-ending .c-form__text{
  font-size: 0.9375rem;
  line-height: 2.1333333333;
}
.legacy-ending .c-form__attention-warp{
  display: block;
  margin-top: 1.25rem;
  color: var(--c-main-text);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2;
}
.legacy-ending .c-form__row + .c-form__row{
  margin-top: 3.75rem;
}
.legacy-ending .c-form__label{
  font-size: 1.125rem;
  line-height: 1;
  font-weight: 600;
}
.legacy-ending .c-form__input,.legacy-ending .c-form__select{
  font-size: 1rem;
  border-radius: 0.5rem;
}
.legacy-ending .c-form__select select{
  border: none;
}
.legacy-ending .c-form__required{
  color: var(--c-error);
  font-size: 1.125rem;
}
.legacy-ending .c-form__body{
  position: relative;
  z-index: 0;
  margin-top: 1rem;
}
.legacy-ending .c-form__input.--explanation{
  height: 18rem;
}
.legacy-ending .c-form__input.--separate + .c-form__input.--separate{
  margin-top: 1.25rem;
}
.legacy-ending .c-form__validation{
  display: block;
  margin-top: 4px;
  top: 100%;
  left: 0;
  color: var(--c-error);
  font-size: 12px;
  position: absolute;
  left: 0;
  bottom: 0;
  word-break: keep-all;
}
.legacy-ending .c-form__body.--checkbox,.legacy-ending .c-form__body.--radio{
  margin-top: 0.5rem;
}
.legacy-ending .c-form__checkbox-wrap .wpcf7-form-control.wpcf7-checkbox,.legacy-ending .c-form__radio-wrap .wpcf7-form-control.wpcf7-radio{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1rem 1.25rem;
}
.legacy-ending .c-form__checkbox-wrap label input[type=checkbox],.legacy-ending .c-form__checkbox-wrap label input[type=radio],.legacy-ending .c-form__radio-wrap label input[type=checkbox],.legacy-ending .c-form__radio-wrap label input[type=radio],.legacy-ending .c-form__row--agreement label input[type=checkbox],.legacy-ending .c-form__row--agreement label input[type=radio]{
  display: none;
}
.legacy-ending .c-form__checkbox-wrap label .wpcf7-list-item-label,.legacy-ending .c-form__radio-wrap label .wpcf7-list-item-label,.legacy-ending .c-form__row--agreement label .wpcf7-list-item-label{
  display: inline-block;
  padding-left: 1.5rem;
  font-size: 1rem;
  position: relative;
  line-height: 2;
}
.legacy-ending .c-form__checkbox-wrap label .wpcf7-list-item-label::before,.legacy-ending .c-form__radio-wrap label .wpcf7-list-item-label::before,.legacy-ending .c-form__row--agreement label .wpcf7-list-item-label::before{
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 0;
  width: 1rem;
  height: 1rem;
  background: var(--c-white);
  border-radius: 2px;
}
.legacy-ending .c-form__checkbox-wrap label .wpcf7-list-item-label::after,.legacy-ending .c-form__radio-wrap label .wpcf7-list-item-label::after,.legacy-ending .c-form__row--agreement label .wpcf7-list-item-label::after{
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 0.125rem;
  background: var(--c-main-text);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.1s ease, visibility 0.1s ease;
  transition: opacity 0.1s ease, visibility 0.1s ease;
}
.legacy-ending .c-form__checkbox-wrap label:hover,.legacy-ending .c-form__radio-wrap label:hover,.legacy-ending .c-form__row--agreement label:hover{
  cursor: pointer;
}
.legacy-ending .c-form__checkbox-wrap label span,.legacy-ending .c-form__radio-wrap label span,.legacy-ending .c-form__row--agreement label span{
  margin: 0;
}
.legacy-ending .c-form__checkbox-wrap label input[type=checkbox]:checked + .wpcf7-list-item-label::after,.legacy-ending .c-form__checkbox-wrap label input[type=radio]:checked + .wpcf7-list-item-label::after,.legacy-ending .c-form__radio-wrap label input[type=checkbox]:checked + .wpcf7-list-item-label::after,.legacy-ending .c-form__radio-wrap label input[type=radio]:checked + .wpcf7-list-item-label::after,.legacy-ending .c-form__row--agreement label input[type=checkbox]:checked + .wpcf7-list-item-label::after,.legacy-ending .c-form__row--agreement label input[type=radio]:checked + .wpcf7-list-item-label::after{
  opacity: 1;
  visibility: visible;
}
.legacy-ending .c-form__select-wrap{
  position: relative;
}
.legacy-ending .c-form__select-wrap::after{
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 0.9375rem;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 9px solid var(--c-main-text);
  border-bottom: 0;
  pointer-events: none;
}
.legacy-ending .c-form__row.c-form__row--agreement{
  text-align: center;
  font-size: 0.9375rem;
}
.legacy-ending .c-form__row.c-form__row--agreement + .c-form__row--agreement{
  margin-top: 1rem;
}
.legacy-ending .c-form__link{
  color: var(--c-blue);
}
.legacy-ending .c-form__body{
  position: relative;
  z-index: 0;
}
.legacy-ending .c-form__body::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  pointer-events: none;
  border-radius: 0.5625rem;
  z-index: -1;
  background: -webkit-gradient(linear, left top, right top, from(var(--gradation01)), to(var(--gradation02)));
  background: linear-gradient(90deg, var(--gradation01) 0%, var(--gradation02) 100%);
  background-repeat: no-repeat;
}
.legacy-ending .c-form__body.--textarea::before{
  width: calc(100% + 2px);
  height: calc(100% + 2px);
}
.legacy-ending .c-form__select select,.legacy-ending .c-form__input,.legacy-ending .c-form__textarea{
  width: 100%;
  outline: 1px solid rgba(var(--c-main-text-rgb), 1);
  -webkit-transition: outline 0.3s ease;
  transition: outline 0.3s ease;
  border-radius: 0.5rem;
}
.legacy-ending .c-form__select select:focus,.legacy-ending .c-form__input:focus,.legacy-ending .c-form__textarea:focus{
  outline: 1px solid rgba(var(--c-main-text-rgb), 0) !important;
}
.legacy-ending .c-form__body.--file label{
  cursor: pointer;
  -webkit-transition: outline 0.3s ease;
  transition: outline 0.3s ease;
}
.legacy-ending .c-form__body.--file::before,.legacy-ending .c-form__body.--checkbox::before,.legacy-ending .c-form__body.--radio::before{
  display: none;
}
.legacy-ending .c-form__newsletter{
  margin-top: 0.625rem;
}
.legacy-ending .c-form__body--newsletter{
  width: 100%;
  position: relative;
  z-index: 0;
}
.legacy-ending .c-form__input.--newsletter{
  border: none;
  border-bottom: 1px solid var(--c-black);
  border-radius: 0;
  padding: 0.75rem 0;
  font-size: 1.25rem;
  background: transparent;
  outline: none !important;
  -webkit-transition: none;
  transition: none;
}
.legacy-ending .c-form__input.--newsletter::-webkit-input-placeholder{
  color: var(--c-black);
}
.legacy-ending .c-form__input.--newsletter::-moz-placeholder{
  color: var(--c-black);
}
.legacy-ending .c-form__input.--newsletter:-ms-input-placeholder{
  color: var(--c-black);
}
.legacy-ending .c-form__input.--newsletter::-ms-input-placeholder{
  color: var(--c-black);
}
.legacy-ending .c-form__input.--newsletter::placeholder{
  color: var(--c-black);
}
.legacy-ending .c-form__row--submit,.legacy-ending .c-form__row--prev{
  text-align: center;
  margin-top: 1.5rem;
}
.legacy-ending .c-form__submit:has(input:disabled){
  cursor: not-allowed;
}
.legacy-ending .c-form__row--prev{
  cursor: pointer;
}
.legacy-ending .c-form--confirm .c-form__body::before{
  display: none;
}
.legacy-ending .c-form--confirm .c-form__row:not(:first-of-type){
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(112, 112, 112, 0.2);
}
.legacy-ending .c-form--confirm .p-entry__row--file{
  display: block;
}
.legacy-ending .c-form--confirm .p-entry__row--file .c-form__row:nth-of-type(1){
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legacy-ending .c-form--confirm .p-entry__row--file .c-form__row:nth-of-type(2){
  margin-top: 2rem;
}
.legacy-ending .c-form--confirm .p-entry__file{
  width: auto;
  height: auto;
  border: none;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.legacy-ending .c-form--confirm .p-entry__file-text{
  padding-left: 0;
}
.legacy-ending .c-form--confirm .p-entry__file-text::before{
  display: none;
}
.legacy-ending .c-form--confirm .c-form__select::after{
  display: none;
}
.legacy-ending .c-form--confirm .c-form__row--agreement{
  display: none;
}
.legacy-ending .c-contact-links__title.c-section__title{
  flex-direction: row;
}
.legacy-ending .p-entry__row--file .c-form__row:nth-child(2){
  margin-top: 0;
}
@media  screen and (min-width: 768px) {.legacy-ending .l-footer{
    padding: 6.25rem 0;
  }
.legacy-ending .l-footer::after{
    -webkit-filter: blur(4.375rem);
            filter: blur(4.375rem);
  }
.legacy-ending .l-footer__inner{
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    max-width: 1070px;
    padding-inline: 25px;
  }
.legacy-ending .l-footer__logo{
    margin: 0.8125rem 0 0 0;
    width: 13.125rem;
    height: auto;
    aspect-ratio: 116/210;
  }
.legacy-ending .l-footer__right{
    margin-left: auto;
  }
.legacy-ending .l-footer__container{
    margin-top: 0;
    gap: 5.25rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
.legacy-ending .l-footer__nav{
    -webkit-column-gap: 5.25rem;
       -moz-column-gap: 5.25rem;
            column-gap: 5.25rem;
  }
.legacy-ending .l-footer__sns-text{
    margin-top: 1.25rem;
  }
.legacy-ending .l-footer__sns-items{
    margin-top: 1.75rem;
  }
.legacy-ending .l-footer__info{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 5.1875rem;
  }
.legacy-ending .l-inner{
    max-width: 1170px;
    padding-inline: 25px;
  }
.legacy-ending .l-inner--s{
    max-width: 876px;
  }
.legacy-ending .l-inner--ss{
    max-width: 850px;
  }
.legacy-ending .c-btn--large{
    width: 16.25rem;
  }
.legacy-ending .c-btn-entry{
    padding: 0.5rem 1.25rem;
  }
.legacy-ending .c-btn-entry__hover{
    padding: 0.5rem 1.25rem;
  }
.legacy-ending .c-contact-links{
    padding: 11.25rem 0 10rem;
  }
.legacy-ending .c-contact-links__inner{
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 4.1875rem;
  }
.legacy-ending .c-contact-links__contact{
    margin-top: 0;
  }
.legacy-ending .c-contact-links__content{
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    margin-top: 1.8125rem;
    padding: 0 2.5rem;
  }
.legacy-ending .c-section__title.c-contact-links__title{
    font-size: 3rem;
  }
.legacy-ending .c-contact-links__link{
    margin-top: 0;
  }
.legacy-ending .c-contact-links__newsletter{
    width: 50%;
  }
.legacy-ending .c-contact-links__submit{
    margin-top: 2.5rem;
  }
.legacy-ending .c-form{
    padding: 3.75rem;
  }
.legacy-ending .c-form__body{
    margin-top: 1.25rem;
  }
.legacy-ending .c-form__body.--separate{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
.legacy-ending .c-form__input.--separate + .c-form__input.--separate{
    margin-top: 0;
    margin-left: 1.5rem;
  }
.legacy-ending .c-form__body.--checkbox,.legacy-ending .c-form__body.--radio{
    margin-top: 0.75rem;
  }
.legacy-ending .c-form__checkbox-wrap .wpcf7-form-control.wpcf7-checkbox,.legacy-ending .c-form__radio-wrap .wpcf7-form-control.wpcf7-radio{
    gap: 0.5rem 1.25rem;
  }
.legacy-ending .c-form__row.c-form__row--agreement{
    margin-top: 2.5rem;
  }
.legacy-ending .c-form__select select,.legacy-ending .c-form__input,.legacy-ending .c-form__textarea{
    outline: 1px solid rgba(var(--c-main-text-rgb), 1);
  }
.legacy-ending .c-form__newsletter{
    margin-top: 1.375rem;
  }
.legacy-ending .c-form__input.--newsletter{
    font-size: 1.5rem;
    padding: 1rem 0;
  }
.legacy-ending .c-form__row--submit,.legacy-ending .c-form__row--prev{
    margin-top: 2.5rem;
  }}
@media  (hover: hover) {.legacy-ending .c-btn:hover{
    opacity: 1;
  }
.legacy-ending .c-btn:hover .c-btn__arrow{
    width: 5.8125rem;
  }
.legacy-ending .c-btn.c-btn--disabled:hover .c-btn__arrow{
    width: 1.875rem;
  }
.legacy-ending .c-btn--wide:hover{
    opacity: 1;
  }
.legacy-ending .c-btn--wide:hover .c-btn__arrow{
    width: 4rem;
  }
.legacy-ending .c-btn-entry:hover{
    opacity: 0;
    visibility: visible;
  }
.legacy-ending .c-btn-entry:hover + .c-btn-entry__hover{
    opacity: 1;
    visibility: visible;
  }
.legacy-ending .c-404__text:hover .c-btn__arrow{
    width: 50%;
  }}.legacy-ending { --c-base:#ececec; --c-main-text:#3d3d3d; --c-black:#3d3d3d; --c-white:#fff; --c-sub-text:#fff; --gradation01:#D8303F; --gradation02:#1B2F1B; background:var(--c-base); color:var(--c-main-text); font-family:var(--f-ja); }
.legacy-ending :is(h2,p,ul) { margin:0; }
.legacy-ending ul { padding:0; list-style:none; }
.legacy-ending .c-contact-links__text { margin-top:1.25rem; }
.legacy-ending .c-contact-links__title { font-weight:400; }
.legacy-ending .c-contact-links__wrapper { display:flex; width:max-content; animation:legacy-contact-loop 18s linear infinite; }
.legacy-ending .swiper-slide { flex-shrink:0; }
.legacy-ending .c-contact-links__contact { isolation:isolate; }
.legacy-ending .c-contact-links__mouseStalker { background:var(--gradation01); filter:blur(25px); opacity:.55; }
.legacy-ending .l-footer { --opa:1; }
.legacy-ending .l-footer__logo svg { width:100%; height:100%; }
@keyframes legacy-contact-loop { to { transform:translateX(-50%); } }
@media(prefers-reduced-motion:reduce) { .legacy-ending .c-contact-links__wrapper { animation:none; } }
.legacy-ending input[type=submit] { appearance:none; margin:0; padding:0; font:inherit; color:inherit; border:0; border-radius:0; background:transparent; cursor:pointer; }
.legacy-ending input[type=submit]:focus-visible { outline:2px solid currentColor; outline-offset:4px; }

/* Footer aligned with the current masthead and type system. */
.legacy-ending .l-footer::after { content:none; }
.legacy-ending .l-footer__inner { align-items:flex-start; gap:40px; }
.legacy-ending .l-footer__logo { width:clamp(174px,17vw,241px); height:auto; aspect-ratio:auto; margin:0; padding-top:.85rem; flex-shrink:0; }
.legacy-ending .l-footer__logo-img { display:block; }
.legacy-ending .l-footer__logo img { display:block; width:100%; height:auto; }
.legacy-ending .l-footer__nav { font-family:var(--f-en); }
.legacy-ending .l-footer__nav-item a { line-height:1.4; display:block; padding-block:.3rem; }
.legacy-ending .c-contact-links__loop-item { font-family:var(--f-en); font-size:6.5rem; width:45rem; }
.legacy-ending .c-contact-links__title { font-family:var(--f-en); }
@media(max-width:767px) { .legacy-ending .l-footer__container { margin-top:0; } .legacy-ending .l-footer__logo { padding-top:0; } }

/* Position-sensitive buttons and the quiet, continuous ending. */
.legacy-ending { --c-base:var(--c-bg); background:var(--c-bg); }
.sponsors { background:var(--c-bg); }
.legacy-ending .c-form__input.--newsletter::placeholder { color:#858580; opacity:1; }
.legacy-ending .cuboid-button,
.legacy-ending .cuboid-button:hover { width:max-content; max-width:100%; padding:0; height:auto; min-height:0; border:0; border-radius:0; background:transparent; color:#fff; }
.legacy-ending .cuboid-button .c-btn__arrow,
.legacy-ending .cuboid-button:hover .c-btn__arrow { width:1em; height:auto; flex:0 0 1em; margin:0; background:none; transition:none; }
.legacy-ending .cuboid-button .c-btn__arrow::before { mask:none; -webkit-mask:none; transform:none; width:auto; height:auto; }
.cuboid-button .cuboid-button__solid { white-space:nowrap; pointer-events:none; }
.cuboid-button input[type=submit] { pointer-events:auto; }
.cuboid-button__side { position:absolute; display:block; pointer-events:none; }
.cuboid-button__side--left { right:100%; top:0; width:28px; height:100%; background:var(--c-red); transform-origin:right center; transform:rotateY(-90deg); }
.cuboid-button__side--top { left:0; bottom:100%; width:100%; height:28px; background:var(--c-blue); transform-origin:center bottom; transform:rotateX(90deg); }
.cuboid-button:focus-visible, .cuboid-button:focus-within { outline:2px solid var(--c-blue); outline-offset:6px; }
.legacy-ending .l-footer { padding:70px 6.7% 85px; border-top:1px solid var(--c-border); }
.legacy-ending .l-footer__inner { position:relative; display:grid; grid-template-columns:43% 1fr; gap:0; width:100%; max-width:none; min-height:320px; padding:0; }
.legacy-ending .l-footer__logo { align-self:end; width:clamp(220px,23vw,340px); padding:0; }
.legacy-ending .l-footer__right { display:flex; flex-direction:column; justify-content:space-between; margin:0; min-width:0; }
.legacy-ending .l-footer__container { display:flex; flex-direction:row; align-items:flex-start; justify-content:space-between; margin:0; }
.legacy-ending .l-footer__nav { display:flex; flex-direction:column; gap:0; }
.legacy-ending .l-footer__nav-items { width:auto; }
.legacy-ending .l-footer__nav-item a { font-size:16px; line-height:1.7; padding:0; }
.legacy-ending .l-footer__sns-text, .legacy-ending .l-footer__drawer-snsLink.--note { display:none; }
.legacy-ending .l-footer__sns-items { margin:0; gap:20px; }
.legacy-ending .l-footer__info { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:20px; margin:0; font:11px/1.5 var(--f-en); }
.legacy-ending .l-footer__privacy, .legacy-ending .l-footer__makers { width:auto; }
.legacy-ending .l-footer__copyright { color:inherit; font:inherit; }
.news__link, .journal-row > a { margin-inline:0; }
.news__link::before, .journal-row > a::before { mask-size:64px 64px; -webkit-mask-size:64px 64px; }
.news__date, .journal-row__meta { transition:transform .4s cubic-bezier(.22,1,.36,1); }
.news__link:is(:hover,:focus-visible) .news__date,
.journal-row > a:is(:hover,:focus-visible) .journal-row__meta { transform:translateX(-5px); }
.titles__group-meta { position:relative; border-top:0; }
.titles__group-meta::before { content:''; position:absolute; top:0; right:0; width:var(--genre-rule-width,100%); border-top:1px solid var(--c-border); pointer-events:none; }
@media(max-width:767px) {
 .legacy-ending .l-footer { padding:48px 6% 50px; }
 .legacy-ending .l-footer__inner { display:flex; flex-direction:column-reverse; gap:64px; min-height:0; }
 .legacy-ending .l-footer__right { width:100%; gap:64px; }
 .legacy-ending .l-footer__logo { align-self:start; width:230px; }
 .legacy-ending .l-footer__info { gap:16px 24px; justify-content:flex-start; }
 .legacy-ending .l-footer__copyright { flex-basis:100%; }
}
@media(prefers-reduced-motion:reduce) { .news__date, .journal-row__meta { transition:none; } }
.cuboid-button:is(:hover,:focus-visible,:focus-within) .cuboid-button__solid { transform:rotateX(var(--button-rx,0deg)) rotateY(var(--button-ry,0deg)); }
.legacy-ending .l-footer__right { align-self:stretch; }
.legacy-ending .l-footer__logo { margin:0; }

/* Contact form actions share the same physical face and fixed hit area. */
.contact-fields .cuboid-button,
.contact-fields .cuboid-button:hover { display:inline-block; width:max-content; max-width:100%; min-width:0; height:auto; min-height:0; padding:0; border:0; border-radius:0; background:transparent; color:#fff; text-decoration:none; cursor:pointer; }
.contact-fields .cuboid-button input:is([type=submit],[type=button]),
.contact-fields .cuboid-button input:is([type=submit],[type=button]):hover { appearance:none; width:auto; min-width:0; height:auto; margin:0; padding:0; border:0; border-radius:0; background:transparent; color:inherit; font:inherit; transition:none; }
.contact-fields .cuboid-button .c-btn__arrow,
.contact-fields .cuboid-button:hover .c-btn__arrow { width:1em; height:auto; flex:0 0 1em; margin:0; background:none; transition:none; }
.contact-fields .cuboid-button .c-btn__arrow::before { mask:none; -webkit-mask:none; transform:none; width:auto; height:auto; }
.contact-fields .cuboid-button:has(input:disabled) { cursor:not-allowed; }
.contact-fields .cuboid-button:has(input:disabled) .cuboid-button__solid { opacity:.45; transform:none; }
.contact-fields .cuboid-button input:disabled { opacity:1; }
.contact-fields .cuboid-button .wpcf7-spinner { position:absolute; left:calc(100% + 12px); top:calc(50% - 12px); margin:0; }

@media(max-width:767px) {
 .legacy-ending .l-footer__nav-item a { font-size:22px; line-height:1.4; min-height:44px; display:flex; align-items:center; }
}
