/* ==================================================
   基本設定
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff;
    color: #939191;

    font-family:
        "Yu Gothic",
        "游ゴシック",
        YuGothic,
        sans-serif;
}

a {
    color: #929090;
    text-decoration: none;
}



/* ==================================================
   ヘッダー
================================================== */

header {
    width: 100%;
    height: 74px;

    background-color: rgb(220, 219, 219);
    color: black;

    padding: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-sizing: border-box;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;
}



/* ==================================================
   SHIBATA ロゴ
================================================== */

header .logo {
    display: block;

    width: 160px;

    margin-left: 70px;
    padding: 0;

    line-height: 0;

    flex-shrink: 0;
}

header .logo img {
    display: block;

    width: 160px;
    height: auto;

    margin: 0;
    padding: 0;

    transform: translateY(8px);
}



/* ==================================================
   ナビゲーション
================================================== */

header nav {
    margin: 0;
    padding: 0;
}

header nav ul {
    display: flex;

    justify-content: space-between;
    align-items: center;

    list-style-type: none;

    margin: 0;
    padding: 0;

    transform: translateY(13px);
}

header nav ul li {
    width: 140px;

    margin: 0;
    padding: 0;

    font-size: 16px;
}

header nav ul li a {
    color: black;
    text-decoration: none;
}

header nav ul li a:hover {
    color: rgb(101, 101, 202);
}



/* ==================================================
   WORKS
   PC
================================================== */

.works {
    width: calc(100% - 40px);

    max-width: 1060px;

    margin-left: auto;
    margin-right: auto;

    padding: 140px 0 100px;
}



/* ==================================================
   WORKSタイトル
================================================== */

.works-title {
    width: 100%;

    margin: 0 0 80px 0;
}

.works-title img {
    display: block;

    width: 430px;
    max-width: 100%;

    height: auto;
}



/* ==================================================
   WORKS説明文
================================================== */

.works-description {
    display: block;

    width: 100%;

    margin: 25px 0 0 0;
    padding: 0;

    color: #939191;

    font-family:
        "Yu Gothic",
        "游ゴシック",
        YuGothic,
        sans-serif;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.8;

    letter-spacing: 0.04em;
}



/* ==================================================
   作品グリッド
================================================== */

.works-grid {
    width: 100%;

    margin-left: auto;
    margin-right: auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    column-gap: 56px;

    row-gap: 60px;
}



/* ==================================================
   作品
================================================== */

.work-item {
    display: block;

    width: 100%;
    min-width: 0;
}



/* ==================================================
   37番「図版作成」
================================================== */

.works-grid .work-item-37 {
    grid-column: 1 / -1;

    width: calc((100% - 112px) / 3);

    margin: 40px auto 0;
}



/* ==================================================
   作品画像
================================================== */

.work-image {
    width: 100%;

    background: none;

    overflow: hidden;
}

.work-image img {
    display: block;

    width: 100%;
    height: auto;

    object-fit: contain;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}



/* ==================================================
   マウスオーバー
================================================== */

.work-item:hover .work-image img {
    transform: scale(1.02);

    opacity: 0.9;
}



/* ==================================================
   作品情報
================================================== */

.work-info {
    width: 100%;

    margin-top: 10px;

    min-width: 0;
}



/* ---------- 番号 ---------- */

.work-number {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.3;
}



/* ---------- 社名 ---------- */

.work-company {
    font-family:
        "Yu Gothic",
        "游ゴシック",
        YuGothic,
        sans-serif;

    font-size: 16px;

    font-weight: 300;

    line-height: 1.5;

    letter-spacing: 0.04em;

    overflow-wrap: break-word;
}



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

.about {
    width: calc(100% - 40px);

    max-width: 1060px;

    margin-left: auto;
    margin-right: auto;

    padding: 140px 0 100px;
}



/* ==================================================
   ABOUTタイトル画像
================================================== */

.about-title {
    width: 100%;

    margin-bottom: 160px;
}

.about-title img {
    display: block;

    width: 430px;
    max-width: 100%;

    height: auto;
}



/* ==================================================
   プロフィール
================================================== */

.about-profile {
    width: 100%;

    text-align: center;

    color: #999999;
}



/* ==================================================
   顔イラスト
================================================== */

.profile-image {
    width: 70px;

    margin: 0 auto 15px;
}

