.p-top{
    position: relative;
    display: grid;
    align-items: flex-start;
    width: 100%;
    min-height: 880px;
    padding: 0 30px 60px;
}
.p-top__inner{
    display: block;
    margin: 0 auto;
    max-width: 500px;
}
.p-top__title{
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}
.p-top__title--inner{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    height: 530px;
    padding: 60px 30px;
}
.p-top__title--banner{
    overflow: hidden;
    display: grid;
    grid-template-columns: 40%;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    gap: 10px;
    margin-bottom: 20px;
    animation: trance5 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards alternate;
}
.p-top__title--banner > img{
    width: 91%;
}
.p-top__title::before,
.p-top__title::after,
.p-top__title--inner::before,
.p-top__title--inner::after{
    position: absolute;
    content: '';
    width: 17px;
    height: 17px;
}
.p-top__title::before{
    top: 0;
    left: 0;
    border-top: 1px solid #292929;
    border-left: 1px solid #292929;
    animation: trance1 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards alternate;
}
.p-top__title::after{
    bottom: 0;
    right: 0;
    border-bottom: 1px solid #292929;
    border-right: 1px solid #292929;
    animation: trance2 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards alternate;

}
.p-top__title--inner::before{
    top: 0;
    right: 0;
    border-top: 1px solid #292929;
    border-right: 1px solid #292929;
    animation: trance3 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards alternate;
}
.p-top__title--inner::after{
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #292929;
    border-left: 1px solid #292929;
    animation: trance4 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards alternate;
}

.p-top__title--inner > h1 {
    animation: trance5 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards alternate;
}

.p-top__information{
    width: 100%;
    font-family: 'din-2014','Noto Sans JP';
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: .12rem;
    line-height: 2.6rem;
}
.p-top__infoTitle{
    width: 100%;
    margin-top: 14px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .2rem;
}
.p-top__infoDetail{
    font-size: 2rem;
    line-height: normal;
}
.p-top__term{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 60%;
    text-align: right;
}
span.x1{
    letter-spacing: .005rem;
}
span.x2{
    letter-spacing: .1rem;
}
.p-top__term > span.after{
    position: relative;
    display: block;
    margin-right: 30px;
}
.p-top__term > span.after::after{
    position: absolute;
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    right: -25px;
    top: 12px;
    background-color: #292929;
}

.p-top__about{
    display: flex;
    width: 100%;
    height: 23px;
    margin-top: 6px;
    background-color: #222;
    color: #FFF;
    line-height: 24px;
}
.p-top__about > span{
    display: flex;
    text-align: center;
    justify-content: center;
    width: max-content;
    min-width: 54px;
    height: 23px;
    padding: 0 3px;
    background-color: #D53421;
    font-weight: 700;
}
span.p-top__about--info{
    width: 100%;
    padding: 0 3px;
    background-color: #222;
    letter-spacing: .001rem;
    transform: scale(.98);
}
.p-top__presents{
    text-align: center;
    width: 100%;
    margin-top: 30px;
    color: rgb(150, 150, 150);
}
.p-top__presents > p{
    transform: scale(.9);
}


@media screen and (max-width: 820px){
    .p-top{
        min-height: 920px;
    }
}
@media screen and (min-width: 1000px){
    .p-top{
        min-height: 880px;
    }
}
@media screen and (min-width: 820px){
    .p-top{
        padding: 60px 60px 60px 60px;
        min-height: 1030px;
    }
    .p-top__inner{
        max-width: 580px;
    }
    .p-top__title--inner{
        padding: 60px;
    }
    .p-top__infoTitle{
        font-size: 1.6rem;
    }
    .p-top__information{
        text-align: center;
        font-size: 2.4rem;
        letter-spacing: .2rem;
        line-height: 3.2rem;
    }
    .p-top__term > span.after{
        position: relative;
        display: block;
        margin-right: 60px;
    }
    .p-top__term > span.after::after{
        position: absolute;
        content: '';
        display: block;
        width: 50px;
        height: 1px;
        right: -55px;
        top: 12px;
        background-color: #292929;
    }
    .p-top__about{
        height: 34px;
        margin-top: 10px;
        font-size: 1.2rem;
        line-height: 34px;
    }
    .p-top__about > span{
        height: 34px;
        width: 80px;
    }
    span.p-top__about--info{
        width: calc(100% - 80px);
        letter-spacing: .1rem;
    }
}

