html {
    /*
    scroll-behavior: smooth;
    */
    font-size: 62.5%;
}

.wrapper {
    min-height: 100vh;
    position: relative;
    box-sizing: border-box;
    font-family:"Helvetica Neue", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    font-weight: normal;
    background-color: #fefefe;
}

.bold {
    font-weight: bold;
}

.maru {
    font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}

.wrapper p,h1,h2{
    color: #606060;
}

body.is_scrollLock {
    position: fixed;
    left: 0;
    width: 100%;
    overflow-y: scroll;
}

header {
    background-color: #707070;
}

.mouse {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    transition: 0.2s;
    transition-timing-function: ease-out;
    pointer-events: none;
    z-index: 10000;
}

.mouse.isShow::before {
    background-color: rgba(255,255,255,0.5);
}

/* shutter */

.shutter {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loaded {
    animation: hideout 1s ease-in-out 0s;
    animation-fill-mode: both;
}

@keyframes hideout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.shutter .op {
    width: 50%;
    max-width: 420px;
}

/* メイン */

.about {
    margin-top: 112px;
    position: relative;
}

.about .nameWrapper {
    display: flex;
    align-items: center;
    z-index: 1;
}

.about img {
    border-radius: 50%;
}

.about .roll {
    font-size: 20px;
}

.about .descX {
    display: flex;
    align-items: center;
    padding-top: 12px;
    padding-left: 4px;
}

.about .toX {
    display: inline-block;
    font-size: 15px;
    color: #606060;
    & .iconX {
        background-color: #505050;
        display: inline-block;
        color: #fff;
        font-size: 18px;
        padding: 1px 5px 1px 5px;
        border-radius: 4px;
    }
    & .nameX {
        padding-left: 5px;
        font-family: 'Osaka-Mono', monospace;
    }
}
/* works */

.works {
    width: 100%;
    margin-bottom: 5vh;
}

.works h2.title {
    text-align: center;
    margin-top: 100px;
}

.works .w_wrapper {
    margin-left: auto;
    margin-right: auto;
}

.works article {
    background-color: #fff;
    box-shadow: 4px 4px 10px 0px rgb(100 100 100 / 20%),
                inset 5px 5px 9px rgba(255, 238, 201, 0.1);
    padding: 1.8em 2em;
    box-sizing: border-box;
    border-radius: 1em;
    margin-bottom: 40px;
    user-select: none;
    transition:0.5s all ease;
}

.works .w_header {
    margin-left: 0.4em;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
}

.works .w_uicon {
    width: 3.5em;
    height: 3.5em;
    background-color: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

.works h1.w_title {
    font-weight: bold;
    padding-left: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    font-size: 1.7em;
}

.works p.w_thumb img{
    width: 100%;
    height: auto;
    border-radius: 0.5em;
}

.works .w_sum {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: flex-start;
}

.likeButton {
    width: 2.5em;
    margin-top: 1.4em;
    margin-right: 0.7em;
    transition:0.5s all ease;
}

.likeButton_icon {
    fill: none;
    width: 100%;
    height: 100%;
    margin-right: 0.5em;
    stroke: #606060;
    stroke-width: 1px;
    stroke-linejoin: round;
    overflow: visible;
}

.likeButton_icon.liked {
    fill: #db535a;
    stroke: none;
}

.works article .desc {
    padding: 1em 0.5em 0 0.3em;
    font-size: 1.4em;
    line-height: 1.3;
}

.works ul.w_tag {
    list-style: '#';
    color: #606060;
    font-family: 'Osaka-Mono', monospace;
    font-weight: normal;
    padding-top: 0.4em;
    padding-left: 0.6em;
    font-size: 1.2em;
}

.works .w_tag li {
    float: left;
    padding-right: 1em;
}

.works .w_tag h2 {
    display: inline;
}

/* detail overlay */

.detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1000;
    /*Firefox*/
    scrollbar-width: none;
    /*IE,Edge*/
    -ms-overflow-style: none;
}

.detail.isShow {
    pointer-events: auto;
    display: block;
    animation: show 0.2s linear 0s;
}

@keyframes show {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.detail .d_mask {
    position: fixed;
    background: rgba(0, 0, 0, 0.84);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

.detail .d_main {
    position: relative;
    width: 75%;
    max-width: 1200px;
    margin: 10vh auto 10vh auto;
}

.detail .d_main a[target="_blank"]::after {
    content: "\f35d";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    padding-left: 0.3em;
}

/*Chrome, Safari*/
.detail::-webkit-scrollbar {
    display: none;
}

.d_mask::before {
    transform: rotate(45deg);
}

.d_mask::after {
    transform: rotate(-45deg);
}

/* detail content */

.d_content {
    font-size: 1rem;
    width: 100%;
    height: 100%;
    & p,h1,h2,li {
        color: #fff;
    }

    & img {
        width: 100%;
    }
}

.d_content .d_thumb {
    width: 100%;
    height: auto;
    max-height: 70vh;
    & img {
        width: 100%;
        height: 100%;
        max-height: 70vh;
        object-fit: contain;
    }

    & iframe {
        width: 100%;
        height: 100%;
        aspect-ratio: 16/9;
        max-height: 70vh;
    }
}

.d_content .d_title {
    margin-top: 0.7em;
    font-size: 3.2em;
}

.d_content .d_tools {
    margin-top: 0.9em;
    font-size: 1.8em;
}

.d_content .d_tag {
    margin-top: 0.7em;
    margin-bottom: 0.5em;
    list-style: '#' inside;
    display: flex;
    margin-left: 0.1em;
    font-size: 17px;
}

.d_content .d_tag li {
    padding: 4px 8px;
    margin-right: 8px;
    border: 1px solid #fff;
    box-sizing: border-box;
}

.d_content .d_desc_d {
    font-size: 18px;
    & p {
        line-height: 1.5;
        padding-top: 1em;
    }

    & img {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
}

/*footer*/

footer {
    display: inline-block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70px;
    background-color: #707070;
    box-sizing: border-box;
}

footer .privacypolicy {
    font-size: 15px;
    color: #fff;
    text-align: center;
    margin-top: 16px;
}

footer .copyright {
    margin-top: 8px;
    font-size: 15px;
    color: #fff;
    text-align: center;
}

@media (hover: hover) {
    .works article:hover {
        transform: scale(1.05,1.05);
        transition:0.5s all ease;
    }

    .likeButton:hover {
        transform: scale(1.1,1.1);
        transition:0.3s all ease;
    }
}

@media screen and (min-width:960px) {
    .wrapper {
        min-width: 1050px;
        padding-bottom: 44px;
    }

    header {
        height: 44px;
    }

    .mouse::before {
        content: "";
        display: block;
        position: relative;
        top: 5px;
        left: 5px;
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        z-index: 10000;
    }

    /* メイン */

    main {
        margin: 0 15%;
    }

    .about .nameWrapper::before {
        content: 'A';
        display: block;
        color: #9ab6c6;
        font-size: 300px;
        font-weight: bold;
        line-height: 1;
        position: absolute;
        top: 0px;
        left: 250px;
        opacity: 0.08;
        user-select: none;
    }

    .about img {
        width: 115px;
    }

    .about .name_right {
        margin-left: 24px;
    }

    .about .name {
        font-size: 48px;
        padding-top: 12px;
    }

    .about .desc {
        width: 370px;
        font-size: 15px;
        margin-top: 18px;
        margin-left: 10px;
    }

    .about .name_en {
        font-size: 30px;
    }

    /* works */

    .works h2.title {
        font-size: 48px;
        margin-bottom: 53px;
    }

    .works article, .article_sizer {
        width: 400px;
        font-size: 10px;
    }

    /* detail */
    /* バツボタン */
    .d_mask::before, .d_mask::after {
        content: "";
        position: absolute;
        display: block;
        top: calc(7vh - 50px);
        right: 10vw;
        width: 2px;
        height: 75px;
        background-color: #eee;
    }
}

@media screen and (max-width:960px) {
    .wrapper {
        max-width: 1050px;
        padding-bottom: 44px;
        overflow: hidden;
    }

    header {
        height: 44px;
    }

    .mouse::before {
        content: "";
        display: block;
        position: relative;
        top: 5px;
        left: 5px;
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        z-index: 10000;
    }

    /* メイン */
    main {
        margin: 0 7%;
    }

    .about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about .nameWrapper::before {
        content: 'A';
        display: block;
        color: #9ab6c6;
        font-size: 200px;
        font-weight: bold;
        line-height: 1;
        position: absolute;
        top: 32px;
        left: 170px;
        opacity: 0.08;
        user-select: none;
    }

    .about img {
        width: 80px;
    }

    .about .name_right {
        margin-left: 12px;
    }

    .about .name {
        font-size: 42px;
        padding-top: 12px;
        text-wrap: balance;
    }

    .about .desc {
        width: 100%;
        font-size: 15px;
        margin-top: 18px;
        margin-left: 10px;
        text-wrap: balance;
        text-align: center;
    }

    .about .name_en {
        font-size: 25px;
    }
    
    /* works */

    .works h2.title {
        font-size: 33px;
        margin-bottom: 34px;
    }

    .works article, .article_sizer {
        width: 100%;
        max-width: 300px;
        font-size: 9px;
    }

    /* detail */
    /* バツボタン */
    .d_mask::before, .d_mask::after {
        content: "";
        position: absolute;
        display: block;
        top: calc(7vh - 40px);
        right: 10vw;
        width: 2px;
        height: 50px;
        background-color: #eee;
    }

}

@media (pointer: fine) {
    .mouse {
        display: block;
    }
}