@charset "UTF-8";

/*==========================
Profile
==========================*/
body {
    background-color: var(--primary-lightGray);
}

.section--profile {
    padding: 80px 20px;
    background-color: var(--primary-lightGray);
}

.profile__block {
    text-align: center;
    position: relative;
    z-index: 2;
}

.profile__block::before {
    content: '';
    position: absolute;
    background-image: url(../image/profile__circle.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 113px;
    height: 113px;
    transform-origin: center; /* 回転の中心を設定 */
    animation: 20s linear infinite rotation1;
}

/* profile__circle animation */
@keyframes rotation1 {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.profile__picture {
    box-shadow: 30px -30px 0 0 var(--primary-accentGreen);
}

.captionSp {
    font-family: "Jost", sans-serif;
    font-size: 3.7rem;
    font-optical-sizing: auto;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: normal;
    text-align: center;
    margin-top: 10px;
}

.captionSp__txt {
    font-family: "Jost", sans-serif;
    font-size: 1.6rem;
    font-optical-sizing: auto;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: normal;
    text-align: center;
    margin-top: -10px;
}

.profileBox__inner {
    border: 1px solid var(--primary-black);
    box-sizing: border-box;
    padding: 20px;
    background-color: var(--primary-white);
    margin-top: 10px;
    z-index: 2;
    position: relative;
}

.topicBox {
    display: block;
    padding-left: 5px;
    border-bottom: 3px solid var(--primary-accentGreen);
}

.topic {
    font-family: "Jost", sans-serif;
    font-size: 3rem;
    font-optical-sizing: auto;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: normal;
}

.profileName__group {
    display: flex;
    align-items: center;
    margin-top: 7px;
}

.name__circle {
    font-family: "Jost", sans-serif;
    font-size: 1.5rem;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: normal;
    padding: 13px 6.5px;
    background-color: var(--primary-accentGreen);
    border-radius: 50px;
}

.profile_name {
    font-family: "Jost", sans-serif;
    font-size: 2rem;
    font-optical-sizing: auto;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.05em;
    margin-left: 3px;
}

.profile_txt {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.05em;
    margin-top: 7px;
}

.section--works {
    padding: 50px 20px;
}

/* slick arrow */
.slick-prev,
.slick-next {
    position: absolute;
    top: 37%;
    transform: translateY(-50%);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    z-index: 1;
    cursor: pointer;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}


.slick-prev:before, .slick-next:before {
    font-size: 25px;
    color: var(--primary-black);
}

.slick-prev:before, .slick-next:before {
    opacity: .3;
}

.slick-prev:hover:before, .slick-prev:focus:before, .slick-next:hover:before, .slick-next:focus:before {
    opacity: .3;
}

/* slick dot */
.dots-wrap {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dots-wrap li {
    width: 40px;
    height: 4px;
    margin: 0 5px;
    background: #fff;
    cursor: pointer;
}

.dots-wrap li:hover,
.dots-wrap li.slick-active {
    background: var(--primary-accentGreen);
}
.dots-wrap li button {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    background-color: transparent;
}


/* fadeIn animation */
.fadeIn {
    transform: translate(0, -50px);
    opacity: 0;
    transition: 0.8s;
}

.fadeIn.animated {
    transform: translate(0, 0);
    opacity: 1;
}

/* profile上部のループテキスト */
#profile {
    position: relative;
}

.loopTxt_group {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    overflow: hidden; /* はみ出た部分を隠す */
}

.loopTxt_innner {
    font-family: "Jost", sans-serif;
    font-size: 30rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    animation: slideText 120s linear infinite;
    margin-right: 40px;
}

@keyframes slideText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* 画面幅の2倍分移動 */
  }
}



/* =========== Profile pc  =============*/
@media screen and (min-width:769px){
    .loopTxt_innner {
        font-size: 37rem;
    }
    
    .captionSp__group {
        display: none;
    }
    
    .profileBox__flex {
        display: flex;
        margin: 0 auto;
        justify-content: center;
    }
    
    .profile__block {
        padding-top: 0;
        margin-right: 90px;
        z-index: 2;
    }

    .profile__block::before {
        width: 195px;
        height: 195px;
    }
    
    .profileBox__inner {
        padding: 30px;
        width: 446px;
        margin: 0;
        z-index: 2;
    }
    
    .flexColumn {
        flex-direction: column;
        justify-content: center;
    }

    .walkCenter {
        text-align: center;
    }

    .profile__picture {
        object-fit: cover;
        height: 100%;
    }
    
    .topicBox {
        padding-left: 0px;
    }
    
    .topic {
        font-size: 5rem;
    }
    
    .profileName__group {
        margin-top: 22px;
    }
    
    .name__circle {
        line-height: 1.5;
        padding: 13px 7.5px;
    }
    
    .profile_name {
        font-size: 2.7rem;
        font-weight: 500;
        line-height: 1.5;
        margin-left: 10px;
    }
    
    .profile_txt {
        font-size: 1.6rem;
        margin-top: 10px;
    }
    

    .caption--sub {
        font-size: 6.8rem;
    }

    .section--profile {
        position: relative;
        padding: 200px 0;
    }

    .bgMaintxt {
        text-align: center;
        z-index: -1;
        position: absolute;
        transform: translate(-50%, -50%);
        bottom: -20%;
        left: 50%;
        content: '';
        background-image: url(../image/bgcaption.svg);
        width: 86.04%;
    }
}


