.subtop-home.fas {
display: none;
}
@media(max-width:970px){
.subtop-home.fas {
    display: block;
}
}

.sub-top-navi-wrap ul {
    margin-bottom: 2.3125rem;
}

.sub-top-navi-wrap ul{
 /*margin-bottom: unset;*/
}

.subtop-se {    
   height: 450px;
	transition: height .3s;
	position: relative;
}
.subtop-bg {    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
}
.subtop-section .subtop-img {
    background: url(images/img1.jpg) no-repeat top right;
}
.subtop-img {
    height: 100%;
    background-size: cover!important;
    animation: subtop2bgAnimation forwards linear 1s;
}
@keyframes subtop2bgAnimation {0%{transform:scale(1.2);}100%{transform:scale(1);}}

.subtop-se .inner {
    display: flex;
    align-items: flex-end;
    position: relative;
    height: 100%;
    padding-bottom: 189px;
    z-index: 5;
}
.inner {
    width: 100%;
    max-width: 1340px;
    padding: 0 20px;
    margin: 0 auto;
}

.title-h2 {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
}

.title-h3 {
    font-size: 1rem;
    display: block;
    line-height: 1;
    padding-left: 7px;
    position: absolute;
    margin-bottom: -35px;
}

.white {
    color: #fff!important;
}
.sub-top-navi-wrap {
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 100%;
}
.sub-top-navi-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
}
.sub-top-navi {
    display: flex;
    height: 65px;
}
ol, ul, dl, li {
    list-style: none;
}
.subtop-navi-home {
    position: relative;
    max-width: 80px;
}
.subtop-navi-li {
    position: relative;
    width: 50%;
    max-width: 185px;
    height: 100%;
    border: 0;
    background-color: #fff;
}
.subtop-navi-li > .subtop-alink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    font-size: 15px;
    color: #888;
    transition: background-color .3s, box-shadow .3s;
    z-index: 50;
}

a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}
.subtop-home {
    display: none ;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 20px;
    color: #888;
    transform: translate(-50%, -50%);
}
.subtop-navi-li:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -1px;
    width: 1px;
    height: 18px;
    background-color: #d7d7d7;
    transform: translateY(-50%);
}
.subtop-navi-li:not(.subtop-navi-home) > .subtop-alink {
    padding: 0 25px;
}
.subtop-navi-li > .subtop-alink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 100%;
    font-size: 15px;
    color: #888;
    transition: background-color .3s, box-shadow .3s;
    z-index: 50;
}
.subtop-navi-li > .subtop-alink .ellips {
    font-size: 15px;
    color: #888;
}
.ellips {
    display: -webkit-box;
    overflow: hidden;
    height: 1.5em;
    word-wrap: break-word;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.subtop-navi-icon {
    margin-left: 10px;
    font-weight: 900;
    color: #5d3ce8;
}
.subtop-navi-ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    padding: 17.5px 10px;
    border-top: 1px solid #e7e7e7;
    background-color: #fff;
    box-shadow: 0 20px 20px rgb(0 0 0 / 10%);
    transition: visibility .3s, opacity .3s;
    z-index: 100;
}
.subtop-navi-ul .subtop-gnb1, .subtop-navi-ul .subtop-gnb2 {
    margin: 10px 0;
    text-align: center;
}
.subtop-navi-ul .subtop-gnb1.active .subtop-alink, .subtop-navi-ul .subtop-gnb2.active .subtop-alink {
    font-weight: 600;
    color: #583cf2;
}
.subtop-navi-ul .subtop-alink {
    display: inline-block;
    position: relative;
    padding: 0 7px 3px;
    font-size: 15px;
    color: #888;
    transition: font-weight .3s, color .3s;
}
.subtop-navi-ul .subtop-gnb1.active .subtop-alink::after, .subtop-navi-ul .subtop-gnb2.active .subtop-alink::after {
    width: 100%;
}
.subtop-navi-ul .subtop-alink::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #583cf2;
    transition: width .3s;
}


.subtop-navi-home {position:relative; max-width:62px;}

.subtop-navi-li.open .subtop-navi-ul {visibility:visible; opacity:1;}

@media (min-width:971px) {
	.subtop-navi-ul .subtop-gnb1 .subtop-alink:hover, .subtop-navi-ul .subtop-gnb2 .subtop-alink:hover {font-weight:600; color:#583cf2;}
	.subtop-navi-ul .subtop-gnb1 .subtop-alink:hover::after, .subtop-navi-ul .subtop-gnb2 .subtop-alink:hover::after {width:100%;}
}




@media (max-width: 970px){

.sub-top-navi-wrap {
    left: 0px;
}}
@media (max-width: 970px){

.sub-top-navi {
    border-bottom: 1px solid rgb(215, 215, 215);
}}

@media (max-width: 970px){

.subtop-navi-home .subtop-alink {
    text-indent: -99px;
}}
@media (max-width: 970px){

.subtop-home {
    display: block;
    text-indent: 0px;
}}
@media (max-width: 970px){

.subtop-navi-li:not(.subtop-navi-home) {
    max-width: none;
}}
@media (max-width: 970px){

.subtop-level1 {
    width: 45%;
}}
@media (max-width: 970px){

.subtop-navi-li:not(:first-child)::before {
    left: 0px;
    height: 100%;
    display: block !important;
}}
@media (max-width: 970px){

.subtop-navi-ul {
    padding: 17.5px 15px;
}}
@media (max-width: 970px){

.subtop-navi-ul .subtop-gnb1, .subtop-navi-ul .subtop-gnb2 {
    text-align: left;
    margin: 5px 0px;
}}

@media (max-width: 970px){

.subtop-level2 {
    width: 55%;
}}


.subtop-navi-ul .subtop-alink {display:inline-block; position:relative; padding:0 7px 3px; font-size:15px; color:#888; transition:font-weight .3s, color .3s;}
.subtop-navi-ul .subtop-alink::after {content:""; position:absolute; bottom:0; left:0; width:0; height:1px; background-color:#583cf2; transition:width .3s;}
.subtop-navi-ul .subtop-alink::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 0px;
    height: 1px;
    background-color: rgb(88, 60, 242);
    transition: width 0.3s ease 0s;
}

