/*-------------------------------------------
Header
-------------------------------------------*/
/* menu-open時にスクロール不可 */

html.no-scroll,
body.no-scroll {
    overflow: hidden;
    height: 100%;
}


#header {
    display: flex;
    height: 72px;
    padding: 0 16px 0 10px;
    justify-content: space-between;
    background: var(--white);
    align-items: center;
    z-index: 1001;
    position: fixed;
    width: 100%;
}

#header .hd-ttl {
    display: flex;
    align-items: center;
    gap: 8px;
}

#header .hd-ttl img {
    width: 88px;
    height: auto;
}

#header .hd-ttl .hd-sub {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    color: var(--primary);
    text-transform: uppercase;
}

@media(min-width:992px) {
    #header {
        flex-direction: column;
        justify-content: flex-start;
        width: 140px;
        height: 100%;
        border-right: 1px solid var(--gray);
    }

    #header .hd-ttl {
        flex-direction: column;
        margin: 24px 0 32px;
    }
}

/*-------------------------------------------
Hamburger
-------------------------------------------*/
.btn-menu {
    width: 56px;
    height: 56px;
    color: var(--primary);
    border-radius: 50%;
    border: 1px solid var(--primary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-menu__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1;
}

.hamburger {
    display: block;
    position: relative;
    margin-top: 6px;
    width: 24px;
    height: 8px;
}

.hamburger span {
    position: absolute;
    background-image: var(--gradation);
    height: 2px;
    border-radius: 1px;
    transition: all 0.3s ease-in-out;
}

.hamburger span:nth-of-type(1) {
    width: 24px;
    top: 0px;
}

.hamburger span:nth-of-type(2) {
    width: 16px;
    bottom: 0px;
}

.btn-menu.open .hamburger span:nth-of-type(1) {
    transform: rotate(20deg);
    top: 4px;
    width: 24px;
}

.btn-menu.open .hamburger span:nth-of-type(2) {
    transform: rotate(-20deg);
    bottom: 2px;
    width: 24px;
}

.nav-list {
    background: var(--white);
    position: absolute;
    z-index: 1000;
    top: 72px;
    right: 0;
    overflow-x: hidden;
    text-align: center;
    width: 100%;
    max-width: 480px;
    height: 100svh;
    padding: 8%;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    text-transform: uppercase;
}

.nav-list.open-menu {
    transform: translate(0);
}

.nav-list ul {
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.nav-list ul li a {
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid var(--gray);
    padding: 0 16px 8px;
    display: flex;
    justify-content: space-between;
}

.nav-list ul li span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.1;
}

.pj-btn {
    font-weight: 700;
    font-size: 14px;
    background-image: var(--gradation);
    margin-top: 40px;
    padding: 20px 32px;
    border-radius: 8px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.pj-btn span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.pj-btn span:before {
    content: "";
    display: inline-block;
    background-image: url('../images/icon_lock.svg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

@media(min-width:992px) {
    .btn-menu {
        min-width: 88px;
        min-height: 88px;
    }

    .btn-menu:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .nav-list {
        transform: translateX(-100%);
        width: 480px;
        height: auto;
        border-left: 1px solid var(--gray);
        padding: 48px 80px 64px;
        border-radius: 0 32px 32px 0;
    }

    .pj-btn-area {
        display: none;
    }

    .nav-list li a {
        transition: transform 0.3s ease, font-size 0.3s ease;
    }

    .nav-list li a:hover {
        color: var(--primary);
        transform: translateY(3px);
    }

    .nav-list ul li span {
        font-size: 24px;
    }

    .nav-list.open-menu {
        transform: translate(100%);
    }
}

/*-------------------------------------------
MV
-------------------------------------------*/
.mv-inner {
    padding: 16px 8%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.mv-inner .ttl-m {
    position: absolute;
    z-index: 2;
}

.mv__slide__item {
    padding-top: 40px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: flex-end;
}

.mv__slide-catch-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.mv__slide-catch {
    display: inline-block;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 72px;
    -webkit-text-stroke: 1px var(--primary);
    text-stroke: 1px var(--primary);
    color: var(--white);
    text-transform: none;
    overflow: hidden;
    line-height: 1.4;
    position: relative;
    padding-right: 32px;
    animation: marqueeLeft 10s linear infinite;
}

/* mv__slide-catch_animation */
@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
        /* 完全に左の外 */
    }

    100% {
        transform: translateX(-100%);
        /* 完全に右の外 */
    }
}

/*-------------------------------------------
MV-Slide
-------------------------------------------*/
/* ページ番号 */
.mv__page {
    display: flex;
    padding: 0 8%;
    gap: 16px;
    justify-content: flex-end;
    align-items: center;
}

.mv__page__number {
    font-family: 'Poppins', sans-serif;
    display: flex;
    gap: 8px;
    align-items: baseline;
    line-height: 1;
}

.mv__page__number li {
    text-align: center;
}

.mv__page__number li:first-child {
    font-size: 40px;
    width: 50px;
}

.mv__page__number li:last-child {
    font-size: 20px;
    color: var(--dark-gray);
    width: 26px;
}

.mv__slide__item .mv-catch {
    height: auto;
    min-width: 40px;
}

.mv__slide__item .mv-img {
    display: block;
    width: 280px;
    height: 280px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* MVスライドアニメーション */
.mv-slides-wrap {
    position: relative;
    width: 100%;
}

.mv-slide-height-wrap {
    height: 320px;
}

.mv__slide {
    width: 100%;
    padding: 0 8%;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.mv__slide.active {
    opacity: 1;
    position: relative;
}

/* 下から上のアニメーション */
.fadeUp {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 1.6s ease forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* ページボタン */
.mv__page__btn {
    display: flex;
}

.mv__page__btn img {
    width: 20px;
    height: 20px;
}

.stop-position {
    cursor: pointer;
}

@media(min-width:992px) {
    .mv-inner {
        justify-content: center;
        align-items: stretch;
        margin-left: 100px;
    }

    .mv-inner .ttl-m {
        top: 40px;
        left: 0;
    }

    .mv-slides-wrap {
        width: 456px;
    }

    .mv__slide__item {
        padding-top: 0;
    }

    .mv__slide__item .mv-img {
        width: 400px;
        height: 400px;
    }

    .mv-area {
        padding-top: 40px;
    }

    .mv-inner {
        flex-direction: row;
    }

    .mv__slide {
        order: 1;
        padding: 0;
        width: fit-content;
    }

    .mv__page {
        order: 2;
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .mv__slide-catch {
        font-size: 100px;
    }

    .mv-slide-height-wrap {
        height: 400px;
    }

    .stop-position img:hover {
        opacity: 0.5;
        transition: 0.3s;
    }
}

/*-------------------------------------------
PC-NAV-TOP
-------------------------------------------*/
.nav-top {
    font-family: 'Poppins', sans-serif;
    display: flex;
    font-weight: 600;
    text-transform: uppercase;
    justify-content: center;
    padding-top: 40px;
}

.nav-top ul {
    display: flex;
    gap: 24px;
}

.nav-top ul li a {
    position: relative;
    padding-left: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.nav-top ul li a:hover {
    color: var(--primary);
    transform: translateY(3px);
}

.nav-top ul li a::after {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: 0;
    display: inline-block;
    background-image: url(../images/icon_keyboard_arrow_down.svg);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    transform: translateY(-50%) translateY(0);

}

.nav-top ul li a:hover::after {
    transform: translateY(-50%) translateY(1px);
    /* 矢印を少し上に移動 */
}

/*-------------------------------------------
PROFILE
-------------------------------------------*/
#profile {
    background: var(--pale-gray);
    padding: 64px 8% 56px;
}

.profile__hd {
    padding-bottom: 16px;
    text-align: center;
}

.profile__hd__img {
    width: 240px;
    height: 240px;
}

#profile .catch {
    top: -10px;
    left: 140px;
}

.sec-lead {
    font-size: 24px;
    line-height: 1.6;
    padding-bottom: 16px;
}

.profile__text ul {
    display: flex;
    justify-content: center;
    padding-top: 40px;
    max-width: 440px;
    margin: 0 auto;
}

.profile__text ul li {
    background-color: var(--white);
    border-radius: 50%;
    width: 132px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 -8px;
}

.profile__text ul li img {
    max-width: 84%;
    max-height: 84%;
    height: auto;
    width: auto;
}

@media(min-width:992px) {
    #profile {
        padding: 100px 8%;
    }

    #profile .inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .profile__hd {
        width: 40%;
        min-width: 280px;
        padding-bottom: 0;
    }

    .profile__hd__img {
        width: 400px;
        height: 400px;
    }

    .profile__text {
        margin-left: 40px;
        max-width: 50%;
    }

    .profile__text ul {
        gap: 16px;
    }

    .profile__text ul li {
        margin: 0;
    }

    .sec-lead {
        padding-bottom: 32px;
    }

}

/*-------------------------------------------
SKILL
-------------------------------------------*/
#skill .catch {
    top: 88px;
    left: 24px;
}

#skill .inner {
    max-width: 400px;
}

.skill__hd {
    padding: 64px 8% 0;
    display: flex;
    justify-content: space-between;
}

.skill__hd__img {
    width: 180px;
    height: 180px;
}

@media(min-width:992px) {
    .skill__hd {
        padding: 120px 8% 0;
    }

    #skill .catch {
        top: 28px;
        left: -100px;
    }
}

/*-------------------------------------------
TAB
-------------------------------------------*/
.skill-tab__list {
    display: flex;
    gap: 24px;
    padding: 0 24px;
}

.skill-tab__list button {
    max-width: 560px;
    gap: 8px;
}

.skill-tab {
    margin-top: 8px;
    padding: 24px 4%;
    background: var(--gradation);
}

.skill-tab-ttl {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    line-height: 1.3;
    gap: 16px;
}

.skill-tab__item {
    background: var(--white);
    border-radius: 8px;
    padding: 32px 24px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.skill-tab-name {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: none;
    align-items: center;
    line-height: 1;
    display: flex;
    padding: 8px 16px;
    border-radius: 8px 8px 0 0;
    border: 2px solid var(--white);
    color: var(--white);
    border-bottom: none;
    transition: transform 0.25s ease, color 0.25s ease;
}

.skill-tab-name:hover svg path {
    fill: currentColor;
}

.skill-tab-name.active {
    background-color: var(--white);
    color: var(--primary);
}

.skill-tab-name img {
    width: 32px;
    height: 32px;
    margin-right: 4px;
}

.skill-tab-ttl__img {
    aspect-ratio: 1 / 1;
    width: 56px;
    height: auto;
    background: var(--pale-gray);
    padding: 8px;
    border-radius: 50%;
}

.skill-tab__item p {
    font-size: 14px;
    line-height: 1.8;
}

.skill-tab__item article {
    padding-bottom: 16px;
    margin: 0 auto 16px;
    border-bottom: 1px solid var(--primary);
    max-width: 560px;
}

.skill-tab__item article:last-child {
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
}

.skill-tab__item.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@media(min-width:992px) {
    .skill-tab__item article {
        max-width: none;
        gap: 32px;
        flex: 1;
    }

    .skill-tab__item.active {
        display: flex;
    }

    .skill-tab__item {
        padding: 40px;
    }

    .skill-tab-name:hover {
        background: var(--white);
        color: var(--primary);
    }

    .skill-tab__item article {
        border-bottom: none;
        margin: 0 32px 0 0;
        border-right: 1px solid var(--primary);
        padding-right: 32px;
        padding-bottom: 0;
    }

    .skill-tab__item article:last-child {
        border: none;
        padding-right: 0;
        margin-right: 0;
    }

    .skill-tab {
        padding: 40px;
    }
}

/*-------------------------------------------
TOOL
-------------------------------------------*/
.tool {
    padding: 40px 8%;
}

#skill .tool .inner {
    max-width: 560px;
}

.tool_ttl {
    color: var(--primary);
    font-size: 20px;
}

.tool_ttl::before {
    content: "";
    display: inline-block;
    background-image: url(../images/icon_trip_origin.svg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.tool_list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 80px);
    gap: 16px 32px;
    justify-content: center;
}

.tool_list dl {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool_list dl dt {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    gap: 4px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 4px;
}

.tool_list dl dd {
    display: flex;
}

.tool_list dl dd img {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 0 2px 0 0;
    vertical-align: middle;
}

@media(min-width:992px) {
    #skill .tool .inner {
        max-width: none;
    }

    .tool {
        padding: 64px 8% 120px;
    }
}

/*-------------------------------------------
WORKS
-------------------------------------------*/
#works {
    background-image: url(../images/img_works_bk.jpg);
    background-size: cover;
    padding: 64px 8%;
}

