@charset "UTF-8";

/*-----------------------------------------------------*/
/* PC用 */
/*-----------------------------------------------------*/
@media only screen and (min-width: 1181px) {

    .container {
        width: 100%;
        background-image: url(../img/works-background.webp);
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        padding-top: 150px;
        padding-bottom: 100px;
    }

    img {
        pointer-events: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-touch-callout: none;
        -moz-user-select: none;
        user-select: none;
        -webkit-touch-callout: none
    }

    /* -----------------↓ハンバーガーメニューコピペ------------ */

    /*==================================================
　5-2-4 MENUがCLOSEに
===================================*/

    /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
    .openbtn {
        position: relative;
        /*ボタン内側の基点となるためrelativeを指定*/
        background: #d23918;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 5px;
    }

    /*ボタン内側*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: #fff;
        width: 45%;
    }


    .openbtn span:nth-of-type(1) {
        top: 13px;
    }

    .openbtn span:nth-of-type(2) {
        top: 19px;
    }

    .openbtn span:nth-of-type(3) {
        top: 25px;
    }

    .openbtn span:nth-of-type(3)::after {
        content: "Menu";
        /*3つ目の要素のafterにMenu表示を指定*/
        position: absolute;
        top: 5px;
        left: -2px;
        color: #fff;
        font-size: 0.6rem;
        text-transform: uppercase;
        font-family: "Zen Kaku Gothic New", serif;
        ;
    }

    /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(3)::after {
        content: "Close";
        /*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top: 5px;
        left: 4px;
    }

    /* ----------------↑ハンバーガーメニューコピペ--------------- */

    /*========= ↓ナビゲーションのためのCSS ===============*/

    /*アクティブになったエリア*/
    #g-nav.panelactive {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        top: 0;
        width: 100%;
        height: 100vh;
    }

    /*丸の拡大*/
    .circle-bg {
        position: fixed;
        z-index: 3;
        /*丸の形*/
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #d23918;
        /*丸のスタート位置と形状*/
        transform: scale(0);
        /*scaleをはじめは0に*/
        right: -50px;
        top: -50px;
        transition: all .6s;
        /*0.6秒かけてアニメーション*/
    }

    .circle-bg.circleactive {
        transform: scale(50);
        /*クラスが付与されたらscaleを拡大*/
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav-list {
        display: none;
        /*はじめは表示なし*/
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav.panelactive #g-nav-list {
        display: block;
        /*クラスが付与されたら出現*/
    }

    /*ナビゲーション*/
    #g-nav ul {
        opacity: 0;
        /*はじめは透過0*/
        /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*背景が出現後にナビゲーションを表示*/
    #g-nav.panelactive ul {
        opacity: 1;
    }

    /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
    #g-nav.panelactive ul li {
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        /*0.2 秒遅らせて出現*/
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes gnaviAnime {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }


    /*リストのレイアウト設定*/
    #g-nav li {
        text-align: center;
        list-style: none;
    }

    #g-nav li a {
        color: #fff;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        font-size: 30px;
        font-family: "Tilt Warp", serif;
        ;
    }


    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 9999;
        /*ボタンを最前面に*/
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 13px;
    }

    .openbtn span:nth-of-type(2) {
        top: 20px;
    }

    .openbtn span:nth-of-type(3) {
        top: 28px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    /* ------------------↑ナビコピペ5-1-20--------------- */

    .title {
        width: 40%;
        background-color: #D23918;
        border-radius: 60px;
        text-align: center;
        margin: 0 auto;
        border: 1px solid #EEE9E4;
    }

    .title h1 {
        color: white;
        font-size: 90px;
        font-family: "Tilt Warp", serif;
        ;
        letter-spacing: 8px;
    }

    .works {
        /* background-color: white; */
        width: 80%;
        /* border: 1px solid #FF789F; */
        display: flex;
        text-align: center;
        margin: 0 auto;
        flex-wrap: wrap;
        padding-bottom: 7%;
    }

    .w1,
    .w2,
    .w3,
    .w4,
    .w5,
    .w6 {
        /* background-color: #EEE9E4; */
        background-color: #fff;
        width: 30%;
        text-align: center;
        margin: 7% auto 0 auto;
        padding-top: 3%;
        padding-bottom: 3%;
        box-shadow: 15px 15px 5px -5px #E5D6DB;
    }

    /* -------------↓写真のホバーをコピペ------------- */

    .image_link {
        display: block;
        width: 90%;
        position: relative;
        text-decoration: none;
    }

    .image_link img {
        display: block;
        margin-left: 10%;
        width: 100%;
    }

    .image_link:before {
        content: "";
        display: block;
        width: 90%;
        height: 100%;
        margin-left: 10%;
        position: absolute;
        z-index: 2;
        background: #000;
        /*好みの色に変えてください。*/
        opacity: 0;
        transition: 0s;
    }

    .image_link:after {
        content: "READ MORE";
        /*好みの文章に変更してください。*/
        display: block;
        color: #fff;
        line-height: 48px;
        width: 180px;
        border: solid 1px #fff;
        border-radius: 5px;
        text-align: center;
        position: absolute;
        top: 40%;
        left: 50%;
        margin-top: -1em;
        margin-left: -70px;
        opacity: 0;
        z-index: 3;
        transition: 0s;
        font-weight: bold;
        letter-spacing: 0.2em;
    }

    .image_link:hover:before {
        opacity: 0.5;
    }

    .image_link:hover:after {
        opacity: 1;
        margin-top: -0.5em;
    }

    /* ---------↑写真のホバーをコピペ---------------- */

    .works img {
        width: 90%;
        box-shadow: 10px 10px 5px -5px #B9B9B9;
    }

    .works h2 {
        color: black;
        font-size: 23px;
        letter-spacing: 2px;
        font-family: "Zen Kaku Gothic New", serif;
        ;
        padding-top: 3%;
    }

    .works p {
        color: black;
        font-size: 18px;
        font-family: "Zen Kaku Gothic New", serif;
        ;
    }

    .footer {
        background-color: #FFCE4E;
        width: 100%;
    }

    .footer1 {
        /* background-color: #FFCE4E; */
        width: 10%;
        text-align: center;
        margin: 0 auto;
        padding: 5% 0%;
    }

    .footer1 img {
        width: 30%;
    }

    .footer1 p {
        font-family: "Tilt Warp", serif;
        ;
        color: white;
        font-size: 20px;
        font-weight: normal;
    }

}






















