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

* {
    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);
}


/* ====================
   ページビュアー
   PC
==================== */



/* ---------- スライド表示エリア ---------- */

.slide-area {
    width: 1000px;
    height: 620px;

    background: transparent;

    margin: 0 auto;
    margin-top: 150px;

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

    position: relative;

    overflow: hidden;
}


/* ---------- 図版画像 ---------- */

.slide-area .image-box {
    width: auto;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* ---------- 図版 ---------- */

.slide-area .image-box img {
    width: 90%;
    height: 500px;

    display: block;

    object-fit: contain;

    
}
.image-box img {
    box-shadow: none;
}
/* ---------- 矢印 ---------- */


.prev,
.next {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 30px;
    height: 30px;

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

    border: none;
    border-radius: 50%;

    background: rgb(165, 162, 162);

    font-size: 24px;
    line-height: 1;

    color: #ffffff;

    cursor: pointer;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}


/* ---------- テキスト ---------- */

.caption {
    width: 700px;

    margin: 40px auto;

    text-align: center;

    line-height: 1.8;
}







/*==================================================
  タブレット
  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;
    }


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

    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);
    }


/* ====================
   タブレット版
   画像サイズ
==================== */

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

    /* グレーの表示エリア */

    .slide-area {
        width: calc(100% - 80px);
        max-width: 929px;
    }


    /* 画像を載せるエリア */

    .image-box {
        width: 700px;
        height: 470px;
    }


    /* 実際の画像 */

    .image-box img {
        width: 700px;
        height: 470px;
    }

}


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

    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タイトル
    ----------*/

    .works-title {
        margin-bottom: 60px;
    }

    .works-title img {
        width: 430px;
        max-width: 100%;
        height: auto;
    }


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

    .works-grid {
        width: 100%;

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

        display: grid;

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

        column-gap: 30px;
        row-gap: 50px;
    }


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

    .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;
    }


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

    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;
    }


    /*==================================================
      個別ページ
      グレーボックス
    ==================================================*/

    .slide-area {
        width: calc(100% - 30px);
        height: 420px;

        margin-left: auto;
        margin-right: auto;
        margin-top: 80px;

        background: white;

        display: flex;

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

        box-sizing: border-box;
    }


    /*==================================================
      写真を置くエリア
    ==================================================*/

    .image-box {
        width: 95% !important;
        height: auto !important;;

        margin: 0;
        padding: 0;

        display: block;

        position: relative;

        box-sizing: border-box;

        background: transparent;
    }


    /*==================================================
      写真
    ==================================================*/

    .image-box img {
        display: block;

        width: 95% !important;;
        height: auto !important;;

        margin: 0;
        padding: 0;

        object-fit: contain;

        

        box-sizing: border-box;
    }




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

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

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

        padding: 110px 0 70px;
    }


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

    .works-title {
        width: 100%;

        margin-bottom: 45px;
    }

    .works-title img {
        width: 430px;

        max-width: 100%;

        height: auto;
    }


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

    .works-grid {
        width: 100%;

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

        display: grid;

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

        column-gap: 20px;
        row-gap: 40px;
    }


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

    .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;
    }

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

.caption {
    width: 100%;
    margin: 30px auto 0;

    text-align: center;
}


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

    .prev,
    .next {
        width: 35px;
        height: 35px;

        font-size: 22px;

        z-index: 1000;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

}