@charset "utf-8";

.logo {
    margin-top: -90px
}

.first-view {
    display: block;
    height: 600px;
    width: 100%;
    object-fit: cover;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    border-radius: 20px;
}

.profile-icon-area {
    position: relative;
}

.profile-icon{
    max-width: 328px;
    z-index: 100;
    position: fixed; 
    right: 100px;
    bottom: 80px;
}

.profile-icon:hover {
    transform: scale(1.05) rotate(5deg);
}

.lead {
    text-align: center;
    font-size: 32;
    font-weight: bold;
    margin-top: 200px;
}

.about-text {
    display: block;
    max-width: 932px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18;
    text-align: center;
}

.Youtube-link-area {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.Youtube-link-list {
    margin-top: 90px;
    display: flex;
    justify-content: space-around;
    padding: 0;
}

.Youtube-link-list a {
    display: block;
}


.Youtube-link-list a:hover {
    transform: scale(1.05);
}

.Youtube-link-list p {
    text-align: center;
}

.link-button-area {
    display: block;
    width: 1000px;
    margin: 80px auto 0 auto;
}

.link-button {
    text-align: right;
}

.link-button p {
    font-size: 20;
}

.scroll_up {
    transition: 1s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
  }

.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
  }

.work-area {
    padding: 0;
}

.work-list ul {
    display: grid;
    width: fit-content;
    column-gap: 2em;
    grid-template-columns: repeat(2, auto);
    margin: 80px auto 0 auto;
    align-items: center;
    padding: 0;
  }

.work-picture {
    width: 600px;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
  }


.X-link-area {
    background-color: #A983B3;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    text-align: center;
    margin: 70px auto 0 auto;
}

.X-link-area:hover,
.mail-address:hover {
    transform: scale(1.05);
}

.or {
    text-align: center;
    font-size: 30;
    font-weight: bold;
}

.mail-address {
    background-color: #A983B3;
    border-radius: 30px;
    max-width: 800px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
}

.email-address,
.X-link{
    display: block;
    color: white;
    font-size: 30;
    font-weight: bold;
    text-align: center;
    padding-top: 30px;
}

.email-address {
    font-size: 26;
}

.X-link {
    padding-top: 26px;
    padding-bottom: 26px;
}

.contact-read {
    text-align: center;
    font-size: 18;
}

.news-box {
    display: flex;
    flex-direction: column;
    max-width: 60%;
    margin: 10px auto 40px auto;
}

.news-box ul li{
    display: flex;
}

.news-box ul li p {
    padding: 0 10px 0 10px;
    border-bottom: 1px solid #573550;
    padding-bottom:2px;
    margin-top: 3px;
}

.Link-area {
    display: block;
    margin-bottom: 160px;
}


.link-text ul li {
    display: flex;
    background-color: #e0dae2;
    border-radius: 30px;
    max-width: 700px;
    align-items: center;
    margin: 10px auto 0 auto;
    font-size: 16;
}

.link-text ul li a {
    width: 200px;
    margin-left: 50px;
    text-align: center;
}

.link-text ul li p {
    width: 400px;
    display: block;
    margin: 5 20 5 auto;
}

@media screen and (max-width: 1600px) {

    .profile-icon{
        max-width: 240px;
        right: 10px;
        bottom: 80px;
    }

}

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

    .logo {
    margin-top: 0px
    }
    
    .first-view {
        height: 400px;
    }

    .Youtube-link-list {
        flex-direction: column;
        align-items: center;
        margin: 100px auto 0 auto;
    }

    .Youtube-link-list a {
        margin-top: 20px;
    }

    .child_1 {
        order: 2;
    }

    .child_2 {
        order: 1;
    }

    .child_3 {
        order: 3;
    }

    .work-list ul {
        display: flex;
        flex-direction: column;
    }

    .link-button-area {
        max-width: 100%;
    }

    .link-button {
        margin-right: 30px;
    }

    .logo-area {
        top: 40px;
        left: 10%;
    }

    .news-box {
        max-width: 80%;
    } 
}

@media screen and (max-width: 800px) {
    .profile-icon{
        max-width: 160px;
        right: -20px;
        bottom: 0px;
    }

    .lead,
    .email-address {
        font-size: 20;
    }

    .mail-address {
        height: 60px;
    }

    .email-address {
        padding-top: 16px;
    }

    .link-button p,
    .contact-read,
    .work-list p ,
    .Youtube-link-list p,
    .about-text {
        font-size: 16;
    }

    .news-box ul li p {
        font-size: 16;
    }

    

}