@charset "UTF-8";
*{
    padding: 0;
    margin: 0;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

@font-face{
    src: url(../font/Train_One/TrainOne-Regular.ttf);
    font-family: Train_One;
}

body {
    position: relative;
    z-index: -1000;
}


header {
    width: 100%;
}


h1 {
    padding-top: 4vw;
    text-align: center;
    font-size: 5vw;
    font-family: Train_One;
}

h1 a {
    text-decoration: none;
    color: #101010;
}

.sns-box1 {
    display: flex;
    width: 10%;
    margin-left: auto;
    margin-right: 2vw;
    margin-bottom: 0.5vw;
}

.sns-box1 a {
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #a9a9a9;
}
    
.sns-box1 a i {
    font-size: 2.2vw;
}

nav {
    width: 100%;
}

nav .main-ul {
    display: flex;
    list-style-type: none;
}

nav .main-ul .main-li {  
    width: calc( 100% / 7 );
    text-align: center;
}


nav .main-ul .drop {
    position: relative;
}

nav .main-ul .main-li .main-a {
    display: block;
    background-color: #3b3b3b;
    text-decoration: none;
    line-height: 2;
    font-size: 1.7vw;
    color: #ffffff;
    transition: 1s;
}

nav .main-ul .main-li .main-a:hover {
    background-color: #c0c0c0;
    color: #3b3b3b;
    opacity: 1;
    transition: 1s;   
}

.sub-ul  {
    position: absolute;
    width: 100%;
    height: 0vw;
    opacity: 0;
    /*visibility: hidden;要素はあるけど見えない状態*/
    visibility: hidden;
    list-style-type: none;
    transition: 1s;
    z-index: 100;
}

.sub-ul .sub-li {
    width: 100%;
    background-color: #3b3b3b;
}

.sub-ul .sub-li .sub-a {
    display: block;
    line-height: 2.6;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.7vw;
    text-decoration: none;
}

.sub-ul .sub-li .sub-a:hover {
    background-color: #c0c0c0;
    color: #3b3b3b;
    opacity: 1;
    transition: 1s;
}

.drop:hover .sub-ul {
    height: fit-content;
    opacity: 1;
    visibility: visible;
    transition: 1s;  
}

main .up {
    position: relative;
    z-index: -100;
}

h2 {
    text-align: center;
    padding: 5vw;
    font-size: 3vw;
    color: #101010;
}

.img-flex {
    display: flex;
    flex-direction: column;
}

.img-flex .imges {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;   
}

.img-flex .imges img {    
    display: block;
    width: 100%; 
    margin-top: 2vw;
}


.img-flex .imges .second {
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0;
    transition: 0.9s;
    width: 100%;
}

.img-flex .imges:hover .second {
    opacity: 1;
    transition: 0.9s;
}

.about {
    margin-top: 13vw;
    width: 100%;
    position: relative;
}

.about img {
    width: 100%;
}

.about a:hover p {
    height: fit-content;
    opacity: 1;
    transition: 1s;   
}

.about p {
    position: absolute;
    left: 46%;
    top: 28vw;
    background-color: white;
    color: #101010;
    font-size: 2vw;
    padding: 0.5vw;
    opacity: 0;
    transition: 1s;   
}

.footer-flex {
    width: 100%;
    display: flex;
    padding: 5vw;
    flex-direction: column;
}

.footer-flex .text {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.footer-flex .text ul {
    list-style-type: none;
}

.footer-flex .text ul li {
    position: relative;
}

.footer-flex .text ul li a {
    display: block;
    text-decoration: none;
    font-size: 2vw;
    color: #a9a9a9;
    line-height: 3;
    transition: 1s;
}


.footer-flex .text ul li a:hover {
    display: block;
    text-decoration: none;
    font-size: 2vw;
    color: #101010;
    line-height: 3;
    transition: 1s;
}

.footer-flex .text ul li .footer-a:hover::before {
    width: 100%;
    transition: 1s;
}

.footer-flex .text ul li .footer-a::before {
    position: absolute;
    bottom: 0.1vw;
    left: 0%;
    display: block;
    width: 0%;
    height: 0.05vw;
    content: "";
    background-color: #101010;
    transition: 1s;/*width: 0pxに戻る時間の指定*/
}


.footer-flex .text .left {
    margin-right: 2vw;
}

.footer-flex .text .right {
    margin-left: 5vw;
}

.sns-box2 {
    display: flex;
    width: 16%;
    margin-left: 35%;
    margin-top: 2vw;
    
}

.sns-box2 a {
    display: block;
}

.sns-box2 i {
    font-size: 2vw;
    color: #a9a9a9;
    margin-left: 3vw; 
    transition: 1s;
}

.sns-box2 i:hover {
    font-size: 2vw;
    color: #101010;
    margin-left: 3vw;
    transition: 1s;  

}

p {
    text-align: center;
    color: #a9a9a9;
    font-size: 1.8vw;
    margin-bottom: 2vw;
}
















  


