@charset "UTF-8";

/* セクションタイトル */
.section-title {
    color: rgba(0, 173, 181, 0.9);
    font-size: clamp(68px, 8vw, 130px);
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ボタン */
/*.btn {
    max-width: 120px;
    background-color: #fff;
    display: block;
    border: solid 1px #1f1f1f;
    font-size: 12px;
    padding: 10px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}
.btn::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -10;
    background-color: #1f1f1f;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform ease 0.3s;
}
.btn:hover {
    color: #fff;
    opacity: 1;
}
.btn:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}*/
/* 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 {
    max-width: 1040px;
    margin: 0 auto 120px;
    position: relative;
    padding: 70px 0 0;
}
.profile .img {
    max-width: 480px;
}
.profile .text {
    max-width: 600px;
    background-color: rgba(218, 165, 32, 0.8);
    padding: 40px;
    position: absolute;
    top: 330px;
    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;
    color: #daa520;
}
.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);
  }
}

/*-------------------------------------------
Works
-------------------------------------------*/
.works {
    display: flex;
    justify-content: space-between;
    margin-bottom: 120px;
    position: relative;
}
.works::after {
    content: "";
    width: 100%;
    height: 70%;
    min-height: 420px;
    background-color: #fefefe;
    display: block;
    position: absolute;
    top: 6vw;
    left: 0;
    z-index: -10;
}
.works .text {
    padding: 0 6% 0 4%;
}
.works .text .section-title {
    margin-bottom: 40px;
}
.works .text .description {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.works .works-list {
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    margin-top: 170px;
}
.works .works-list li {
    max-width: 500px;
}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@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;
        padding: 0 20px;
    }
    .profile .img {
        margin-bottom: 30px;
        text-align: center;
    }
    .profile .img img {
        max-width: 280px;
        border-radius: 50%;
    }
    .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;
    }
    
    /*-------------------------------------------
    Works
    -------------------------------------------*/
    .works {
        flex-direction: column;
        margin-bottom: 60px;
    }
    .works::after {
        width: 100%;
        height: 90%;
        min-height: auto;
        top: 10vw;
    }
    .works .text {
        padding: 0 20px;
        margin-bottom: 40px;
    }
    .works .text .section-title {
        margin-bottom: 30px;
        text-align: center;
    }
    .works .works-list {
        margin-top: 0;
    }
    
}