@charset "UTF-8";

/* ===== common ===== */
:root {
    --primary-charcoalgray: #4E454A;
    --primary-yellow: #FAF7F3;
   
}

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

body {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    color: #4E454A;
    background-color:var(--primary-yellow);


}

.Topics {
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 1.3;
}

/* ===== header ===== */
.header {
    position: relative;
    border-bottom: 0.3px solid #eee;
    z-index: 10;
}

.header_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}

.logo {
    font-size: 3.6rem;
    text-decoration: none;
    color: #4E454A;
}

.pc-menu {
    display: none;
}


/* ===== header PC ===== */
@media screen and (min-width:769px) {
    .header {
        padding: 0 140px;
        border-bottom: 1px solid rgba(63, 59, 58, 0.2);
    }


    .menu-btn {
        display: none;
    }

    .pc-menu {
        display: block;

    }

    .pc-nav_list {
        display: flex;
        justify-content: flex-end;
        font-size: 1.6rem;
        gap: 24px;
    }

}

/* pc 769px */

/* ===== menu button（2本線） ===== */
.menu-btn {
    width: 25px;
    height: 14px;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 100;
}

.menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-charcoalgray);
    transition: transform 0.3s ease, top 0.3s ease;
}

.menu-btn span:nth-child(1) {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 10px;
}

/* × 変形 */
.menu-btn.is-open span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.menu-btn.is-open span:nth-child(2) {
    top: 6px;
    transform: rotate(-45deg);
}

/* ===== sp menu ===== */
.sp-menu {
    position: absolute;
    top: 100%;
    right: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.sp-menu.is-open {
    max-height: 240px;
}

.nav_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav_list a {
    display: block;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--primary-charcoalgray);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
}

.nav_list li {
    text-align: end;
    background: transparent;
}

/* main */
.main {
    margin-top: 56px;
}

.mv-sp{
    position: relative;
    width: 100%;
    height: 535px;
    object-fit: cover;
    object-position:70%;
}

.m-txt{
    writing-mode: vertical-rl;
    font-size: 1.6rem;
    font-family: Noto Serif JP;
    font-weight: 2;
    letter-spacing: 1em;
    pointer-events: none;
}

.mainvisual-txt1{
    position: absolute;
    top: 33%;
    right:8%;
}
.mainvisual-txt2{
    position: absolute;
    top: 33%;
    right:20%;
}
.mainvisual-txt3{
    position: absolute;
    top: 33%;
    right:32%;
}

.mainImg-pc{
    display: none;
}

/* main pc */
@media screen and (min-width:769px) {
  .mainImg-pc{
        display: block;
    }
  .mv-pc{
    width: 100%;
    height:623px;
    object-fit: cover;
  }

  .mainImg-sp{
    display: none;
  }

  .m-txt{
    font-size: 2rem;
  }

  .mainvisual-txt1{
    position: absolute;
    top: 30%;
    right:12%;
}
.mainvisual-txt2{
    position: absolute;
    top: 30%;
    right:16%;
}
.mainvisual-txt3{
    position: absolute;
    top:30%;
    right:20%;
}
}

/* pc 769px */


/* works */
.section--works {
    margin-top: 56px;
    gap: 16px;
    display: flex;
    align-items: baseline;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid rgba(63, 59, 58, 0.2);

}
.workslist{
    margin-top: 64px;
}

.txt{
    margin-top:24px;
}

.btn {
    display: flex;
    gap: 16px;
}

.mockup{
    width: 100%;
    height: auto;
}


.btn-Graphic,
.btn-web {
    display: inline-block;
    line-height: 1.2;
    font-size: 1.6rem;
    padding: 2px 27px;
    color: var(--primary-charcoalgray);
    background-color:#fdfdfd;
    border: solid 1px rgba(63, 59, 58, 0.2);
    border-radius: 50px;
    transition: background-color 0.4s ease, color 0.4s ease;

}

.btn-Graphic:hover,
.btn-web:hover {
    background-color: rgba(63, 59, 58, 0.2);
}

/* main pc */
@media screen and (min-width:769px) {
    .section--Works {
        padding: 0 140px;

    }
}

/* モックアップ  web*/
.workslist {
    padding: 0 14px;
    border-bottom: 1px solid rgba(63, 59, 58, 0.2);
}






.txt {
    font-size: 1.6rem;
    padding: 0 58px;
}