/*-----------------------------------------------------*/
/* タブレット用のCSS */
/*-----------------------------------------------------*/
@media only screen and (min-width:600px) and (max-width:1180px) {

    .container {
        width: 100%;
        background-image: url(../img/works-background.webp);
        background-attachment: fixed;
        background-repeat: repeat;
        background-size: contain;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    img {
        pointer-events: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-touch-callout: none;
        -moz-user-select: none;
        user-select: none;
        -webkit-touch-callout: none
    }

    /* -----------------↓ハンバーガーメニューコピペ------------ */

    /*==================================================
    　5-2-4 MENUがCLOSEに
    ===================================*/

    /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
    .openbtn {
        position: relative;
        /*ボタン内側の基点となるためrelativeを指定*/
        background: #d23918;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 5px;
    }

    /*ボタン内側*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: #fff;
        width: 45%;
    }


    .openbtn span:nth-of-type(1) {
        top: 13px;
    }

    .openbtn span:nth-of-type(2) {
        top: 19px;
    }

    .openbtn span:nth-of-type(3) {
        top: 25px;
    }

    .openbtn span:nth-of-type(3)::after {
        content: "Menu";
        /*3つ目の要素のafterにMenu表示を指定*/
        position: absolute;
        top: 5px;
        left: -2px;
        color: #fff;
        font-size: 0.6rem;
        text-transform: uppercase;
        font-family: "Zen Kaku Gothic New", serif;
        ;
    }

    /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(3)::after {
        content: "Close";
        /*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top: 5px;
        left: 4px;
    }

    /* ----------------↑ハンバーガーメニューコピペ--------------- */

    /*========= ↓ナビゲーションのためのCSS ===============*/

    /*アクティブになったエリア*/
    #g-nav.panelactive {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        top: 0;
        width: 100%;
        height: 100vh;
    }

    /*丸の拡大*/
    .circle-bg {
        position: fixed;
        z-index: 3;
        /*丸の形*/
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #d23918;
        /*丸のスタート位置と形状*/
        transform: scale(0);
        /*scaleをはじめは0に*/
        right: -50px;
        top: -50px;
        transition: all .6s;
        /*0.6秒かけてアニメーション*/
    }

    .circle-bg.circleactive {
        transform: scale(50);
        /*クラスが付与されたらscaleを拡大*/
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav-list {
        display: none;
        /*はじめは表示なし*/
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav.panelactive #g-nav-list {
        display: block;
        /*クラスが付与されたら出現*/
    }

    /*ナビゲーション*/
    #g-nav ul {
        opacity: 0;
        /*はじめは透過0*/
        /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*背景が出現後にナビゲーションを表示*/
    #g-nav.panelactive ul {
        opacity: 1;
    }

    /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
    #g-nav.panelactive ul li {
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        /*0.2 秒遅らせて出現*/
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes gnaviAnime {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }


    /*リストのレイアウト設定*/
    #g-nav li {
        text-align: center;
        list-style: none;
    }

    #g-nav li a {
        color: #fff;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        font-size: 30px;
        font-family: "Tilt Warp", serif;
        ;
    }


    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 9999;
        /*ボタンを最前面に*/
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 13px;
    }

    .openbtn span:nth-of-type(2) {
        top: 20px;
    }

    .openbtn span:nth-of-type(3) {
        top: 28px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    /* ------------------↑ナビコピペ5-1-20--------------- */

    .title {
        width: 60%;
        background-color: #D23918;
        border-radius: 60px;
        text-align: center;
        margin: 0 auto;
        border: 1px solid #EEE9E4;
    }

    .title h1 {
        color: white;
        font-size: 90px;
        font-family: "Tilt Warp", serif;
        ;
        letter-spacing: 8px;
    }

    .works {
        /* background-color: white; */
        width: 90%;
        /* border: 1px solid #FF789F; */
        display: flex;
        text-align: center;
        margin: 0 auto;
        flex-wrap: wrap;
        padding-bottom: 7%;
    }

    .w1,
    .w2,
    .w3,
    .w4,
    .w5,
    .w6 {
        /* background-color: #EEE9E4; */
        background-color: #fff;
        width: 43%;
        text-align: center;
        margin: 7% auto 0 auto;
        padding-top: 3%;
        padding-bottom: 3%;
        box-shadow: 15px 15px 5px -5px #E5D6DB;
    }

    /* -------------↓写真のホバーをコピペ------------- */

    .image_link {
        display: block;
        width: 90%;
        position: relative;
        text-decoration: none;
    }

    .image_link img {
        display: block;
        margin-left: 10%;
        width: 90%;
    }

    .image_link:before {
        content: "";
        display: block;
        width: 90%;
        height: 100%;
        margin-left: 10%;
        position: absolute;
        z-index: 2;
        background: #000;
        /*好みの色に変えてください。*/
        opacity: 0;
        transition: 0s;
    }

    .image_link:after {
        content: "READ MORE";
        /*好みの文章に変更してください。*/
        display: block;
        color: #fff;
        line-height: 48px;
        width: 170px;
        border: solid 1px #fff;
        border-radius: 5px;
        text-align: center;
        position: absolute;
        top: 40%;
        left: 50%;
        margin-top: -1em;
        margin-left: -70px;
        opacity: 0;
        z-index: 3;
        transition: 0s;
        font-weight: bold;
        letter-spacing: 0.2em;
    }

    .image_link:hover:before {
        opacity: 0.5;
    }

    .image_link:hover:after {
        opacity: 1;
        margin-top: -0.5em;
    }

    /* ---------↑写真のホバーをコピペ---------------- */

    .works img {
        width: 90%;
        box-shadow: 10px 10px 5px -5px #B9B9B9;
    }

    .works h2 {
        color: black;
        font-size: 23px;
        letter-spacing: 2px;
        font-family: "Zen Kaku Gothic New", serif;
        ;
        padding-top: 3%;
    }

    .works p {
        color: black;
        font-size: 18px;
        font-family: "Zen Kaku Gothic New", serif;
        ;
    }

    .footer {
        background-color: #FFCE4E;
        width: 100%;
    }

    .footer1 {
        /* background-color: #FFCE4E; */
        width: 20%;
        text-align: center;
        margin: 0 auto;
        padding: 5% 0%;
    }

    .footer1 img {
        width: 20%;
    }

    .footer1 p {
        color: white;
        font-size: 20px;
        font-family: "Tilt Warp", serif;
        ;
        font-weight: normal;
    }

}