/*==========================
Skills
==========================*/
.section--skills {
    padding: 80px 20px;
    background-color: var(--primary-white);
}

.skills__topic {
    font-family: "Jost", sans-serif;
    font-size: 4.3rem;
    font-optical-sizing: auto;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-align: center;
}

.slick {
    margin-top: 40px;
}

.pic__center {
    text-align: center;
}

.percentage__icon {
    width: 66.85%;
    margin: 0 auto;
}

.txtGroup__flex {
    margin-top: 25px;
    align-items: center;
}

.name {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.03em;
    color: var(--primary-white);
    display: inline-block;
    justify-content: center;
    align-items: center;
    padding: 5px 9px;
}

.name--orange {
    background-color: var(--primary-orange);
    margin-right: 13px;
}

.name--blue {
    background-color: var(--primary-blue);
    margin-right: 13px;
}

.name--purple {
    background-color: var(--primary-purple);
    margin-right: 13px;
}

.name--navy {
    background-color: var(--primary-navy);
    margin-right: 13px;
}

.name--redPink {
    background-color: var(--primary-redPink);
    margin-right: 13px;
}


.txtGroup__software {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-top: 5px;
}

.txtGroup__txt {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.05em;
    margin-top: 25px;
}

.skillsBox {
    margin-top: 40px;
}

.skillsBox {
    padding: 20px 15px;
    border: 1px solid var(--primary-black);
    box-sizing: border-box;
}

.skills__center {
    width: fit-content;
    margin: 0 auto;
}

.skills__content {
    display: flex;
    margin-top: 10px;
    align-items: center;
}

.skills__content:first-of-type {
    margin-top: 0;
}

.percentage {
    font-family: "Jost", sans-serif;
    font-size: 1.3rem;
    font-optical-sizing: auto;
    font-weight: 400;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
}

.percentage--heavy {
    background-color: rgba(216, 243, 41, 1);
    padding: 9.5px 8px;
    margin-right: 6px;
}

.percentage--medium {
    background-color: rgba(216, 243, 41, 0.5);
    padding: 9.5px 11px;
    align-items: center;
    text-align: center;
    margin-right: 6px;
}

.percentage--light {
    background-color: rgba(216, 243, 41, 0.2);
    padding: 9.5px 15px;
    align-items: center;
    text-align: center;
    margin-right: 6px;
}

.skill__txt {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.7;
}



/* skills pc */
@media screen and (min-width:769px) {
    .section--skills {
        padding: 100px 80px;
    }

    .skills__topic {
        font-size: 6.5rem;
        letter-spacing: 0.25em;
    }

    .slick {
        flex-wrap: wrap;
        display: flex;
        justify-content: center;
        margin: 50px auto 0;
        gap: 40px;
        max-width: 1280px;
    }

    .slick__item {
        width: 31.25%;
    }

    .name {
        padding: 5px 10px;
    }

    .name--orange {
        margin-right: 15px;
    }
    
    .name--blue {
        margin-right: 15px;
    }
    
    .name--purple {
        margin-right: 15px;
    }
    
    .name--navy {
        margin-right: 15px;
    }
    
    .name--redPink {
        margin-right: 15px;
    }
    
    .txtGroup__txt {
        margin-top: 20px;
    }

    .percentage__icon {
        width: 80%;
    }

    .skillsBox {
        padding: 50px 35px;
        max-width: 1280px;
        margin: 100px auto 0;
    }

    .skills__content {
        margin-top: 20px;
    }

    .percentage {
        font-size: 3rem;
        line-height: 1.5;
    }

    .percentage--heavy {
        padding: 0 20px;
        margin-right: 15px;
        width: 164px;
        height: 45px;
    }
    
    .percentage--medium {
        padding: 0 27px;
        margin-right: 15px;
        width: 164px;
        height: 45px;
    }
    
    .percentage--light {
        padding: 0 36px;
        margin-right: 15px;
        width: 164px;
        height: 45px;
    }
    
    .skill__txt {
        font-size: 1.6rem;
        line-height: 1.5;
    }
    
    
}