.profile-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
}



/* ==================================================
   肩書き
================================================== */

.profile-job {
    margin: 0;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.5;
}



/* ==================================================
   名前
================================================== */

.profile-name {
    margin: 5px 0 0;

    font-size: 38px;
    font-weight: 400;

    line-height: 1.4;

    letter-spacing: 0.08em;
}



/* ==================================================
   自己紹介
================================================== */

.profile-text {
    margin-top: 55px;

    text-align: center;

    font-family:
        "Yu Gothic",
        "游ゴシック",
        YuGothic,
        sans-serif;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.7;

    letter-spacing: 0.04em;

    color: #999999;
}

.profile-text p {
    margin: 0 0 28px;
}



/* ==================================================
   連絡先
================================================== */

.profile-contact {
    margin-top: 70px;

    text-align: center;

    position: relative;

    z-index: 10;
}

.contact-title {
    margin: 0;

    font-size: 15px;
}

.contact-mail {
    margin: 3px 0 0;
}

.contact-mail a {
    display: inline-block;

    color: #999999;
    text-decoration: none;

    cursor: pointer;
}

.contact-mail a:hover {
    color: #666666;
}



/* ==================================================
   タブレット
   601px ～ 1024px
================================================== */

@media screen and (min-width: 601px) and (max-width: 1024px) {


    /* ==================================================
       ヘッダー
    ================================================== */

    header {
        width: 100%;
        height: 74px;

        padding: 0;

        display: flex;

        justify-content: space-between;
        align-items: center;

        position: fixed;

        top: 0;
        left: 0;

        z-index: 1000;

        box-sizing: border-box;
    }



    /* ---------- ロゴ ---------- */

    header .logo {
        display: block;

        width: 140px;

        margin-left: 20px;
        padding: 0;

        line-height: 0;

        flex-shrink: 0;
    }

    header .logo img {
        display: block;

        width: 140px;
        height: auto;

        margin: 0;
        padding: 0;

        transform: translateY(8px);
    }



    /* ---------- ナビ ---------- */

    header nav {
        margin: 0;
        padding: 0;
    }

    header nav ul {
        display: flex;

        justify-content: space-between;
        align-items: center;

        margin: 0;
        padding: 0;

        list-style-type: none;

        transform: translateY(13px);
    }

    header nav ul li {
        width: 100px;

        margin: 0;
        padding: 0;

        font-size: 15px;
    }

    header nav ul li a {
        color: black;
        text-decoration: none;
    }



    /* ==================================================
       WORKS
    ================================================== */

    .works {
        width: calc(100% - 40px);

        max-width: 929px;

        margin-left: auto;
        margin-right: auto;

        padding: 120px 0 80px;
    }



    /* ---------- タイトル ---------- */

    .works-title {
        width: 100%;

        margin-bottom: 60px;
    }

    .works-title img {
        width: 430px;

        max-width: 100%;

        height: auto;
    }



    /* ---------- 説明文 ---------- */

    .works-description {
        width: 100%;

        margin-top: 25px;

        font-size: 14px;

        line-height: 1.8;

        letter-spacing: 0.04em;
    }



    /* ---------- グリッド ---------- */

    .works-grid {
        width: 100%;

        margin-left: auto;
        margin-right: auto;

        display: grid;

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        column-gap: 30px;

        row-gap: 50px;
    }



    /* ---------- 37番 ---------- */

    .works-grid .work-item-37 {
        grid-column: 1 / -1;

        width: calc((100% - 60px) / 3);

        margin: 40px auto 0;
    }



    /* ---------- 作品画像 ---------- */

    .work-image {
        width: 100%;

        background: none;

        overflow: hidden;
    }

    .work-image img {
        display: block;

        width: 100%;
        height: auto;

        object-fit: contain;
    }



    /* ---------- 作品情報 ---------- */

    .work-info {
        margin-top: 8px;
    }

    .work-number {
        font-size: 15px;
    }

    .work-company {
        font-size: 15px;
    }

}



/* ==================================================
   スマートフォン
   600px以下
================================================== */

