@charset "utf-8";

/* 
主たるブレイクポイント
sp　～600px
tab　601 ～1024px
pc　1025px～
 */

/* ===============================================
    全体の設定
=============================================== */
.content {
    background: url(../img/texture.jpg) repeat;
    padding-top: 64px;
}

/* pc　1025px～ */
@media screen and (min-width:1025px) {
    .content {
        padding-top: 96px;
    }

    /*=======min-width:1025px=======*/
}


/* ===============================================
    メインビジュアル
=============================================== */
.slide-img {
    display: block;
    object-fit: cover;
}

.swiper-fade .swiper-slide {
    transition-property: opacity !important;
}

.mv-sidelogo {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    left: 16px;
    z-index: 1;
}

.mv-sidelogo__img {
    width: 2.213vw;
}

.mv-caption {
    position: absolute;
    right: 16px;
    bottom: 8px;
    z-index: 1;
}

.mv-caption__text {
    color: var(--white);
    font-family: var(--caption-font);
    font-size: var(--text-xxs);
    letter-spacing: 0.05em;
    font-weight: 300;
}

/* sp,tab　～1024px */
@media screen and (max-width:1024px) {
    .mv-inner {
        padding-right: 0;
        padding-left: 0;
    }

    .slide-img {
        aspect-ratio: 4 / 3;
    }

    /*=======max-width:1024px=======*/
}

/* tab 601px～ */
@media screen and (min-width:601px) {
    .mv-sidelogo__img {
        height: 59.018vw;
        width: auto;
    }

    /*=======min-width:601px=======*/
}

/* 800px～ */
@media screen and (min-width:800px) {
    .mv-sidelogo__img {
        max-height: 450px;
    }

    /*=======min-width:800px=======*/
}

/* pc　1025px～ */
@media screen and (min-width:1025px) {
    .mv-inner {
        height: calc(100svh - 120px);
    }

    .slide-img {
        height: 78.36538svh;
    }

    .mv-sidelogo {
        left: 30px;
    }

    .mv-caption {
        right: 12px;
    }

    .mv {
        position: relative;
    }

    .mv-back {
        position: absolute;
        width: 100%;
        height: 38.987%;
        bottom: 0;
        left: 0;
        background: url(../img/texture.jpg) repeat;
        z-index: -1;
    }

    /*=======min-width:1025px=======*/
}

/* 1440px～ */
@media screen and (min-width:1440px) {
    .mv-inner {
        max-width: none;
        padding-right: 6.95vw;
        padding-left: 6.95vw;
    }

    /*=======min-width:1440px=======*/
}


/* ===============================================
    work 共通設定
=============================================== */

.work {
    padding-bottom: 64px;
}

.work-inner {
    background-color: var(--white);
    border-radius: 5px;
    position: relative;
}

.work-list {
    padding: 48px 9.329%;
}

.work-item:hover {
    cursor: pointer;
}

/* 見出し　共通 */
.heading-primary {
    font-size: var(--heading-2);
    font-family: var(--en-font);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
}

/* 見出し　work */
.work-heading {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}

/* 作品画像　共通 */
.work-item__img-r {
    border-radius: 5px;
}

.work-imgbox {
    overflow: hidden;
}

.work-imgbox__img {
    transition: all 0.3s var(--ease-out-quint);
}

.work-item:hover .work-imgbox__img {
    transform: scale(1.03);
}

/* 作品文字　共通 */
.work-txtbox {
    text-align: center;
    color: var(--primary-color);
    font-family: var(--jp-font);
    transition: all 0.3s var(--ease-out-quint);
}

.work-item:hover .work-txtbox {
    color: rgba(var(--primary-color-rgb), 0.6);
}

.work-title {
    font-weight: 500;
    font-size: var(--text-m);
    margin-top: 8px;
}

.work-info {
    font-weight: 400;
    font-size: var(--text-xxs);
    margin-top: 2px;
}

.work-info__year {
    font-family: var(--caption-font);
    font-weight: 300;
}

/* tab　601px～ */
@media screen and (min-width:601px) {
    .work-list {
        padding: 64px 9.329%;
    }

    /*=======min-width:601px=======*/
}

/* pc　1025px～ */
@media screen and (min-width:1025px) {
    .work {
        padding-bottom: 160px;
    }

    .work-inner {
        border-radius: 10px;
    }

    .work-list {
        padding: 96px 7.7419%;
    }

    /* 見出し　共通 */
    .heading-primary {
        font-size: var(--heading-1);
    }

    /* 見出し　work */
    .work-heading {
        top: -21px;
    }

    /* 作品文字　共通 */
    .work-title {
        font-size: var(--heading-4);
        margin-top: 16px;
    }

    .work-info {
        font-size: var(--text-xs);
    }

    /*=======min-width:1025px=======*/
}


