/*----------
@ common
----------*/

/*-----page KV-----*/
.page-KV{
    height: 28vw;
    position: relative;
    background: rgb(38,54,111);
    background: linear-gradient(0deg, rgba(38,54,111,1) 0%, rgba(211,125,130,1) 100%);
    overflow: hidden;
    margin-bottom: 5vw;
}


.page-KV::before{
    content: "";
    position: absolute;
    background: url(img/page/page-kv-bg.png) no-repeat center;
    background-size: 98%;
    width: 118%;
    height: 100%;
    filter: blur(2px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-KV_inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.page-KV_inner::before,
.page-KV_inner:after{
    position: absolute;
    content: "";
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 25vw;
    height: 19vw;
    filter: blur(4px);
}

.page-KV_inner::before{
    background-image: url(img/page/page-kv-decoRight.png);
    top: 0;
    left: 0;
}

.page-KV_inner::after{
    background-image: url(img/page/page-kv-decoLeft.png);
    top: 0;
    right: 0;
}

h2.page-KV_title{
    color: var(--color-yellow);
    font-size: min(6rem, 8vw);
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-yellow);
    background: transparent;
    position: relative;
    text-shadow: 0 0 30px var(--color-yellow);
}



/*-----modal-----*/
.modal {
    display: none;
}

.modal.is-open {
    display: block;
  }

  .modal-overlay {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: opacity 200ms linear;
    z-index: 2;
  }
  
  .modal-container {
    background-color: var(--color-navy);
    border-radius: 6px;
    max-width: 940px;
    width: 90%;
    padding: min(3em, 8vw) min(4em, 6vw);
    transform: translateY(24px);
    transition: transform 300ms ease-in-out;
    box-sizing: border-box;
    font-weight: 500;
    z-index: 12;
    overflow-x: auto;
    margin-top: 5vw;
    height: 80vh;
    position: relative;
  }

  .modal-container h3{
    text-align: center;
    font-size: min(3.24rem, 6vw);
    padding-bottom: min(24px, 4vw);
  }

  .modal-container h4{
    font-size: min(2.24rem, 5vw);
    padding-bottom: 12px;
    line-height: 1.4;
  }

  .modal-content_inner{
    margin-bottom: 24px;
  }

  .form-area ul.-applicationForm_list{
    padding-bottom: 0;
    padding-top: 12px;
  }

  ul.-applicationForm_list li{
    text-indent: -1.6rem;
    padding-left: 16px;
    padding-bottom: 6px;
  }

  span.red-marker{
    background: linear-gradient(transparent 75%, #915c7d 75%);
  }

.modal-footer {
    text-align: center;
    margin-top: 32px;
}

.button {
    border: 0;
    cursor: pointer;
    outline: 0;
    font-family: "Zen Maru Gothic","ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
    appearance: none;
    -webkit-appearance: none;
}

.modal-footer .button{
    background: var(--color-yellow);
    color: var(--color-navy);
    font-size: 2.24rem;
    font-weight: 900;
    line-height: 1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.button-open{
    border-radius: 50em;
    display: block;
    max-width: 400px;
    width: 90%;
    margin: 0 10px 16px;
    background: no-repeat;
    border: solid 2px var(--color-yellow);
    color: var(--color-yellow);
    font-size: min(1.83rem, 4.2vw);
    font-weight: 600;
    padding: 12px 20px;
}

/* animation */
.modal[aria-hidden="false"] .modal-overlay {
animation: fadeIn 300ms ease-in-out forwards;
}

.modal[aria-hidden="false"] .modal-container {
animation: slideIn 300ms ease-in-out forwards;
}

.modal[aria-hidden="true"] .modal-overlay {
animation: fadeOut 300ms ease-in-out forwards;
}

.modal[aria-hidden="true"] .modal-container {
animation: slideOut 300ms ease-in-out forwards;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

@keyframes fadeOut {
from { opacity: 1; }
to { opacity: 0; }
}

@keyframes slideIn {
from { transform: translateY(24px); }
to { transform: translateY(0); }
}

@keyframes slideOut {
from { transform: translateY(0); }
to { transform: translateY(24px); }
}

.title-anime span{
    opacity: 0;
    display: inline-block;
    animation: bounceIn 0.5s ease forwards;
}

.contents-title span{
    display: inline-block;
    opacity: 0;
}

.contents-title.anim.on span{
    animation: bounceIn 0.5s ease forwards;
}

.title-anime span:nth-child(2),
.contents-title.anim span:nth-child(2){
    animation-delay: 0.05s;
}
.title-anime span:nth-child(3),
.contents-title.anim span:nth-child(3){
    animation-delay: 0.1s;
}
.title-anime span:nth-child(4),
.contents-title.anim span:nth-child(4){
    animation-delay: 0.15s;
}
.title-anime span:nth-child(5),
.contents-title.anim span:nth-child(5){
    animation-delay: 0.2s;
}
.title-anime span:nth-child(6),
.contents-title.anim span:nth-child(6){
    animation-delay: 0.25s;
}
.title-anime span:nth-child(7),
.contents-title.anim span:nth-child(7){
    animation-delay: 0.3s;
}
.title-anime span:nth-child(8),
.contents-title.anim span:nth-child(8){
    animation-delay: 0.35s;
}
.title-anime span:nth-child(9),
.contents-title.anim span:nth-child(9){
    animation-delay: 0.4s;
}
.title-anime span:nth-child(10),
.contents-title.anim span:nth-child(10){
    animation-delay: 0.45s;
}
.title-anime span:nth-child(11),
.contents-title.anim span:nth-child(11){
    animation-delay: 0.45s;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    70% {
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/*----------
@ entry
----------*/
.entry-title{
    margin: 72px 0 56px;
}

.entry-title h2{
    text-align: center;
    border-bottom: solid 1px var(--color-gray);
    padding-bottom: 24px;
    font-size: min(3.6rem,8.54vw);
    line-height: 1.5;
}

.entry-title h2 span{
    color: var(--color-red);
    display: block;
    font-size: min(2rem,4.2vw);
}

.form-area{
    max-width: 1120px;
    margin: 0 auto 48px;
    padding: 0 6vw;
}

.form-area ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: min(2rem, 4vw);
}

.form-area ul li{
    width: 100%;
}

.form-area ul li a{
    width: 100%;
    max-width: none;
}

p.form-notes{
    margin: 0 auto 20px;
}

.page-applicationForm_contents{
    margin-top: min(6rem, 12vw);
}

.page-applicationForm_contents h3{
    font-size: min(2.4rem, 5vw);
}

.page-applicationForm_contents p{
    padding: .83rem 0 2rem;
}

.page-applicationForm_contents dl{
    margin-bottom: min(1.24rem, 3vw);
}

.page-applicationForm_contents dl dt{
    font-weight: 700;
    font-size: min(1.83rem, 4.24vw);
    padding-bottom: min(.4rem);
}

.page-applicationForm_inner{
    background: var(--color-navyLight);
    border-radius: calc(var(--border-radius) / 2);
    padding: min(4rem, 6vw);
    text-align: center;
    margin-top: min(6rem, 12vw);
}

.page-applicationForm_inner h3{
    font-size: min(2.24rem, 5vw);
    padding-bottom: min(1.4rem, 2vw);
}

.page-applicationForm_inner p.wanted{
    font-size: min(1.24rem, 3.24vw);
    padding-top: min(1.24rem, 3vw);
}

.page-applicationForm_inner a{
    color: var(--color-yellow);
    font-weight: 600;
    font-size: min(4vw, 2rem);
    text-decoration: underline;
}
.page-applicationForm_inner a:hover{
    opacity: .6;
}

/*----------
@ single archive
----------*/
/*------archive----*/
.topics-wrapper{
    margin-bottom: min(120px, 12vw);
}
/*------single----*/
.single-wrapper{
    max-width: 980px;
    width: 86%;
    margin: 0 auto min(120px, 8vw);
}

.page-news{
    max-width: 1120px;
    width: 90%;
    margin: auto;
}


.single-page_inner a{
    color: var(--color-yellow);
    text-decoration: underline;
    font-weight: 500;
}

.single-page_inner h3{
    font-size: min(2.4rem, 4vw);
    font-weight: 500;
    margin: min(12px, 3vw) 0;
}

.single-page_inner ul li{
    position: relative;
    padding-left: min(1.6rem, 3vw);
    font-weight: 500;
}
.single-page_inner ul li::before{
    position: absolute;
    content: "";
    background: var(--color-yellow);
    width: min(1rem, 1.6vw);
    height: 2px;
    left: 0;
    top: min(1.24rem, 2.24vw);
}

blockquote{
    border-radius: calc(var(--border-radius) / 2);
    box-shadow: 0 0 21px #fbf26f54;
    padding: min(32px, 4vw);
    margin: min(24px, 4vw) 0;
}


.single-title{
    border-bottom: solid 1px var(--color-yellow);
    padding-bottom: 8px;
    margin-bottom: min(48px, 8vw);
}

.single-title time.date{
    font-size: min(1.6rem, 3vw);
}

.single-title h3{
    font-size: min(2.83rem, 4.83vw);
    font-weight: 400;
    margin: 0;
}

.single-page_inner{
    margin-bottom: min(92px, 6vw);
}

.single-page_inner p{
    padding-bottom: 16px;
}

.single-page_inner img{
    max-width: max-content;
}

p.postnav{
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 2em;
    border-top: solid 1px #2e4189;
    padding-top: min(40px, 8vw);
}

@media screen and (max-width:768px) {
/*----------
@ common
----------*/

/*-----page KV-----*/
.page-KV{
    height: 58vw;
}

.page-KV_inner::before, .page-KV_inner:after {
    width: 37vw;
    height: 28vw;
    filter: blur(2px);
}

.page-KV::before{
    width: 138%;
}


.form-items dd {
    padding-bottom: 12px;
}

}

@media screen and (min-width:768px) {
    .form-area ul li{
        width: calc((100% - min(2rem, 4vw)) / 2);
    }
}