@charset "UTF-8";

* {
    box-sizing: border-box;
    Margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

Img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: black;
    text-decoration: none;
}

main {
    background-color: #292929;
}

article {
    width: 90%;
    margin: auto;
}

/*header*/
header {
    background-color: rgba(41, 41, 41, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0 10px;
}

.rogoimg {
    width: 100%;
    max-width: 150px;
    min-width: 70px;
    padding: 5px 0;
    margin-left: 10px;
}

.header-nav {}

.header-nav-ul {
    display: flex;
    gap: 10px;
}

.header-nav-li a {
    color: #fff;
    transition: color 1.5s ease;
}

.header-nav-li a:hover,
.header-nav-li a:focus {
    color: #777777;
}

/*headerここまで*/


/*index.html*/
/*index.html*/
/*index.html*/


section {
    background-color: #E8D3A8;
    padding-bottom: 30px;
    padding-top: 30px;
}


.mainimg {
    background-color: #333;
    margin: 0;
    padding: 0;
}

.mainimg img {
    width: 100%;
    margin: auto;
}

.sectitle {
    text-align: center;
    margin-bottom: 30px;
}

.prpfilepage {
    width: 80%;
    margin: auto;
}



/*---------------------------------------------------------------------------------------------------------------------------------------------
profile
---------------------------------------------------------------------------------------------------------------------------------------------*/

.profile {
    text-align: center;
}

.profileimg {
    width: 100%;
    max-width: 700px;
    min-width: 250px;
    margin: auto;
    text-align: center;
    margin-bottom: 20px;
}

.profilename {
    text-align: center;
    margin-bottom: 10px;
}

.profilecap {
    width: 95%;
    margin: auto;
    text-align: center;
    font-size: clamp(5px, 3.25vw, 15px);
    padding-bottom: 30px;
}

.link {
    text-align: center;
    background-color: #404040;
    border-radius: 20px;
    padding: 10px 0;
    width: 50%;
    margin: auto;
    max-width: 200px;
    cursor: pointer;
    transition: background-color 1.5s ease;
}

.link a {
    color: #fff;
    display: block;
    transition: color 1.5s ease;
}

.link:hover,
.link:focus {
    background-color: #181818;
}

.link a:hover,
.link a:focus {
    color: #777777;
}

/* スライダー */
/* スライダー */
/* スライダー */
/* スライダー全体のスタイル */

#changePic {
    animation: imgfade 6s infinite;
    opacity: 0;
    width: 60%;
    margin: auto;
    margin-bottom: 20px;
}

