@charset "UTF-8";

body {
    max-width: 1920px;
    color: #a52a2a;
    background-color: #f5f5dc;
    font-size: 100%;
    font-family: "Noto Sans JP", sans-serif;
}

.dark-logo-start,
.dark-logo img,
.dark-img,
.dark-img-pc,
.light-img,
.dark-about-img,
.dark-mock-up {
    display: none;
}

.light-img-pc {
    margin-top: 55px;
}

html {
    scroll-behavior: smooth;
}

.visually-hidden {
    font-size: 0.5rem;
    position: absolute;
    top: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
}

img {
    width: 100%;
}

.start {
    background: #f5f5dc;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;
}

.start p {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    width: 280px;
}


li {
    list-style: none;
}

a {
    text-decoration: none;
    display: inline-block;
    vertical-align: bottom;
    font-weight: bold;
}

iframe {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.border_style {
    padding: 1rem 2rem;
    border: 1px dotted #8d4513;
    position: relative;
    display: inline;
}

*,
::before,
::after {
    box-sizing: border-box;
}


section,
aside,
.works-box {
    max-width: 1100;
    width: 80%;
    margin: 0 auto;
}


.drawer_hidden {
    display: none;
}

header {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    z-index: auto;

}

.header {
    position: sticky;
    height: 55px;
    background-color: #a52a2a;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    position: fixed;
}

.top img {
    width: 50px;
}

.drawer-nav-link {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.427);
}

.drawer-nav-item {
    display: none;
}

.drawer-nav-item2 {
    display: block;
    align-items: center;
}

.drawer-navpc ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
}


.drawer-navpc a {
    color: #f5f5dc;

}

.drawer-btn {
    display: none;
}

.drawer-navpc a:hover {
    color: #032744;
    transition: .4s;
    opacity: .7;
}

.drawer-btn {
    display: none;
}


.topttl {
    font-family: "Gravitas One", serif;
    font-weight: bold;
    text-align: center;
    padding-bottom: 4rem;
    padding-top: 7rem;
    font-size: 1rem;
}

/* works--------------------------------------------- */

.work {
    max-width: 1000px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    border-bottom: 1px dotted #a52a2a;
    padding-bottom: 2rem;
    gap: 1rem;
    text-align: center;
}



.work:last-child {
    border-bottom: none;
}

.work img {
    width: 500px;
}
.bannerimg img {
    width: 400px;
   
}

.worklink a {
    font-size: 0.8rem;
    border-bottom: 1px solid #a52a2a;
    color: #a52a2a;
}

.worklink a:hover {
    color: #032744;
    border-bottom: 1px solid #032744;
    opacity: 0.8;
    transition: 0.3s;
}

.worktext h3 {
    margin-bottom: 1.5rem;
}

.workbanner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.work img:hover {
    opacity: 0.7;
    transition: 0.3s;

}

.subtext {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.7rem;
    padding-top: 2rem;
    color: #a52a2a;
}


.original-button {
    line-height: 1;
    margin: 1.5rem auto 0;
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 10px;
    width: 150px;
    font-weight: bold;
    transition: 0.3s;
    background-color: [object object];
    background-image: radial-gradient(circle at 100% 0%, rgb(129, 18, 18) 15%, rgb(251, 103, 58)), radial-gradient(circle, rgb(143, 9, 85) 5%, rgb(172, 51, 209) 55%, rgb(255, 133, 133) 100%, rgba(60, 217, 241, 1));
}

.original-button a {
    color: #f5f5dc;
}

.original-button:hover {
    opacity: .5;
}

.nartex-img>a {
    width: 300px;
    margin: 0 auto;
}

.nartex-img img {
    width: 100%;
    box-shadow: 2px 5px 5px black;
}

/* footer---------------------------------------------------- */

footer {
    background-color: #4a240a;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}


small {
    text-align: center;
    color: #f5f5dc;
}

small ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
}


/* about------------------------------- */

.aboutbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1rem;
}


.aboutttl {
    font-weight: bold;
    font-size: 1rem;
}