#works .sec-ttl {
    width: 280px;
    align-items: center;
    margin: 0 auto 24px;
}

#works .sec-ttl__en {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

#works .sec-ttl .catch {
    right: 28px;
    top: 16px;
}

.works-lead {
    color: var(--white);
    text-align: left;
}

/* works-card */
.works-card {
    background: var(--white);
    border-radius: 16px;
    margin-top: 40px;
    padding: 32px 0;
}

.works-card__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-card__text {
    text-align: center;
    width: 100%;
}

.works-card__text-list {
    padding: 16px 32px;
    background: var(--pale-gray);
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--main);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: left;
}

.works-card__text-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
}

.works-card__text-list li span {
    font-size: 13px;
    line-height: 1;
    color: var(--primary);
    background-color: var(--white);
    border: 1px solid var(--primary);
    text-align: center;
    padding: 2px 0;
    width: 80px;
}

.works-card__text-type {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 16px;
    border-radius: 16px;
    color: var(--white);
    background: var(--primary);
}

.works-card__text-ttl {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    color: var(--primary);
    margin: 16px 0;
}

.works-card__img {
    padding: 0 32px;
}

.works-card__img picture {
    aspect-ratio: 3 / 2;
    max-width: 400px;
    width: 100%;
    display: block;
    margin: 0 auto 16px;
}