/* ===============================================
    workモーダルウィンドウ 共通設定
=============================================== */

.work-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    width: 100%;
    height: 100%;
}

.work-modal__back {
    height: 100%;
    background-color: rgba(var(--primary-color-rgb), 0.8);
    cursor: pointer;
}

.work-modal__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    border-radius: 5px;
    padding: 16px;
    width: min(90%, 1048px);
    height: calc(100% - 140px);
}

.work-modal__box {
    overflow-y: auto;
    height: 100%;
    padding: 16px;
}

/* 閉じるボタン */
.work-modal__close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -50px;
    right: -10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quint);
}

.work-modal__close::after {
    font-family: var(--google-icon);
    content: '\e5cd';
    font-size: 3.5rem;
    color: var(--white);
}

.work-modal__close:hover {
    opacity: .6;
}

/* ---------------------------- */
/* 900px～ */

@media screen and (min-width:900px) {
    .work-modal__box {
        padding: 48px 32px;
    }

    /*=======min-width:900px=======*/
}

/* ---------------------------- */
/* pc　1025px～ */
@media screen and (min-width:1025px) {
    .work-modal__inner {
        height: calc(100% - 200px);
    }

    /* 閉じるボタン */
    .work-modal__close {
        top: -40px;
        right: -40px;
        width: 40px;
        height: 40px;
    }

    /*=======min-width:1025px=======*/
}


/* ===============================================
    workモーダルウィンドウ内 共通設定
=============================================== */

.modal-imgbox {
    margin-bottom: 24px;
    max-width: 452px;
    margin-right: auto;
    margin-left: auto;
}

.modal-imgbox__img-nop {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.modal-imgbox__img-length {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.modal-imgbox__img-multi {
    margin-bottom: 24px;
}

.txtgroup-line {
    border-bottom: 1px solid var(--line-color);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.txt-link {
    display: inline-block;
    color: var(--link-color);
    transition: all 0.2s var(--ease-out-quint);
}

.txt-link:hover {
    color: rgba(var(--link-color-rgb), 0.6);
}

/* modal-txtgroup01 */
.modal-txtgroup01 {
    text-align: center;
    font-family: var(--jp-font);
}

.txtgroup01-title {
    font-weight: 500;
    font-size: var(--heading-3);
    margin-bottom: 4px;
}

.txtgroup01-info {
    font-weight: 400;
    font-size: var(--text-xs);
}

/* modal-txtgroup02 */
.txtgroup02-tool {
    font-family: var(--caption-font);
    font-size: var(--text-s);
    font-weight: 400;
    margin-bottom: 12px;
}

.txtgroup02-url {
    font-family: var(--caption-font);
    font-size: var(--text-s);
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.1;
}

.txtgroup02-url::before {
    font-family: var(--google-icon);
    content: '\e250';
    font-size: 2rem;
    vertical-align: middle;
    margin-right: 4px;
}

.txtgroup02-size {
    font-family: var(--caption-font);
    font-size: var(--text-s);
    font-weight: 400;
    margin-bottom: 12px;
}

.txtgroup02-works {
    font-size: var(--text-s);
}

.txtgroup02-works__label {
    font-family: var(--caption-font);
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}

.txtgroup02-works__item {
    font-family: var(--jp-font);
    font-weight: 300;
    line-height: 1.6;
    margin-left: var(--text-s);
}

/* modal-txtgroup03 */
.txtgroup03-area {
    margin-top: 64px;
}

.txtgroup03-lead {
    font-family: var(--jp-font);
    font-weight: 500;
    font-size: var(--text-m);
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--primary-color);
    margin-bottom: 24px;
}

.txtgroup03-logo {
    width: 100%;
    border: 1px solid var(--line-color);
    margin-bottom: 24px;
}

.txtgroup03-logo__img {
    margin-right: auto;
    margin-left: auto;
    margin-top: 32px;
    margin-bottom: 32px;
    max-width: 200px;
}

.million-logo {
    max-width: 150px;
}

.txtgroup03-img__ph {
    margin-top: 40px;
}

/* ---------------------------- */
/* tab　601px～ */
@media screen and (min-width:601px) {

    /* modal-txtgroup03 */
    .txtgroup03-logo__img {
        max-width: 300px;
    }

    .million-logo {
        max-width: 150px;
    }

    /*=======min-width:601px=======*/
}

/* ---------------------------- */
/* 900px～ */
@media screen and (min-width:900px) {
    .modal-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 48px;
    }

    .modal-imgbox {
        margin-bottom: 0;
    }

    .modal-imgbox__img-multi {
        margin-bottom: 32px;
    }

    .txtgroup-line {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    /* modal-txtgroup01 */
    .txtgroup01-title {
        font-size: var(--heading-2);
    }

    .txtgroup01-info {
        font-size: var(--text-m);
    }

    /* modal-txtgroup02 */
    .txtgroup02-tool,
    .txtgroup02-url,
    .txtgroup02-px {
        margin-bottom: 16px;
    }

    .txtgroup02-works__item {
        line-height: 1.7;
    }

    /* modal-txtgroup03 */
    .txtgroup03-logo__img {
        max-width: 67.7%;
    }

    .million-logo {
        max-width: 150px;
    }

    /*=======min-width:900px=======*/
}


/* ===============================================
    WEBSITE
=============================================== */

.website-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    column-gap: 0px;
    row-gap: 32px;
}

/* tab　601px～ */
@media screen and (min-width:601px) {
    .website-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        column-gap: 48px;
        row-gap: 48px;
    }

    /*=======min-width:601px=======*/
}


