@media screen and (min-width: 768px) {

    /*****works*****/
    p.works_intro {
        padding: 0 20px;
        margin-bottom: 25px;
    }

    .works_box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .works_item {
        width: 360px;
        height: 150px;
        margin-bottom: 30px;
    }

    .works_item a {
        display: flex;
        align-items: center;
        background: #fff;
        color: #111;
        box-shadow: 0 0 15px -5px rgba(0, 0, 0, 0.2);
    }

    .works_item a:hover {
        background: #f5f5f5;
        color: #00a0ea;
        box-shadow: none;
    }

    .works_item_img img {
        width: 180px;
        height: 150px;
        object-fit: cover;
        font-family: 'object-fit: cover';
        object-position: center;
    }

    .works_item p {
        display: block;
        margin-left: 20px;
    }


    .works_rn_bnr a {
        width: 750px;
        margin: 0 auto;
        display: block;
        background: #fff;
    }

    .works_rn_bnr a:hover {
        background: #f5f5f5;
    }

    /*****works detail*****/
    .works_img {
        margin: 0 15px 30px;
    }

    .works_img ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .works_img li {
        width: 370px;
        margin-bottom: 20px;
    }

    .works_img li img {
        width: 370px;
        height: 300px;
        object-fit: cover;
        font-family: 'object-fit: cover';
        object-position: center;
    }

    .works_img li a {
        display: block;
        transition: all .5s;
    }

    .works_img li a:hover {
        filter: brightness(70%);
    }

    .works_tag {
        border: 5px solid #acdef7;
        padding: 20px;
        box-sizing: border-box;
        margin: 0 15px;
        margin-bottom: 20px;
    }

    .works_tag_ttl {
        display: flex;
        align-items: center;
        border-bottom: 2px solid #ff8b3c;
        margin-bottom: 20px;
        font-size: 18px;
        font-weight: bold;
        padding: 0 10px 5px;
    }

    .works_tag_ttl i {
        color: #ff8b3c;
        margin-right: 10px;
    }

    ul.works_tag_box {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .works_tag_box li {
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .works_tag_box li a {
        display: block;
        color: #fff;
        background: #00a0ea;
        border-radius: 30px;
        padding: 0 20px;
        line-height: 35px;
    }

    .works_tag_box li a:hover {
        background: #0062cb;
    }

    .works_back {
        width: 760px;
        margin: 0 auto;
        display: block;
        border-top: 1px solid #ccc;
        padding-top: 10px;
    }

    .works_back a {
        width: 225px;
        color: #111;
        display: flex;
        align-items: center;
        line-height: 38px;
    }

    .works_back a:hover {
        color: #00a0ea;
    }

    .works_back a i {
        color: #00a0ea;
        margin-right: 10px;
    }

    .works_rn_box {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .works_rn_before {
        width: 250px;
    }

    .works_rn_before_img {
        position: relative;
    }

    .works_rn_before_img img {
        width: 250px;
        height: 170px;
        object-fit: cover;
        font-family: 'object-fit: cover';
        object-position: center;
    }

    .works_rn_before_img span {
        display: block;
        color: #fff;
        background: #00a0ea;
        width: 80px;
        line-height: 30px;
        text-align: center;
        position: absolute;
        left: 0;
        bottom: 0;
    }

    .works_rn_before_arrow {
        margin-top: 10px;
        display: block;
        float: right;
    }

    .works_rn_after {
        width: 500px;
        position: relative;
    }

    .works_rn_after img {
        width: 500px;
        height: 320px;
        object-fit: cover;
        font-family: 'object-fit: cover';
        object-position: center;
    }

    .works_rn_after a {
        display: block;
        transition: all .5s;
    }

    .works_rn_after a:hover {
        filter: brightness(70%);
    }

    .works_rn_after span {
        display: block;
        color: #fff;
        background: #ff8b3c;
        width: 70px;
        line-height: 30px;
        text-align: center;
        position: absolute;
        left: 0;
        bottom: 0;
    }


    /*****contact*****/
    .contact_wrap {
        width: 100%;
        flex-shrink: 0;
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .contact_intro {
        margin-bottom: 30px;
    }

    .contact_intro p {
        text-align: center;
    }

    .contact_inq {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 40px;
    }

    .contact_inq div {
        width: 350px;
        height: 90px;
        margin: 0 5px;
        border: 1px solid #ccc;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .contact_inq div span {
        font-size: 13px;
        text-align: center;
        color: #888;
        display: block;
        margin-bottom: 2px;
    }

    .contact_inq div p {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 37px;
        line-height: 30px;
        font-weight: bold;
    }

    .contact_inq div i {
        color: #888;
        font-size: 25px;
        margin-right: 5px;
    }

    .contact_tel a {
        display: block;
        padding-top: 12px;
        padding-bottom: 19px;
    }

    .contact_tel a p {
        color: #ff8b3c;
    }

    .contact_fax {
        padding-top: 12px;
    }

    .contact_fax p {
        color: #ffa621;
    }

    .contact_form {
        width: 850px;
        margin: 0 auto;
    }

    .contact_table {
        border: 5px solid #00a0ea;
        width: 100%;
        box-sizing: border-box;
        padding: 50px;
    }

    .contact_table table,
    .contact_table tbody {
        width: 100%;
        border: none;
    }

    .contact_table tr {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding-bottom: 40px;
        line-height: 28px;
    }

    .contact_table th {
        margin-top: 5px;
        background: #fff;
        border: none;
        padding: 0;
    }

    .contact_table th p {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 210px;
        background: #fff;
        border: none;
        padding: 0;
    }

    .contact_table th span {
        color: #ff0000;
        width: 50px;
        text-align: center;
        display: block;
        font-weight: bold;
        border: 2px solid #ff0000;
    }

    .contact_table td {
        width: 470px;
        border: none;
        padding: 0;
    }

    .contact_table tr input {
        width: 100%;
        font-size: 16px;
        line-height: 40px;
        border: 1px solid #ccc;
        padding: 0 15px;
    }

    .wpcf7-checkbox {
        display: flex;
    }

    .wpcf7-list-item {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        margin: 0 !important;
        line-height: 42px;
    }

    .wpcf7-list-item label {
        display: flex;
        align-items: center;
        margin-right: 50px;
    }

    .contact_table tr:last-child .wpcf7-list-item label {
        margin-right: 0;
    }

    .wpcf7-list-item label:hover {
        cursor: pointer;
        color: #888;
    }

    .wpcf7-list-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        border: 1px solid #ccc;
        border-radius: 0;
        margin-right: 10px;
    }

    .contact_txt {
        font-size: 13px;
        line-height: 20px;
        color: #888;
        margin-bottom: 10px;
    }

    .contact_table td textarea {
        width: 100%;
        border: 1px solid #ccc;
        border-radius: 0;
        box-sizing: border-box;
        padding: 10px 15px;
        font-size: 16px;
    }

    .contact_privacy {
        text-align: center;
        margin-bottom: 40px;
        border-top: 1px solid #ccc;
        padding-top: 40px;
    }

    .contact_privacy p:first-child {
        display: block;
        margin-bottom: 5px;
        font-size: 14px;
        line-height: 22px;
    }

    .contact_privacy a {
        display: inline;
        color: #00a0ea;
    }

    .contact_privacy a:hover {
        color: #0062cb;
        text-decoration: underline;
    }

    .contact_privacy .wpcf7-list-item label {
        margin-right: 0;
    }

    .contact_btn {
        width: 300px;
        margin: 0 auto;
    }

    .contact_btn input[type="submit"] {
        width: 270px;
        background: #00a0ea;
        color: #fff;
        font-weight: bold;
        font-size: 25px;
        line-height: 75px;
        border: none;
        border-radius: 5px;
        padding: 0;
    }

    .contact_btn input[type="submit"]:hover {
        cursor: pointer;
        background: #0062cb;
    }

    .contact_btn input[type="submit"]:disabled {
        cursor: not-allowed;
        background: #00a0ea;
    }

    .wpcf7-spinner {
        position: absolute !important;
        margin: 0 10px !important;
    }

    .contact_recapcha {
        font-size: 13px;
        line-height: 20px;
        padding-top: 20px;
        text-align: center;
    }

    .contact_recapcha a {
        display: inline-block;
        color: #00a0ea;
    }

    .contact_recapcha a:hover {
        color: #0062cb;
        text-decoration: underline;
    }


    /*****privacy*****/
    .privacy_wrap {
        padding-top: 20px;
        padding-bottom: 50px;
        width: 100%;
    }

    .privacy_box {
        width: 900px;
        margin: 0 auto;
        display: block;
    }

    .privacy_item {
        margin-bottom: 40px;
    }

    .privacy_item h3 {
        margin-bottom: 12px;
        display: block;
    }

    .privacy_item ul {
        margin-bottom: 15px;
    }

    .privacy_item li {
        list-style: disc;
        margin-left: 30px;
    }

    .privacy_item a {
        display: block;
        color: #00a0ea;
    }

    .privacy_item a:hover {
        color: #0062cb;
        text-decoration: underline;
    }

}