@media screen and (max-width: 600px) {


    /* ==================================================
       ヘッダー
    ================================================== */

    header {
        width: 100%;
        height: 45px;

        padding: 0;

        display: block;

        position: fixed;

        top: 0;
        left: 0;

        z-index: 1000;

        box-sizing: border-box;
    }



    /* ---------- ロゴ ---------- */

    header .logo {
        display: block;

        position: absolute;

        left: 10px;
        top: 0;

        width: 112px;

        margin: 0;
        padding: 0;

        line-height: 0;
    }

    header .logo img {
        display: block;

        width: 112px;
        height: auto;

        margin: 0;
        padding: 0;

        transform: translateY(8px);
    }



    /* ---------- ナビ ---------- */

    header nav {
        position: absolute;

        right: 10px;
        top: 0;

        margin: 0;
        padding: 0;
    }

    header nav ul {
        display: flex;

        justify-content: flex-end;
        align-items: center;

        gap: 10px;

        margin: 0;
        padding: 0;

        list-style-type: none;

        transform: translateY(13px);
    }

    header nav ul li {
        width: auto;

        margin: 0;
        padding: 0;

        font-size: 13px;

        white-space: nowrap;
    }

    header nav ul li a {
        color: black;
        text-decoration: none;
    }



    /* ==================================================
       WORKS
    ================================================== */

    .works {
        width: calc(100% - 40px);

        margin-left: auto;
        margin-right: auto;

        padding: 110px 0 70px;
    }



    /* ---------- タイトル ---------- */

    .works-title {
        width: 100%;

        margin-bottom: 45px;
    }

    .works-title img {
        width: 430px;

        max-width: 100%;

        height: auto;
    }



    /* ---------- 説明文 ---------- */

    .works-description {
        width: 100%;

        margin-top: 20px;

        font-size: 12px;

        line-height: 1.8;

        letter-spacing: 0.02em;
    }



    /* ---------- グリッド ---------- */

    .works-grid {
        width: 100%;

        margin-left: auto;
        margin-right: auto;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 20px;

        row-gap: 40px;
    }



    /* ---------- 37番 ---------- */

    .works-grid .work-item-37 {
        grid-column: 1 / -1;

        width: calc((100% - 20px) / 2);

        margin: 40px auto 0;
    }



    /* ---------- 作品画像 ---------- */

    .work-image {
        width: 100%;

        background: none;

        overflow: hidden;
    }

    .work-image img {
        display: block;

        width: 100%;
        height: auto;

        object-fit: contain;
    }



    /* ---------- 作品情報 ---------- */

    .work-info {
        margin-top: 8px;
    }

    .work-number {
        font-size: 13px;

        font-weight: 700;

        line-height: 1.3;
    }

    .work-company {
        font-family:
            "Yu Gothic",
            "游ゴシック",
            YuGothic,
            sans-serif;

        font-size: 13px;

        font-weight: 300;

        line-height: 1.5;

        letter-spacing: 0.02em;
    }



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

    .about {
        width: calc(100% - 30px);

        margin-left: auto;
        margin-right: auto;

        padding: 100px 0 70px;
    }



    /* ---------- ABOUTタイトル ---------- */

    .about-title {
        width: 100%;

        margin-bottom: 100px;
    }

    .about-title img {
        display: block;

        width: 430px;

        max-width: 100%;

        height: auto;
    }



    /* ---------- プロフィール ---------- */

    .about-profile {
        width: 100%;

        text-align: center;
    }



    /* ---------- 顔イラスト ---------- */

    .profile-image {
        width: 70px;

        margin: 0 auto 12px;
    }



    /* ---------- 肩書き ---------- */

    .profile-job {
        font-size: 12px;
    }



    /* ---------- 名前 ---------- */

    .profile-name {
        margin-top: 4px;

        font-size: 28px;

        letter-spacing: 0.08em;
    }



    /* ---------- 自己紹介 ---------- */

    .profile-text {
        margin-top: 40px;

        font-size: 13px;

        line-height: 1.8;

        letter-spacing: 0.02em;
    }

    .profile-text p {
        margin-bottom: 25px;
    }



    /* ---------- 連絡先 ---------- */

    .profile-contact {
        margin-top: 55px;
    }

    .contact-title {
        font-size: 13px;
    }

    .contact-mail {
        font-size: 13px;

        word-break: break-all;
    }

    .contact-mail a {
        color: #999999;

        text-decoration: none;
    }

    .contact-mail a:hover {
        color: #666666;
    }

}