/* ===============================================
    BANNER
=============================================== */

.banner-img {
    box-shadow: 0 0 5px 0 rgba(var(--primary-color-rgb), 0.2);
}

.banner-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    column-gap: 0px;
    row-gap: 32px;
}

/* tab　601px～ */
@media screen and (min-width:601px) {
    .banner-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        column-gap: 48px;
        row-gap: 48px;
    }

    /*=======min-width:601px=======*/
}

/* 750px～ */
@media screen and (min-width:750px) {
    .banner-list {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    /*=======min-width:750px=======*/
}


/* ===============================================
    GRAPHIC
=============================================== */

.graphic-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    column-gap: 0px;
    row-gap: 32px;
}

/* tab　601px～ */
@media screen and (min-width:601px) {
    .graphic-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        column-gap: 48px;
        row-gap: 48px;
    }

    /*=======min-width:601px=======*/
}

/* 750px～ */
@media screen and (min-width:750px) {
    .graphic-list {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    /*=======min-width:750px=======*/
}


/* ===============================================
    ABOUT
=============================================== */

#about {
    padding-top: 64px;
    padding-bottom: 64px;
    scroll-margin-top: -11px;
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

/* profile */
.profile {
    max-width: 816px;
    margin: 0 auto;
    padding-top: 64px;
    padding-bottom: 64px;
}

.profile-imgbox {
    max-width: 180px;
    margin: 0 auto;
}

.profile-imgbox__img {
    border-radius: 50%;
    margin-bottom: 32px;
}

.profile-name {
    font-family: var(--jp-font);
    font-size: var(--heading-4);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
    text-align: center;
}

/* skill */
.skill {
    max-width: 1028px;
    margin: 0 auto;
}

.skill-imgbox {
    max-width: 50px;
}

.skill-heading {
    font-family: var(--en-font);
    font-size: var(--heading-3);
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 32px;
}

.skill-list {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, auto);
    row-gap: 32px;
}

.skill-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
}

.skill-name {
    font-family: var(--caption-font);
    font-size: var(--text-m);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 2px;
}

.skill-text {
    line-height: 1.7;
}

/* ---------------------------- */
/* ～600px */
@media screen and (max-width:600px) {
    .profile-info {
        font-size: var(--text-s);
    }

    /*=======max-width:600px=======*/
}

/* ---------------------------- */
/* tab　601px～ */
@media screen and (min-width:601px) {

    /* profile */
    .profile {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 48px;
    }

    .profile-imgbox__img {
        margin-bottom: 0;
    }

    .profile-name {
        text-align: left;
    }

    /* skill */
    .skill-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
        row-gap: 32px;
        column-gap: 32px;
    }

    /*=======min-width:601px=======*/
}

/* ---------------------------- */
/* pc　1025px～ */
@media screen and (min-width:1025px) {
    #about {
        padding-top: 128px;
        padding-bottom: 160px;
        scroll-margin-top: -41px;
    }

    /* profile */
    .profile {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .profile-name {
        font-size: var(--heading-3);
    }

    /* skill */
    .skill-imgbox {
        max-width: 60px;
    }

    .skill-heading {
        font-size: var(--heading-2);
        margin-bottom: 48px;
    }

    .skill-list {
        column-gap: 48px;
    }

    .skill-item {
        column-gap: 24px;
    }

    .skill-name {
        font-size: var(--heading-4);
    }

    /*=======min-width:1025px=======*/
}