@keyframes imgfade {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* スライダー */
/* スライダー */
/* スライダー */
/* スライダー */
/* スライダー ここまで*/


/*インフォグラフィック*/
/*インフォグラフィック*/
/*インフォグラフィック*/
.box {
    width: 100%;
    max-width: 30%;
    margin: auto;
    aspect-ratio: 1 / 1;
}

.box .chart {
    /* 円サイズ */
}

.box .bg-ring {
    fill: none;
    stroke: #eee;
    stroke-width: 5;
}

.box .data-ring {
    fill: none;
    stroke: #3498db;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 188.4;
    stroke-dashoffset: 94.2;
    /* 50%表示 */
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.box .chart-label {
    fill: #333;
    font-size: 20px;
    text-anchor: middle;
    /* 中央揃え */
    dominant-baseline: middle;
    /* 縦方向の中央揃え */
    font-weight: bold;
}

.data-ring2 {
    fill: none;
    stroke: #eba21b;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 188.4;
    stroke-dashoffset: 75.36;
    /* 60%表示 */
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.data-ring3 {
    fill: none;
    stroke: #db34c5;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 188.4;
    stroke-dashoffset: 113.04;
    /* 40%表示 */
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.data-ring4 {
    fill: none;
    stroke: #36dc86;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 188.4;
    stroke-dashoffset: 113.04;
    /* 40%表示 */
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.data-ring5 {
    fill: none;
    stroke: #5f36dc;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 188.4;
    stroke-dashoffset: 113.04;
    /* 40%表示 */
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.data-ring6 {
    fill: none;
    stroke: #3814d7;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 188.4;
    stroke-dashoffset: 131.88;
    /* 30%表示 */
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.skillflex {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: auto;
    width: 70%;
}

/*インフォグラフィック*/
/*インフォグラフィック*/
/*インフォグラフィック*/

/*---------------------------------------------------------------------------------------------------------------------------------------------
profileここまで
---------------------------------------------------------------------------------------------------------------------------------------------*/



/*---------------------------------------------------------------------------------------------------------------------------------------------
works
---------------------------------------------------------------------------------------------------------------------------------------------*/
#workman {
    text-align: center;
    padding: 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.wona {
    margin-bottom: 30px;
}

.worknav {
    width: 90%;
    margin: auto;
}

.worknav img {
    width: 50%;
    transition: opacity 1.5s ease;
}

.worknav img:hover,
.worknav img:focus {
    opacity: 0.8;
    transition: 0.3s;
}

.worknav div {
    margin-bottom: 30px;
}

.workp {
    margin-bottom: 30px;
}

/*---------------------------------------------------------------------------------------------------------------------------------------------
worksここまで
---------------------------------------------------------------------------------------------------------------------------------------------*/



/*---------------------------------------------------------------------------------------------------------------------------------------------
other
---------------------------------------------------------------------------------------------------------------------------------------------*/

.othercap {
    width: 80%;
    margin: auto;
    text-align: center;
    margin-bottom: 30px;
}

body {
    --scroll-gap: 30px;
}

@keyframes infiniteScrollRTL {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * (100% / var(--_infinite-scroll-clone-length)) - var(--_infinite-scroll-gap,
                        var(--scroll-gap)) / var(--_infinite-scroll-clone-length)));
    }
}

@keyframes infiniteScrollLTR {
    0% {
        transform: translateX(calc(-1 * (100% / var(--_infinite-scroll-clone-length)) - var(--_infinite-scroll-gap,
                        var(--scroll-gap)) / var(--_infinite-scroll-clone-length)));
    }

    100% {
        transform: translateX(0);
    }
}

.js-scrollTrack {
    width: max-content;

    &[data-scroll-initialized="true"][data-scroll-direction="left"] {
        animation: infiniteScrollRTL var(--_infinite-scroll-duration) linear infinite;
    }

    &[data-scroll-initialized="true"][data-scroll-direction="right"] {
        animation: infiniteScrollLTR var(--_infinite-scroll-duration) linear infinite;
    }

    &[data-scroll-pause-on-hover="true"]:hover {
        animation-play-state: paused;
    }
}

.js-scrollList {
    display: flex;
    flex-wrap: nowrap;
    /* gap: 0 var(--_infinite-scroll-gap, var(--scroll-gap)); */
}

.js-scrollCont {
    flex-shrink: 0;
}

.scroll_wrap {
    margin-block-start: 20vh;
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
}

.scroll_track {
    /* width: 100%; */
}

.scroll_inner {
    display: flex;
    flex-wrap: nowrap;
    background-color: #2d2c2c;
}

.scroll_cont {
    display: grid;
    place-content: center;
    flex-shrink: 0;
    min-width: 22vw;
    aspect-ratio: 1 / 1;
}

.scroll_cont img {
    width: 100%;
    max-width: 200px;
}

/*---------------------------------------------------------------------------------------------------------------------------------------------
otherここまで
---------------------------------------------------------------------------------------------------------------------------------------------*/




/*footer*/
/*footer*/
/*footer*/

footer {
    background-color: #292929;
    text-align: center;
}

footer img {
    width: 50px;
}

.contact {
    color: #fff;
    padding-top: 30px;
}

.footlinkimg {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.footlinkall {
    background-color: #E8D3A8;
    width: 50%;
    margin: auto;
    padding: 30px 0;
    border-radius: 10px;
    margin-bottom: 30px;
}

.mbclink {
    text-align: center;
    background-color: #404040;
    border-radius: 20px;
    padding: 10px 0;
    width: 85%;
    margin: auto;
    cursor: pointer;
    transition: background-color 1.5s ease;
}

.mbclink a {
    color: #ffffff;
    display: block;
    transition: color 1.5s ease;
}

.mbclink:hover,
.mbclink:focus {
    background-color: #181818;
}

.mbclink a:hover,
.mbclink a:focus {
    color: #777777;
}

.small {
    color: #ffffff;
    padding-bottom: 30px;
}

/*footerここまで*/
/*footerここまで*/
/*footerここまで*/


/*index.htmlここまで*/
/*index.htmlここまで*/
/*index.htmlここまで*/
/*index.htmlここまで*/

















@media screen and (min-width: 769px) {

    .skillflex {
        width: 50%;
    }

    .skillwww {}

    .profileimg {
        width: 70%;
    }

    .prpfilepage {
        width: 70%;
    }

    .profileflex {}



    .worknav img {
        width: 90%;

    }

    .worknav {
        display: flex;
        gap: 20px;
    }




    /*other*/
    /*other*/
    /*other*/

    .scroll_cont img {
        width: 100%;
        max-width: 300px;
        min-width: 250px;
    }

    .scroll_inner {
        background-color: #2d2c2c;
        height: 300px;
    }

    /*other*/
    /*other*/
    /*other*/

}