.works-card__img img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.works-card .url {
    padding: 0 32px;
}

/* Media query  */
@media(min-width:992px) {
    #works {
        padding: 120px 8%;
    }

    #works .sec-ttl {
        width: 320px;
        margin: 0 auto 32px;
    }

    .works-lead {
        text-align: center;
    }

    .works-card {
        padding: 40px 0;
    }

    .works-card__inner {
        flex-direction: row-reverse;
        gap: 40px;
        padding: 0 40px;
    }

    .works-card__text-list {
        padding: 24px;
        border-radius: 8px;
        margin-bottom: 0;
    }

    .works-card__text-list li {
        flex-direction: row;
        gap: 8px;
    }

    .works-card__text-list li span {
        height: fit-content;
        flex-shrink: 0;
    }

    .works-card__text {
        text-align: left;
        width: 55%;
    }

    .works-card__img {
        padding: 0;
        width: 40%;
    }

    .works-card .url {
        padding: 0 40px;
    }

}

/* Hover Animation */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .works-card a:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .works-card a:hover .works-card__img img {
        transform: translateY(-6px) scale(1.02);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
    }

    .works-card a:hover .url {
        color: var(--primary);
        transform: translateY(-6px);
    }
}

/*-------------------------------------------
SIDE-pj-btn
-------------------------------------------*/
.side__pj-btn-area {
    display: none;
}

@media(min-width:992px) {
    .side__pj-btn-area {
        display: flex;
        flex-direction: column;
        position: fixed;
        width: 140px;
        right: 0;
        top: 0;
        height: 100%;
        background: var(--white);
        z-index: 700;
        border-left: 1px solid var(--gray);
        padding: 24px 16px 8px;
    }

    .side__pj-btn-area .pj-btn {
        padding: 12px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--white);
        font-size: 14px;
        font-weight: 700;
        margin-top: 0;
        background: linear-gradient(90deg, #B00012 0%, #FF6164 50%, #B00012 100%);
        background-size: 200% 100%;
        transition: all 0.3s ease;
    }

    .pj-btn span {
        text-transform: uppercase;
        display: block;
        font-size: 15px;
    }

    .pj-btn:hover {
        background-position: 100% 0;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
}