@charset "UTF-8";

/* Inview */
.fadein {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1s;
}
.fadein.inview {
    opacity: 1;
    transform: translateY(0);
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
.mainvisual {
    height: 600px;
    margin-bottom: 120px;
    position: relative;
}
.mainvisual .fade-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}
.mainvisual .fade-img li {
    width: 70%;
    position: absolute;
    right: 0;
    opacity: 0;
    animation: fade 15s infinite;
}
.mainvisual .fade-img li:nth-child(1) {
    animation-delay: 0s;
}
.mainvisual .fade-img li:nth-child(2) {
    animation-delay: 5s;
}
@keyframes fade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.mainvisual .catchphrase {
    font-size: 50px;
    color: #00adb5;
    text-shadow: 1px 1px 3px #eee;
    position: absolute;
    top: 210px;
    left: 6%;
    line-height: 1.5;
}

/*-------------------------------------------
Profile
-------------------------------------------*/
.profile {
    margin-bottom: 120px;
    position: relative;
}
.profile .img {
    max-width: 480px;
}
.profile .text {
    max-width: 600px;
    background-color: rgba(218, 165, 32, 0.8);
    padding: 40px;
    position: absolute;
    top: 305px;
    right: 0;
}
.profile .text .title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}
.profile .text .sub-text {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 10px;
}
.profile .text .description {
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
}

/*-------------------------------------------
About
-------------------------------------------*/
.about {
    padding: 60px;
    margin-bottom: 120px;
    position: relative;
    text-align: center;
}
.about .title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 50px;
    line-height: 1.5;
}
.about .text {
    line-height: 2.5;
}
.about .btn a {
    font-size: 14px;
    color: #fff;
    background-color: #daa520;
    border: solid 2px #800000;
    display: block;
    box-sizing: border-box;
    max-width: 320px;
    text-align: center;
    padding: 20px 50px;
    margin: 30px auto 0;
    cursor: pointer;
    transition: all 0.3;
}
.about .btn a:hover {
    color: #daa520;
    background-color: #fff;
    transition: all 0.3;
}
.about .img {
    width: 95%;
    animation: fuwafuwa 3s ease-in-out infinite alternate;
    transition: 1.5s ease-in-out;
    margin: 0 auto;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: -10;
}
@keyframes fuwafuwa {
  0% {
    transform:translate(7, 0);
  }
  50% {
    transform:translate(0, -7px);
  }
  100% {
    transform:translate(7, 0);
  }
}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {
    
    /*-------------------------------------------
    Mainvisual
    -------------------------------------------*/
    .mainvisual {
        height: 400px;
        margin-bottom: 60px;
    }
    .mainvisual .fade-img img {
        height: 400px;
    }
    .mainvisual .fade-img li {
        width: 100%;
    }
    .mainvisual .catchphrase {
        color: #fff;
        text-shadow: 1px 1px 1px #777;
        font-size: 28px;
        top: 300px;
        left: 6%;
    }
    
    /*-------------------------------------------
    Profile
    -------------------------------------------*/
    .profile {
        position: static;
    }
    .profile .img {
        margin-bottom: 30px;
        text-align: center;
    }
    .profile .img img {
        max-width: 280px;
    }
    .profile .text {
        background-color: transparent;
        padding: 0;
        position: static;
    }
    .profile .text .title {
        font-size: 24px;
    }
    
    /*-------------------------------------------
    About
    -------------------------------------------*/
    .about {
        padding: 0 20px;
    }
    .about .title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    .about .img {
        top: 10px;
    }
}