/*

Theme Name: tequos

*/
@media(max-width:968px) {
    * {
        margin: 0;
        padding: 0
    }

    html {
        scroll-behavior: smooth;
        font-size: 62.5%
    }

    body {
        position: relative;
        font-size: 1.6rem;
        letter-spacing: .025em;
        font-family: 'ﾃｦﾂｸﾂｸﾃｦﾋ愬ｽﾃｦﾅ督�', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif
    }

    .about_recruit_inner .btn_area a .btn_inner {
        padding: 20px;
        position: relative
    }

    .about_recruit_inner .btn_area a .btn_inner p {
        font-size: 16px;
        color: #333;
        margin-bottom: 10px
    }

    .about_recruit .bg_gray {
        padding: 0 20px
    }

    .cta_btn_area {
        width: 100%;
        margin: 30px auto;
        text-align: center;
        display: flex;
        justify-content: center;
        padding: 0 20px
    }

    .cta .sec_heading_area {
        text-align: center
    }

    .cta_btn_area a {
        background: #005fa8;
        display: inline-block;
        color: #fff;
        text-align: center;
        width: 100%
    }

    .cta_btn_area a .reception,
    .cta_btn_area a .time {
        font-size: 16px
    }

    .cta_btn_area a .tel_num {
        font-size: 22px
    }

    .reception_time {
        margin-bottom: 10px;
        font-size: 16px !important
    }

    .cta_btn_area_inner {
        padding: 10px
    }

    .cta {
        margin-bottom: 60px
    }

    .company_info {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        padding: 20px 20px 0;
        width: 100%
    }

    .footer {
        width: 100%;
        height: 60px;
        background: #000;
        display: flex;
        justify-content: center;
        align-items: center
    }

    .footer small {
        color: #fff
    }

    .btn_area {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0);
        width: 100%
    }

    .about_recruit {
        padding-bottom: 15px
    }

    .about_recruit_inner {
        display: flex;
        justify-content: center;
        column-gap: 20px;
        flex-wrap: wrap
    }

    .about_recruit_inner .box {
        position: relative;
        width: 80%;
        margin: 0 auto
    }

    .about_recruit_inner .image img {
        width: 100%;
        max-width: 100%
    }

    .about_recruit_inner .btn_area a {
        background: #fff;
        color: #c02020
    }

    .image_area .heading_area {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 100%;
        padding: 8px
    }

    .about_recruit_inner .btn_area a .btn_inner img {
        position: absolute;
        bottom: 15px;
        right: 15px
    }

    .box1 {
        position: relative;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        width: 50%;
        margin: 0 auto
    }

    .box2 {
        position: relative;
        bottom: 0;
        left: 0;
        transform: translate(0, 0);
        width: 50%;
        margin: 0 auto
    }

    .box3 {
        position: relative;
        bottom: 0;
        right: 0;
        width: 50%;
        margin: 0 auto
    }

    .item1,
    .item2,
    .item3 {
        width: 100%;
        max-width: 100%
    }

    .mission_inner {
        text-align: center
    }

    .mission .image_area {
        margin-bottom: 30px;
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        row-gap: 15px;
        justify-content: center;
        width: 100%
    }

    .mission {
        width: 100%;
        margin: 30px auto;
        padding: 0 20px
    }

    .mission .sec_ttl {
        margin-bottom: 30px
    }

    .three_mission_items p {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.6
    }

    .three_mission_items {
        display: flex;
        flex-direction: column;
        row-gap: 15px
    }

    .three_mission_items h3 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px
    }

    .mission .container .inner_box {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        padding: 20px 10px;
        border: 2px solid #000;
        box-sizing: border-box
    }

    .mission_inner p {
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 1.6
    }

    .ceo_messeage {
        margin: 30px auto 0;
        background: #333;
        padding: 20px
    }

    .ceo_messeage_outer {
        display: flex;
        justify-content: center;
        padding: 20px 0
    }

    .ceo_messeage_outer .inner_text_box {
        background: #fff;
        padding: 0 15px 15px
    }

    .ceo_messeage_outer .inner_text_box p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 0;
        text-align: justify
    }

    .ceo_messeage_outer .inner_text_box .ceo_name_area span {
        margin-left: 5px
    }

    .company {
        margin: 30px auto 0
    }

    .company .sec_heading {
        text-align: center;
        margin-bottom: 15px
    }

    .company_info dt {
        width: 33%;
        padding: 5px 0;
        font-size: 12px;
        line-height: 1.6;
        font-weight: lighter;
        border-bottom: 1px solid #000
    }

    .company_info dd {
        width: 67%;
        padding: 5px 0 5px 5px;
        font-size: 12px;
        font-weight: 400;
        line-height: 24px;
        border-bottom: 1px solid #ddd
    }

    .recruit .sec_heading {
        text-align: center;
        margin: 30px auto
    }

    .recruit .container {
        background: #eee;
        padding: 30px 20px
    }

    .recruit .box_item_inner .box_item .heading {
        padding-left: 10px;
        padding-top: 10px
    }

    .recruit .box_item_inner {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        row-gap: 15px
    }

    .recruit .box_item_inner .box_item h3 {
        margin-top: 15px;
        padding-left: 20px
    }

    .recruit .box_item_inner .box_item p {
        padding-left: 20px;
        padding-right: 10px;
        padding-bottom: 10px;
        font-size: 14px;
        line-height: 1.6
    }

    .recruit .box_item_inner .box_item {
        border-left: 10px solid #072d77;
        background: #fff
    }

    .breadcrumbs_list {
        width: 100%;
        display: flex;
        justify-content: center;
        font-size: 12px;
        margin: 30px 0 auto
    }

    a:hover {
        opacity: .7
    }

    .aviano_14_bold {
        font-family: aviano-future, sans-serif;
        font-weight: 700;
        font-size: 14px
    }

    .aviano_20_bold {
        font-family: aviano-future, sans-serif;
        font-weight: 700;
        font-size: 20px
    }

    .aviano_45_bold {
        font-family: aviano-future, sans-serif;
        font-weight: 700;
        font-size: 45px
    }

    .aviano_12_normal {
        font-family: aviano-future, sans-serif;
        font-weight: 400;
        font-size: 12px
    }

    .aviano_14_normal {
        font-family: aviano-future, sans-serif;
        font-weight: 400;
        font-size: 14px;
        color: #c02020
    }

    .aviano_16_normal {
        font-family: aviano-future, sans-serif;
        font-weight: 400;
        font-size: 12px
    }

    .breadcrumbs {
        margin-top: 30px;
        text-align: center;
        font-size: 16px;
        color: #333
    }

    .contents_large {
        margin: 30px auto 0;
        max-width: 1320px;
        width: 100%
    }

    .contents_middle {
        margin: 30px auto 0;
        max-width: 952px;
        width: 100%;
        display: flex;
        flex-direction: column;
        row-gap: 20px
    }

    .contents_bg_gray {
        margin-top: 15px;
        padding: 15px 0;
        width: 100%;
        background: #f4f4f4
    }

    .sec_heading_area {
        margin-bottom: 15px;
        text-align: center
    }

    .sec_ttl {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 5px
    }

    .contact_btn {
        background: #005fa8;
        text-decoration: none;
        color: #fff;
        font-weight: 700
    }

    .header_inner {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between
    }

    .header_nav {
        display: flex;
        align-items: center;
        column-gap: 35px;
        margin-right: 30px
    }

    .header_nav .nav_menu a {
        color: #333
    }

    .header_right {
        display: flex;
        align-items: center
    }

    .btn {
        text-decoration: none;
        color: #fff
    }

    .header_cta {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .header_cta_btn img {
        max-width: 100%
    }

    .header_cta_btn {
        width: 100%;
        padding: 15px 40px
    }

    .tel a span {
        margin-left: 5px
    }

    .btn_red {
        background: #c02020
    }

    .btn_black {
        background: #000
    }

    .cta_wrapper {
        display: flex;
        align-items: center;
        column-gap: 10px
    }

    #wrapper {
        position: relative;
        overflow: hidden
    }

    @media(min-width:961px) {
        .videowrap {
            height: 100vh;
            overflow: hidden;
            position: relative;
            width: 100vw
        }

        .videowrap::after {
            background-position: 0 0, 5px 5px;
            background-size: 3px 3px;
            content: "";
            display: block;
            height: 100%;
            left: 0;
            position: absolute;
            top: 0;
            width: 100%
        }

        video {
            min-height: 100vh;
            min-width: 100vw;
            position: relative;
            z-index: -1
        }

        .copy {
            position: absolute;
            top: 50%;
            left: 30%;
            transform: translate(-50%, -50%);
            white-space: nowrap;
            z-index: 1;
            color: #fff;
            font-size: 65px
        }

        .copy h1 {
            background: linear-gradient(270deg, #1472c5 0, #0a3963 100%) no-repeat padding-box;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 22px
        }

        .sub_copy {
            color: #000
        }

        .triangul {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 60.9375vw
        }

        .triangul img {
            height: 100%;
            max-width: 100%
        }
    }

    @media(max-width:960px) {
        * {
            margin: 0;
            padding: 0
        }

        .videowrap {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden
        }

        .videowrap::after {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            content: "";
            display: block;
            background: 0 0
        }

        video {
            min-width: 100vw;
            min-height: 100vh;
            position: relative;
            z-index: -1
        }

        @media (aspect-ratio:16/9),
        (min-aspect-ratio:16/9) {
            video {
                width: 100%;
                top: 50%;
                transform: translateY(-50%)
            }
        }

        @media (max-aspect-ratio:16/9) {
            video {
                height: 100%;
                left: 50%;
                transform: translateX(-50%)
            }
        }

        .copy {
            position: absolute;
            top: 50%;
            left: 59%;
            transform: translate(-50%, -50%) !important;
            z-index: 1;
            color: #fff;
            font-size: 30px;
            width: 100%
        }

        .copy h1 {
            background: linear-gradient(270deg, #1472c5 0, #0a3963 100%) no-repeat padding-box;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 15px
        }

        .sub_copy {
            color: #000
        }

        .triangul {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 60.9375vw
        }

        .triangul img {
            height: 100%;
            max-width: 100%;
            opacity: .8
        }
    }

    .sec_copy {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 15px;
        text-align: center
    }

    .policy_image_items {
        display: flex;
        justify-content: center;
        row-gap: 20px;
        column-gap: 35px;
        flex-wrap: wrap
    }

    .policy_image_items li {
        position: relative;
        font-size: 0;
        width: 80%
    }

    .policy_image_items li img {
        width: 100%;
        max-width: 100%;
        font-size: 0
    }

    .arrow_btn_area {
        width: 200px;
        margin: 20px auto 0
    }

    .arrow_btn_area .aviano_14_bold {
        margin-bottom: 5px
    }

    .arrow_btn_area a {
        text-align: left;
        color: #072d77
    }

    .policy_image_items li h3 {
        color: #fff;
        font-family: Noto Sans JP;
        font-size: 14px;
        background: rgba(51, 51, 51, .7);
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0
    }

    .policy {
        position: relative;
        z-index: 1;
        padding: 0 20px 20px
    }

    .big_wrapper {
        position: relative
    }

    .ff_noto {
        font-family: Noto Sans JP, serif
    }

    .estate_service_bg_container {
        background-image: url(../img/top/top_08.png);
        background-position: bottom center;
        background-repeat: no-repeat;
        background-size: cover;
        padding-top: 126px;
        margin-top: -96px;
        position: relative;
        z-index: 0
    }

    .estate_service_container {
        max-width: 1320px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        column-gap: 150px;
        flex-wrap: wrap;
        padding-bottom: 65px;
        padding-left: 20px;
        padding-right: 20px
    }

    .estate_service_container .left {
        width: 100%
    }

    .estate_service_container .left p {
        font-size: 14px;
        line-height: 1.6
    }

    .estate_service_items_list {
        display: flex;
        flex-direction: column;
        row-gap: 16px
    }

    .estate_service_items_list li {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        background: #fbfbfb;
        color: #000;
        padding: 10px 0
    }

    .estate_service_container .right {
        width: 100%
    }

    .consulting_inner {
        text-align: center;
        padding: 0 20px
    }

    .consulting_service_items {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        column-gap: 53px;
        row-gap: 20px
    }

    .consulting_inner p {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.6
    }

    .consulting_service_items li {
        width: 80%
    }

    .mv_heading {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
        padding: 10px 6px;
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        background: #333;
        width: 90%;
        margin-top: 34px
    }

    .sec_sub_heading {
        font-size: 12px
    }

    .ceo_messeage_outer .inner_text_box h3 {
        text-align: center;
        margin-bottom: 15px;
        margin-top: 15px
    }

    .recruit_desc {
        margin: 30px auto 0
    }

    .three_mission_items .sec_sub_heading {
        font-size: 10px
    }

    .mission .image_area .parent_circle p {
        margin-top: 10px;
        text-align: center;
        font-size: 12px
    }

    .mission .image_area .parent_circle h3 {
        font-size: 18px;
        margin-bottom: 5px
    }

    .mv_area_image {
        width: 100%;
        position: relative;
        z-index: -1;
        padding-top: 68px
    }

    .header {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: absolute;
        z-index: 99;
        top: 0;
        left: 0;
        transform: translate(0, 0)
    }

    .access_map {
        margin: 0 auto;
        padding: 0 20px;
        width: 100%
    }

    .access .sec_ttl {
        text-align: center;
        margin-bottom: 15px
    }

    .parent_circle {
        width: 80%
    }

    .sp_Header_ul {
        padding: 8px;
        background: #fff
    }

    .sp_Header {
        padding: 8px;
        background: 0 0
    }

    .sp_header_wrap {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: absolute;
        z-index: 99;
        top: 0;
        left: 0;
        transform: translate(0, 0)
    }

    .contact_mv {
        width: 100%;
        position: relative;
        z-index: -1;
        padding-top: 68px;
		height:250px;
		background-image:url(https://tequos.jp/wp-content/themes/tequos/img/contact/contact_05-sp.png)
    }
}