.mockup-day {
    margin-top: 3px;
    display: inline-block;
    text-decoration-line: overline;
    text-decoration-style: dashed;
    text-decoration-color: rgba(63, 59, 58, 0.2);
    text-underline-offset: 6px;
    font-family: "Noto Serif JP", serif;
    font-size: 1.2rem;
}

.title {
    margin-top: 8px;
    padding: 3px 0;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: 2rem;
    border-top: 1px solid rgba(63, 59, 58, 0.2);
    border-bottom: 1px solid rgba(63, 59, 58, 0.2);
}

.mention {
    margin-top: 24px;
    font-family: "Noto Serif JP", serif;
    line-height: 1.5;
}

.weburl {
    position: relative;
    display:block;
    margin-top: 16px;
    font-family: "Noto Serif JP", serif;
    font-size: 1.6rem;
}

.weburl::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: rgba(63, 59, 58, 0.4);

    /* 初期状態：見えない */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* hover時 */
.weburl:hover::after {
    transform: scaleX(1);
}

.viewmore {
    display: inline-flex;
    margin-top: 56px;
    margin-bottom: 64px;
    padding: 16px 43px;
    align-items: center;
    font-family: "Noto Serif JP", serif;
    font-size: 2rem;
    gap: 12px;
    background-color: var(--primary-white);
    border: 1px solid rgba(63, 59, 58, 0.2);
    transition: background-color 0.4s ease, color 0.4s ease;

}

.viewmore:hover {
    background-color: rgba(63, 59, 58, 0.2);

}




/*　Web pc */
@media screen and (min-width:769px) {
    .workslist {
        display: flex;
        justify-content: center;
        padding: 64px 0;
    }


    .mockup {
        width: 50%;
        height:auto;
        object-fit: cover;
    }



    .txt {
        padding: 64px 0 0 36px;
    }

    .weburl {
        display: block;
    }


}

/* pc 769px */

/* モックアップ  Graphic*/

.works-Graphic {
    margin-top: 64px;
}


.koka {
    margin-top: 64px;
}

/* ===== Koka slider ===== */




/*　Graphic pc */
@media screen and (min-width:769px) {
    .works-Graphic {
        align-items: center;
        justify-content: center;

    }

    .works-Graphic .workslist:first-child {
        margin: 120px 0;

    }

    .works-Graphic .workslist:first-child .mockup {
        display: flex;
        justify-content: center;
        max-width: 85vh;
        height:auto;
    }


    .koka {
        padding: 0 0 30px 0;
        display: flex;
        align-items: center;
        gap: 80px;
    }








}

/* pc 769px */

/*  about me */
.section--aboutme {
    margin-top: 120px;
    padding: 0 14px;
}

.profile {
    width: 100%;
    height: auto;
}

.name {
    margin-top: 24px;
    font-size: 2.4rem;
}

.self-introduction {
    margin-top: 24px;
    line-height: 2;
    font-size: 1.6rem;
    font-family: "Noto Serif JP", serif;
}

.space {
    letter-spacing: 0.2em;
}

/*　about me pc */
@media screen and (min-width:769px) {
    .section--aboutme {
        margin: 160px 140px;
        padding: 0;
    }

    .profile {
        width: 30%;
        height: auto;
    }

    .side {
        display: flex;
        gap: 36px;
        align-items: center;
        justify-content: center;
    }

}


/* footer */
.footer {
    position: relative;
    padding: 7px 14px;
    background-color: #F5F1EB;
}




.footer-nav_list {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    font-size: 1.6rem;
}

.copy {
    margin-top: 8px;
    text-align: left;

}


.top-btn {
    display: flex;
    position: absolute;
    right: 14px;
    bottom: -23px;
    width: 60px;
    height: 40px;
    background-image: url(../img/top.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: translateY(-27px);
}

.top-btn span {
    display: block;
    position: relative;
    top: -2px;
    right: -3px;
    transform: rotate(-33deg)
}

/*　footer pc */
@media screen and (min-width:769px) {
    .footer {
        padding: 32px 140px;
    }

    .top-btn {
        height: 70px;
    }


    .footer-nav_list {
        justify-content: flex-end;
    }

    .copy {
        margin-top: 8px;
        text-align: right;

    }

    .top-btn span {
        top: -5px;
        right: -1px;

    }
}