/*-----------------------------------------------------*/
/* スマホ用のCSS */
/*-----------------------------------------------------*/
@media only screen and (max-width: 599px) {

    .container {
        width: 100%;
        background-image: url(../img/works-background.webp);
        background-attachment: fixed;
        background-repeat: repeat;
        background-size: contain;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    img {
        pointer-events: none;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-touch-callout: none;
        -moz-user-select: none;
        user-select: none;
        -webkit-touch-callout: none
    }

    /* -----------------↓ハンバーガーメニューコピペ------------ */

    /*==================================================
    　5-2-4 MENUがCLOSEに
    ===================================*/

    /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
    .openbtn {
        position: relative;
        /*ボタン内側の基点となるためrelativeを指定*/
        background: #d23918;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 5px;
    }

    /*ボタン内側*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: #fff;
        width: 45%;
    }


    .openbtn span:nth-of-type(1) {
        top: 13px;
    }

    .openbtn span:nth-of-type(2) {
        top: 19px;
    }

    .openbtn span:nth-of-type(3) {
        top: 25px;
    }

    .openbtn span:nth-of-type(3)::after {
        content: "Menu";
        /*3つ目の要素のafterにMenu表示を指定*/
        position: absolute;
        top: 5px;
        left: -2px;
        color: #fff;
        font-size: 0.6rem;
        text-transform: uppercase;
        font-family: "Zen Kaku Gothic New", serif;
        ;
    }

    /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(3)::after {
        content: "Close";
        /*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top: 5px;
        left: 4px;
    }

    /* ----------------↑ハンバーガーメニューコピペ--------------- */

    /*========= ↓ナビゲーションのためのCSS ===============*/

    /*アクティブになったエリア*/
    #g-nav.panelactive {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        top: 0;
        width: 100%;
        height: 100vh;
    }

    /*丸の拡大*/
    .circle-bg {
        position: fixed;
        z-index: 3;
        /*丸の形*/
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background: #d23918;
        /*丸のスタート位置と形状*/
        transform: scale(0);
        /*scaleをはじめは0に*/
        right: -50px;
        top: -50px;
        transition: all .6s;
        /*0.6秒かけてアニメーション*/
    }

    .circle-bg.circleactive {
        transform: scale(50);
        /*クラスが付与されたらscaleを拡大*/
    }

    /*ナビゲーションの縦スクロール*/
    #g-nav-list {
        display: none;
        /*はじめは表示なし*/
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #g-nav.panelactive #g-nav-list {
        display: block;
        /*クラスが付与されたら出現*/
    }

    /*ナビゲーション*/
    #g-nav ul {
        opacity: 0;
        /*はじめは透過0*/
        /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /*背景が出現後にナビゲーションを表示*/
    #g-nav.panelactive ul {
        opacity: 1;
    }

    /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
    #g-nav.panelactive ul li {
        animation-name: gnaviAnime;
        animation-duration: 1s;
        animation-delay: .2s;
        /*0.2 秒遅らせて出現*/
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes gnaviAnime {
        0% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }


    /*リストのレイアウト設定*/
    #g-nav li {
        text-align: center;
        list-style: none;
    }

    #g-nav li a {
        color: #fff;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        font-size: 20px;
        font-family: "Tilt Warp", serif;
        ;
    }


    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 9999;
        /*ボタンを最前面に*/
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #fff;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 13px;
    }

    .openbtn span:nth-of-type(2) {
        top: 20px;
    }

    .openbtn span:nth-of-type(3) {
        top: 28px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    /* ------------------↑ナビコピペ5-1-20--------------- */

    .title {
        width: 70%;
        background-color: #D23918;
        border-radius: 60px;
        text-align: center;
        margin: 0 auto 20px auto;
        border: 1px solid #EEE9E4;
    }

    .title h1 {
        color: white;
        font-size: 50px;
        font-family: "Tilt Warp", serif;
        ;
        letter-spacing: 8px;
    }

    .works {
        /* background-color: white; */
        width: 90%;
        /* border: 1px solid #FF789F; */
        display: flex;
        text-align: center;
        margin: 0 auto;
        flex-wrap: wrap;
        padding-bottom: 7%;
    }

    .w1,
    .w2,
    .w3,
    .w4,
    .w5,
    .w6 {
        /* background-color: #EEE9E4; */
        background-color: #fff;
        width: 85%;
        text-align: center;
        margin: 7% auto 0 auto;
        padding-top: 3%;
        padding-bottom: 3%;
        box-shadow: 15px 15px 5px -5px #E5D6DB;
    }

    /* -------------↓写真のホバーをコピペ------------- */

    .image_link {
        display: block;
        width: 90%;
        position: relative;
        text-decoration: none;
    }

    .image_link img {
        display: block;
        margin-left: 10%;
        width: 100%;
    }

    .image_link:before {
        content: "";
        display: block;
        width: 90%;
        height: 100%;
        margin-left: 10%;
        position: absolute;
        z-index: 2;
        background: #000;
        /*好みの色に変えてください。*/
        opacity: 0;
        transition: 0s;
    }

    .image_link:after {
        content: "READ MORE";
        /*好みの文章に変更してください。*/
        display: block;
        color: #fff;
        line-height: 48px;
        width: 180px;
        border: solid 1px #fff;
        border-radius: 5px;
        text-align: center;
        position: absolute;
        top: 40%;
        left: 50%;
        margin-top: -1em;
        margin-left: -75px;
        opacity: 0;
        z-index: 3;
        transition: 0s;
        font-weight: bold;
        letter-spacing: 0.2em;
    }

    .image_link:hover:before {
        opacity: 0.5;
    }

    .image_link:hover:after {
        opacity: 1;
        margin-top: -0.5em;
    }

    /* ---------↑写真のホバーをコピペ---------------- */

    .works img {
        width: 90%;
        box-shadow: 10px 10px 5px -5px #B9B9B9;
    }

    .works h2 {
        color: black;
        font-size: 23px;
        letter-spacing: 2px;
        font-family: "Zen Kaku Gothic New", serif;
        ;
        padding-top: 3%;
    }

    .works p {
        color: black;
        font-size: 18px;
        font-family: "Zen Kaku Gothic New", serif;
        ;
    }

    .footer {
        background-color: #FFCE4E;
        width: 100%;
    }

    .footer1 {
        /* background-color: #FFCE4E; */
        width: 20%;
        text-align: center;
        margin: 0 auto;
        padding: 40px 0;
    }

    .footer1 img {
        width: 45%;
    }

    .footer1 p {
        color: white;
        font-size: 12px;
        font-family: "Tilt Warp", serif;
        ;
        font-weight: normal;
    }

}