@media screen and (min-width: 1200px){

	.p-top{
		padding: 60px 180px 60px 60px;
	}
}

@media screen and (min-height: 1200px){

	.p-top{
		align-items: center;
	}
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  .modal-content {
    background-color: #fefefe;  /* モーダルウィンドウの背景色 */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888888;
    width: 40%;  /* モーダルウィンドウの横幅 */
  }
  .modal-title {
    text-align: center;
  }
  .close-button {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  .close-button:hover,
  .close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  




@keyframes trance1 {
	0% {
        top: 50%;
        left: 50%;
        opacity: 1;
	}
    2.55% {
        opacity: 0;
	}   
    5% {
        opacity: 1;
	}   
    7.5% {
        opacity: 0;
	}  
    10% {
        opacity: 1;
	}   
    12.5% {
        opacity: 0;
	}   
    15% {
        opacity: 1;
	}   
    17.5% {
        opacity: 0;
	}   
    20% {
        opacity: 1;
        top: 50%;
        left: 50%;
	}
	to {
        top: 0;
        left: 0;
	}
}
@keyframes trance2 {
	0% {
        bottom: 50%;
        right: 50%;
        opacity: 1;
	}
    2.55% {
        opacity: 0;
	}   
    5% {
        opacity: 1;
	}   
    7.5% {
        opacity: 0;
	}  
    10% {
        opacity: 1;
	}   
    12.5% {
        opacity: 0;
	}   
    15% {
        opacity: 1;
	}   
    17.5% {
        opacity: 0;
	}
    20% {
        bottom: 50%;
        right: 50%;
        opacity: 1;
	}
	to {
        bottom: 0;
        right: 0;
	}
}
@keyframes trance3 {
	0% {
        top: 50%;
        right: 50%;
        opacity: 1;
	}
    2.55% {
        opacity: 0;
	}   
    5% {
        opacity: 1;
	}   
    7.5% {
        opacity: 0;
	}  
    10% {
        opacity: 1;
	}   
    12.5% {
        opacity: 0;
	}   
    15% {
        opacity: 1;
	}   
    17.5% {
        opacity: 0;
	}
    20% {
        top: 50%;
        right: 50%;
        opacity: 1;
	}
	to {
        top: 0;
        right: 0;
	}
}
@keyframes trance4 {
	0% {
        bottom: 50%;
        left: 50%;
        opacity: 1;
	}
    2.55% {
        opacity: 0;
	}   
    5% {
        opacity: 1;
	}   
    7.5% {
        opacity: 0;
	}  
    10% {
        opacity: 1;
	}   
    12.5% {
        opacity: 0;
	}   
    15% {
        opacity: 1;
	}   
    17.5% {
        opacity: 0;
	}
	20% {
        bottom: 50%;
        left: 50%;
        opacity: 1;
	}
	to {
        bottom: 0;
        left: 0;
	}
}
@keyframes trance5 {
	0% {

        transform: scale(0);
	}
    2.55% {
        opacity: 0;
	}   
    5% {
        opacity: 1;
	}   
    7.5% {
        opacity: 0;
	}  
    10% {
        opacity: 1;
	}   
    12.5% {
        opacity: 0;
	}   
    15% {
        opacity: 1;
	}   
    17.5% {
        opacity: 0;
	}
	20% {
        transform: scale(0);

	}
	to {
        transform: scale(1);

	}
}