.abouttext {
    line-height: 2rem;
    font-size: 0.8rem;
}


/* skill----------------------------------------- */

.big-box {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

#skill h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}

.box {
    height: 200px;
    position: relative;
    margin: 0 auto;
    border: 1px solid #a52a2a;
    border-radius: 5px;
}

.box .box-title {
    background-color: #a52a2a;
    color: #f5f5dc;
    border: 1px solid #f5f5dc;
    padding: 0.1rem 1rem;
    position: absolute;
    top: -0.8rem;
    left: 1rem;
    display: inline-block;
    font-size: 1rem;
    border-radius: 5px;
    width: auto;
    max-width: calc(100% - 2rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box .box-content {
    padding: 3rem 2rem 2rem;
}

.box p {
    margin: 0;
    font-size: clamp(15px, 1vw, );
    color: #a52a2a;

}


/* strengths-------------------------------------- */

#strengths {
    text-align: center;
}

.strengths-box {
    margin: 0 auto;
    border: 1px solid #a52a2a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}

.strengths-box:nth-child(2),
.strengths-box:nth-child(3){
    margin-bottom: 2rem;
}

.strengths-box .strengths-box-title {
    font-size: 1.2em;
    background-color: #a52a2a;
    padding: 4px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.strengths-box-title h3 {
    color: #f5f5dc;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.457);

}

.strengths-box p {
    padding: 2rem;
    margin: 0;
    font-size: clamp(15px, 1vw, 25px);
    line-height: 2.5rem;
}

.movie-text,
.illustration-text {
    text-align: center;
    margin-bottom: 2rem;
    font: 0.8rem;
}

.slider-youtube {
    text-align: center;
}

.slider-nav {
    max-width: 1100px;
    width: 80%;
    margin: 30px auto 0 auto;
}

.slider-nav .slick-list img {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

.slider-nav .slick-list img:hover {
    cursor: pointer;
    opacity: .6;
    transition: .6s;
}

/* biography----------------------------------- */

.biography-box {
    max-width: 100%;
    border: 1px solid #a52a2a;
    padding: 2rem;
}

.biography-data {
    margin-bottom: 2rem;
}

time {
    color: #a52a2a;
    font-weight: bold;
}

.biography p {
    margin-bottom: 2rem;
    font-size: 0.8rem;
}


/* works page------------------------------------ */

.works-box{
    margin-top: 55px;
}

.mock-up-img {
    text-align: center;
}

.workpage01 {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    line-height: 2rem;
    padding: 1rem;
    border-bottom: 1px dotted #a52a2a;

}

.workpage01:last-child {
    border-bottom: none;
}

.workpage01 h3 {
    display: inline;
    color: #a52a2a;
    width: 20%;
}

.workpage01 a {
    color: #a52a2a;
    font-weight: normal;
    font-size: 0.8rem;
    border-bottom: 1px solid #a52a2a;
}

.workpage01 p {
    width: 60%;
}

.mock-up img {
    width: 600px;
    margin: 0 auto;
}

.recurrent-banner {
    margin-bottom: 2rem;
}

.recurrent-banner p {
    font-size: 1.5rem;
}

.banner img {
    width: 500px;
    margin: 0 auto;
}

.nartex-a img {
    width: 300px;
    box-shadow: 1px 3px 5px black;
}

.recurrent-img img {
     box-shadow: 1px 3px 5px black;
}



@media(max-width:960px) {

    .light-img-pc {
        display: none;
    }

    .light-img {
        display: block;
    }

    img {
        width: 100%;
    }

    .topttl {
        font-size: 0.8rem;
    }

    iframe {
        width: 100%;
    }

    #works-top,
    section,
    aside,
    .works-box {
        width: 80%;
        margin: 0 auto;
    }

    /* work------------------------- */
    
    .work img {
        width: 300px;
    }

    .bannerimg img {
        width: 200px;
    }

    .worktext {
        margin-top: 0;

    }

    .nartex-img>a {
        width: 150px;
        margin: 0 auto;
    }

    .nartex-img img {
        width: 100%;
        box-shadow: 2px 5px 5px black;
    }



    .aboutbox {
        grid-template-columns: repeat(1, 1fr);
        text-align: left;

    }


    .about {
        font-size: 0.8rem;
    }

    .works-box {
        margin-top: 5rem;
    }

    /* skill---------------------------- */

    .box {
        width: 100%;
        height: 180px;
    }

    .box p {
        font-size: 1rem;

    }

    .box .box-content {
        padding: 2rem;
    }

}

/* media */

@media(max-width:767px) {


    main {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .top img {
        display: none;
    }

    iframe {
        width: 100%;
    }

    .topttl {
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    #works-top,
    section,
    aside,
    .works-box {
        width: 90%;
        margin: 0 auto;
    }

    .header {
        position: sticky;
        height: 0;
        background-color: transparent;
        top: 30px;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
    }


    .drawer-btn {
        display: block;
        position: absolute;
        width: 2.5rem;
        height: 2.5rem;
        border: none;
        cursor: pointer;
        border: none;
        z-index: 999;
        border-radius: 50px;
        margin-left: 89%;
    }

    .drawer-btn:hover {
        background-color: #ed9292;
        opacity: .7;
        transition: all .7s;
    }

    .drawer-btn>span {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 1.5rem;
        height: 2px;
        background-color: #032744;
        transform: translateX(-50%);
        transition: all .5s;
    }


    .drawer-btn>span:first-child {
        transform: translate(-50%, calc(-50% - 0.5rem));
        transition: transform 0.4s ease;
    }

    .drawer-btn>span:nth-child(2) {
        transform: translate(-50%, -50%);
        transition: opacity 0.4s ease;
    }

    .drawer-btn>span:last-child {
        transform: translate(-50%, calc(-50% + 0.5rem));
        transition: transform 0.4s ease;
    }


    .drawer-btn.is-active>span:first-child {
        transform: translate(-50%, -50%) rotate(-45deg);

    }

    .drawer-btn.is-active>span:nth-child(2) {
        opacity: 0;
    }

    .drawer-btn.is-active>span:last-child {
        transform: translate(-50%, -50%) rotate(45deg);

    }


    .drawer-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .drawer-nav-item {
        display: block;
    }

    .drawer-nav-item2 {
        display: none;

    }

    .drawer-nav.is-active {
        opacity: 1;
        visibility: visible;
    }

    .drawer-nav-inner {
        position: relative;
        width: 80%;
        height: 100vh;
        background-color: #f5f5dc;
        padding: 4rem 1.5rem 1rem;
        margin: 0 0 0 auto;
        overflow: scroll;
        transform: translateX(100%);
        transition: all 0.5s;

    }

    .drawer-nav.is-active .drawer-nav-inner {
        transform: translateX(0);
        transition: transform 0.5s ease;
    }

    .drawer-nav-menu {
        list-style: none;
        text-align: center;
    }

    .drawer-nav-link {
        text-decoration: none;
        color: #a52a2a;
        padding: 1rem 1rem;
    }

    .drawer-nav-link:hover {
        color: #032744;
        opacity: .6;
        transition: .6s;
    }

    .drawer-nav-link img {
        width: 150px;
    }

    body.is-active {
        height: 100%;
        overflow: hidden;
    }

    .work {
        grid-template-columns: repeat(1, 1fr);

    }

    .worktext {
        margin-top: 0;

    }

    /* works page------------------------------------------------  */

    .workpage01 {
        flex-direction: column;
        line-height: 2rem;
        padding: 1rem;

    }

    .workpage01 h3 {
        display: inline;
        width: 100%;
    }

    .workpage01 p {
        width: 100%;
    }

    .mock-up img {
        width: 300px;
        margin: 0 auto;
    }

    .banner img {
        width: 300px;
        margin: 0 auto;
    }

    .nartex-a img {
        width: 150px;
        box-shadow: 1px 3px 5px black;
    }

    /* about --------------------------------------------------*/

    .about-page {
        margin: -30px auto 0;
    }


    /* skill-------------------------------------------------- */

    .big-box {
        grid-template-columns: repeat(1, 1fr);
    }

    .box {
        height: 130px;
    }

    .box p {
        font-size: 0.8rem;

    }

    /* strengths--------------------------------------------- */

    .strengthstext p {
        margin-top: 1rem;
        line-height: 2rem;
        font-size: 14px;
    }

    .slider-nav {
        max-width: 400px;
        width: 80%;
        margin: 30px auto 0 auto;
    }

    .slider-nav .slick-list img {
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
    }

    .slider-nav .slick-list img:hover {
        cursor: pointer;
        opacity: .6;
        transition: .6s;
    }

    #biography {
        text-align: left;
    }

    .biography-data {
        font-size: 0.8rem;
    }

    time {
        font-size: 13px;
    }

}


@media(max-width:428px) {

    .topttl {
        margin: 1rem auto 1rem;
    }

    p {
        font-size: 0.8rem;
    }

    .drawer-btn {
        margin-left: 85%;
    }

    .aboutttl {
        font-size: 1rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    main {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
}


.content {
    opacity: 0;
}

.content.inview {
    animation-name: fade-in;
    animation-duration: .5s;
    animation-timing-function: ease-in-out;
    animation-delay: .3s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: forwards;
}

@keyframes fade-in {
    0% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

/* popup------------------------------------------ */

.popup:hover {
    opacity: 0.7;
    transition: .5s;
}

/* popup_content */
.popup_bg {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(82, 64, 64, 0.8);
    transition: 0.4s;
    z-index: 1000;
}

.popup_content {
    position: relative;
}

.popup_box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1001;
    width: 490px;
    padding: 20px;
    background-color: #f5f5dc;
}

.popup_box .tit {
    text-align: center;
    margin: 0 auto 20px;
}

.popup_box img {
    width: 100%;
    margin-bottom: 20px;
}

.popup_open img:hover {
    opacity: .7;
    transition: .6s;
}

.popup_box h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* popup_nav */

.popup_nav .prev {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    width: 30px;
    height: auto;
    z-index: 130;
}

.popup_nav .next {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 30px;
    height: auto;
}

.popup_nav .prev.disabled,
.popup_nav .next.disabled {
    display: none;
}

/*--close btn--*/

.popup_close {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 120;
}

.popup_close:hover {
    opacity: .6;
    transition: .6s;
}

.popup_close span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-indent: 100%;
    width: 30px;
    height: 2px;
    background: #032744;
    position: absolute;
    left: 50%;
    top: 50%;
}

.popup_close span:nth-child(1) {
    transform: translate(-50%, 50%) rotate(45deg);
}

.popup_close span:nth-child(2) {
    transform: translate(-50%, 50%) rotate(-45deg);
}

@media screen and (max-width : 600px) {
    .popup_box {
        width: 80%;
        height: auto;
        margin: 0 auto;
        background: #f5f5dc;
    }
}


/* ダークモード------------------------------------------ */


@media (prefers-color-scheme: dark) {

    body {
        color: #a8c1da;
        background-color: #032744;
    }

    .dark-logo img,
    .dark-img-pc,
    .dark-mock-up {
        display: block;
    }

    .dark-img-pc {
        margin-top: 45px;
    }

    .light-logo img,
    .light-img,
    .light-img-pc,
    .light-mock-up {
        display: none;
    }

    .start {
        background: #032744;
    }

    li {
        list-style: none;
    }

    a {
        color: #D9D9D9;
    }

    .border_style {
        border: 1px solid #a8c1da;
        border-image: linear-gradient(to right, #7f7fff, #a8c1da) 1;
    }

    .border_style::before,
    .border_style::after {
        content: "";
        display: block;
        position: absolute;
        width: 40px;
        height: 40px;
        background: #032744;
    }

    .border_style::before {
        left: -25px;
        bottom: -25px;
        border-right: 1px solid #a8c1da;
        transform: rotate(-45deg);
        border-image: linear-gradient(to right, #7f7fff, #a8c1da, #7bb8f4) 1;

    }

    .border_style::after {
        right: -25px;
        top: -25px;
        border-left: 1px solid #a8c1da;
        transform: rotate(-45deg);
        border-image: linear-gradient(to left, #7f7fff, #a8c1da, #7bb8f4) 1;
    }

    *,
    ::before,
    ::after {
        box-sizing: border-box;
    }

    header {
        background-image: url(./img/header-img.jpg);
        background-position: center;
        background-size: cover;
    }

    .header {
        background-color: #032744;
    }

    .drawer-nav-link {
        font-family: "Zen Dots", sans-serif;
    }

    .drawer-navpc a:hover {
        color: #a52a2a;
    }

    .drawer-navpc a:hover {
        color: #a52a2a;
    }

    /* works--------------------------------------------- */
    .topttl {
        font-family: "Doto", sans-serif;
        font-weight: bold;
    }

    .work {
        border-bottom: 1px dotted #a8c1da;
    }

    .worklink a {
        border-bottom: 1px solid #a8c1da;
        color: #a8c1da;
    }

    .worklink a:hover {
        color: #a52a2a;
        border-bottom: 1px solid #a52a2a;
    }

    .subtext {
        color: rgb(168, 193, 218);
    }

    .original-button {
        background-image: radial-gradient(circle at 100% 0%, rgba(48, 134, 197, 1) 15%, rgba(61, 232, 243, 1)), radial-gradient(circle, rgba(78, 9, 143, 1) 5%, rgba(51, 157, 209, 1) 55%, rgba(64, 243, 255, 1) 100%, rgba(60, 217, 241, 1));
    }

    .original-button a {
        color: #032744;
    }

    /* footer---------------------------------------------------- */
    footer {
        background-color: #021525;
    }

    small {
        color: #D9D9D9;
    }

    /* about---------------------------------------------- */

    .light-about-img {
        display: none;
    }

    .dark-about-img {
        display: block;
    }

    /* skill----------------------------------------- */


    .box {
        background-color: #a8c1da;
        border: none;
    }

    .box .box-title {
        background-color: rgb(3, 39, 68);
        color: #a8c1da;
        border: 1px solid #7bb8f4;

    }

    .box p {
        color: #032744;
    }

    /* strengths-------------------------------------- */

    .strengths-box {
        background: #021525;
        border: none;
    }

    .strengths-box .strengths-box-title {
        background-image: url(./img/header-img.jpg);
        background-size: cover;
        background-position: center;
    }

    .strengths-box-title h3 {
        color: #a8c1da;
    }

    /* biography----------------------------------- */

    .biography-box {
        background-color: #021525;
        border: none;
    }

    time {
        color: #a8c1da;
    }


    /* works page------------------------------------------------  */

    .workpage01 {
        border-bottom: 1px dotted #a8c1da;
    }

    .workpage01 a {
        color: #a8c1da;
        border-bottom: 1px solid #a8c1da;
    }

    .workpage01 h3 {
        color: #a8c1da;
    }

    /* media */

    @media(max-width:960px) {

        .dark-img-pc {
            display: none;
        }

        .dark-img {
            display: block;
        }

    }

    @media(max-width:767px) {


        .top img {
            display: none;
        }

        .drawer-btn:hover {
            background-color: #a8c1da;
        }

        .drawer-btn>span {
            background-color: rgb(165, 42, 42);
        }

        .drawer-nav-inner {
            background-color: #032744;
        }

        .drawer-nav-link {
            padding: 1rem 1rem;
            color: #D9D9D9;
        }

        .drawer-nav-link:hover {
            color: #a52a2a;
        }

    }


    /* popup_content */
    .popup_bg {
        background: rgba(64, 73, 82, 0.8);
    }

    .popup_box {
        background-color: #021525;
    }

    .popup_close span {
        background: #a52a2a;
    }

    @media screen and (max-width : 600px) {
        .popup_box {
            background: #032744;
        }
    }

}