@charset "UTF-8";

@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}



@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h2 {
        font-size: 1.75em;
        display: inline-block;
        margin-bottom: 50px;
        margin-top: 0px;
    }
    
#top-page h2 {
        font-size: 1.75em;
        display: inline-block;
        margin-bottom: 50px;
        margin-top: 0px;
    }    

    /*以下で線を表示*/
    h2:before {
        bottom: -8px;
    }

    h3 {
        font-size: 1.5em;
        margin-top: 10px;
    }

    .bg_oblique_line {
        width: 100%;
    }

}

/*↓------------header開始------------↓*/

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

    header {
        height: 50px;
        margin-top: -50px;
    }

    #headerArea {
        height: 50px;
        position: relative;
    }

    /*↓------------menu開始------------↓*/
    #globalMenuSp {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        background: #fff;
        color: #000;
        text-align: center;
        transform: translateY(-100%);
        transition: all 0.6s;
        width: 100%;
    }

    #globalMenuSp ul {
        background: #FFF;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    #globalMenuSp ul li {
        list-style-type: none;
        padding: 0;
        width: 100%;
    }

    #globalMenu li {
        margin: 0px;
    }

    /* 最後はラインを描かない */
    #globalMenuSp ul li:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    #globalMenuSp ul li a {
        display: block;
        color: #707070;
        padding: 0.5em 0;
        margin-bottom: 10px;
    }

    #globalMenuSp.active {
        transform: translateY(0%);
        border-bottom: 1px solid #ddd;
    }

    #navToggle {
        display: block;
        position: fixed;
        right: 20px;
        top: 8px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 3;
        background: #FFF;
        text-align: center;
    }

    #navToggle span {
        display: block;
        position: absolute;
        /* .nav_toggleに対して */
        width: 24px;
        border-bottom: solid 3px #707070;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
        left: 6px;
    }

    #navToggle span:nth-child(1) {
        top: 9px;
    }

    #navToggle span:nth-child(2) {
        top: 17px;
    }

    #navToggle span:nth-child(3) {
        top: 25px;
    }

    #navToggle span:nth-child(4) {
        border: none;
        color: #eee;
        font-weight: bold;
        top: 34px;
    }

    #globalMenu {
        padding-top: 65px;
        display: block;
    }

    /*↑------------menu終了------------↑*/

    #contentsArea {
        margin-top: 50px;
    }

    #topImgArea {
        height: 210px;
        color: #707070;
        background-size: cover;
        align-items: center;
    }

    #topCatchText {
        font-size: 24px;
        line-height: 34px;
        top: calc(50% - 100px);
    }

    /* 最初のspanをマイナス45度に */
    #navToggle.active span:nth-child(1) {
        top: 18px;
        left: 6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    /* 2番目と3番目のspanを45度に */
    #navToggle.active span:nth-child(2),
    #navToggle.active span:nth-child(3) {
        top: 18px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #logo {
        margin-left: 0px;
        width: 164px;
        position: absolute;
        bottom: 8px;
    }


    .sp_br {
        display: block;
    }

    .pc_br {
        display: none;
    }

    /*↑------------header終了------------↑*/
    /*↓------------TOP開始------------↓*/

    #topCatchTextSub {
        line-height: 20px;
    }

    /*↑------------TOP終了------------↑*/
    /*↓------------Services開始------------↓*/
 #top-page #servicesArea {
        margin: 0px;
        padding: 40px 20px 10px;
    }

#top-page #servicesArea h2 {
        margin-bottom: 20px;
        padding: 0px;
    }

    #servicesArea h3 {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    #servicesArea h3:first-child {
        margin-top: 10px;
    }

    #servicesArea p {
        text-align: left;
        margin-bottom: 20px;
    }

    .service_box {
        max-width: 100%;
        margin-top: 10px;
        margin-bottom: 0;
        margin-right: 0px;
    }

    .service_box a {
        font-size: 90%;
    }

    .service_box img {
        width: 100%;
        margin: 0 auto;
        max-width: 300px;
    }

    .service_box p {
        max-width: 400px;
        padding: 0px;
        text-align: left;
        margin: 10px auto 30px;
    }

    .gokiwan {
        display: none;
    }

    .services_link_area {
        margin-top: 0px;
        display: block;
        position: static;
    }


    .service_box_text {
        position: static;
        margin-bottom: 20px;
    }

    .services_link_area .fa-facebook {
        float: right;
        font-size: 170%;
        margin: 22px 20px 0px 0px;
    }

    .services_link_area .fa-twitter {
        float: right;
        font-size: 160%;
        margin: 11px 8px 0px 0px;
    }

    .service_box_btn {
        float: right;
        margin-bottom: 20px;
    }

    #servicesArea .flex {
        display: block;
    }

    #serviceBoxContactBtn {
        margin-top: 0px;
    }


    @media (orientation: landscape) {
        #servicesArea {
            width: 60%;
            margin: 40px auto;
        }
    }

    /*↑------------Services終了------------↑*/
    /*↓------------プロダクトポリシー開始------------↓*/

    #productPolicyArea p {
        text-align: left;
    }
    #productPolicyArea #product_policy {
        margin: 0px auto 20px;
        letter-spacing: 0px;
        font-size: 1.3em;
        text-align: center;
        padding: 0.5em 1.2em;
    }
    #productPolicyArea {
        max-width: 600px;
        margin: 0 auto;
        padding: 0px 20px 60px;
    }
    #productPolicyArea h3{
        margin-bottom: 20px;
    }
    /*↑------------プロダクトポリシー終了------------↑*/
    /*↓------------Recruit開始------------↓*/
    #recruitArea {
        max-width: 600px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    #recruitArea h2 {
        margin-bottom: 20px;
        padding: 0px;
    }

    #recruitArea h3 {
        padding: 0 20px;
        line-height: 1.5em;
        margin: 15px 0px 20px;
    }


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

    .tab1_label,
    .tab2_label {
        padding: 0.5em;
    }

    @media (orientation: landscape) {
        #recruitArea {
            width: 80%;
            margin: 40px auto;
        }
    }


    /*↓------------table開始------------↓*/

    .recruit_wrap table {
        margin: 10px auto 30px;
    }

    .recruit_wrap table th,
    .recruit_wrap table td {
        width: 100%;
        display: block;
        padding: 20px;
    }

    .recruit_wrap table td:last-child {
        margin-bottom: 20px;
    }

    .recruit_wrap table a {
        width: 100%;
        text-align: center;
        background-color: #707070;
    }

    .job_btn {
        padding: 10px;
        margin-top: 10px;
    }

    /*↑------------table終了------------↑*/
    /*↓------------gallery開始------------↓*/


    .gallery_wrap {
        width: 100%;
        margin: 0 auto;
        padding-bottom: 100px;
    }

    .gallery_wrap h3 {
        margin-bottom: 30px;
        margin-top: 60px;
    }

    .gallery_wrap img {
        width: 30%;
    }


    /*↑------------gallery終了------------↑*/
    /*↑------------Recruit終了------------↑*/
    /*↓------------WorkStyle開始------------↓*/

    #workStyleArea {
        max-width: 600px;
        margin: 0 auto;
        padding: 40px 20px 20px;
    }

    #workStyleArea h2 {
        margin-bottom: 30px;
        margin-top: 0px
    }

    #workStyleArea h3 {
        margin-top: 0px;
        margin-bottom: 20px;
    }

    #workStyleArea p {
        text-align: left;
    }

    #systemArea {
        margin: 20px 0px 20px;
        padding: 0px;
    }

    #workStyleArea .flex {
        display: block;
    }

    .system_item {
        max-width: 100%;
        border-top: solid 1px #e5e5e5;
        padding: 20px 0;
    }

    .system_item:last-child {
        border-bottom: solid 1px #e5e5e5;
    }

    .system_item p {
        margin-bottom: 20px;
    }

    @media (orientation: landscape) {
        #workStyleArea {
            width: 80%;
            margin: 0 auto;
        }
    }
    /*行動指針*/
    #behavioralArea h3{
        margin-top: 30px;
    }
    #behavioral_box {
        max-width: 950px;
        margin: 20px auto 40px;
        line-height: 1.5em;
    }
    .behavioral_item {
        width: calc(100% / 2 - 20px * 1/ 2);
        margin-right: 20px;
        margin-bottom: 20px;
        padding: 10px;
    }
    .behavioral_text{
        margin-top: 0px;
    }
    .behavioral_item:nth-child(3n){
        margin-right: 20px;
    }
    .behavioral_item:nth-child(2n){
        margin-right: 0px;
    }
    #behavioralArea .behavioral_item .item_heading {
        margin-bottom: 5px;
        text-align: center;
    }


    /*↑------------WorkStyle終了------------↑*/
    /*↓------------Company開始------------↓*/
    #companyArea {
        max-width: 600px;
        margin: 0 auto;
    }

    #companyArea h2 {
        margin-bottom: 30px;
        padding: 0px;
    }

    #companyArea h3 {
        margin-top: 15px;
        margin-bottom: 20px;
    }
    .company_wrap p {
        text-align: left;
    }

    .company_wrap_SP {
        margin: 0 auto;
    }

    .company_wrap {
        padding: 40px 20px 50px;
    }

    #company_text_right,
    #company_text_left {
        width: 100%;
        text-align: left;
        float: none;
    }

    #company_text {
        width: 100%;
        margin: 0 auto;
        line-height: 1.5em;
    }

    .underline {
        border-bottom: solid 1px #a0a0a0;
        margin-top: 20px;
        margin-bottom: 5px;
    }


    @media (orientation: landscape) {
        #companyArea {
            width: 80%;
            margin: 0 auto;
        }
    }

    /*↑------------Company終了------------↑*/
    /*↑------------賛同企業開始------------↑*/

    #supportingArea {
        margin-top: 20px;
    }
    .supporting_item {
        position: static;
        max-width: 400px;
    }
    .supporting_item a img {
        width: 50%;
        padding: 10px;
        background-color: #fff;
    }
    /*↑------------賛同企業終了------------↑*/
    /*↓------------access開始------------↓*/

    #accessArea {
        width: 100%;
        margin: 0 auto;
    }

    #accessText {
        width: 100%;
        text-align: left;
        float: none;
        margin-right: 20px;
        padding-bottom: 40px;
        line-height: 1.5em;
    }

    iframe {
        height: 100%;
    }

    /*↓------------map開始------------↓*/

    #map {
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
    }

    .tab_panel {
        border: 0;
        min-height: 200px;
    }


    .panel_area {
        padding: 15px;
    }

    .tab_area {
        margin: 0px;
    }

    .tab1_label,
    .tab2_label {
        margin: 0px 0px 0px 5px;
    }


    /*↑------------map終了------------↑*/
    /*↑------------access終了------------↑*/
    /*↓------------News開始------------↓*/

    span.text_icon {
        display: inline-block;
        background: #707070;
        padding: 2px 5px;
        margin-right: 8px;
        /* 先行する文字列との間隔 */
        vertical-align: middle;
        /* 先行する文字列と上下中央揃え */
        color: #FFF;
        letter-spacing: 0.2em;
        font-size: 0.7em;
    }

    #newsArea {
        max-width: 600px;
        margin: 0 auto;
        padding: 40px 20px 60px;
    }

    #newsArea h2 {
        letter-spacing: 0.16em;
        margin-top: 0px;
        margin-bottom: 30px;
    }


    #news_box {
        width: 100%;
        margin: 0px;
        line-height: 1em;
    }


    .news_text,
    .date {
        float: none;
        width: 100%;
        line-height: 1.5em;
    }


    @media (orientation: landscape) {
        #newsArea {
            width: 80%;
            margin: 0 auto;
        }
    }

    /*↑------------News終了------------↑*/
    /*↓------------お問い合わせフォーム開始------------↓*/

    #contactArea h2 {
        margin-bottom: 30px;
        margin-top: 40px;
    }

    #contactArea {
        margin: 0 auto;
        padding: 0px;
    }

    #contactArea {
        margin: 0px 20px;
    }

    @media (orientation: landscape) {
        #contactArea {
            width: 80%;
            margin: 0px auto;
        }
    }

    /*↓------------送信ボタン開始------------↓*/
    .contact_submit {
        width: 160px;
        height: 60px;
        background-color: #FFF;
        margin: 20px auto;
    }

    .submit {
        width: 160px;
        height: 60px;
        letter-spacing: 4px;
        background-color: #FFF;
        color: #707070;
        border-style: none;
    }

    /*↑------------送信ボタン終了------------↑*/
    /*↓------------枠デザイン開始------------↓*/
    .cp_iptxt,
    textarea {
        position: relative;
        margin: 0px 0px 20px;
    }

    .cp_iptxt input[type=text],
    input[type=email],
    textarea[type=text] {
        box-sizing: border-box;
        width: 100%;
        padding: 0.7em;
        transition: 0.3s;
        border: 2px solid #FFF;
        outline: none;
        color: #707070;
        font-family: 'Noto Sans Japanese', serif;
    }

    textarea {
        height: 120px;
        color: #FFF;
    }

    /*↑------------枠デザイン終了------------↑*/
    /*↑------------お問い合わせフォーム終了------------↑*/
    /*↑------------footer開始------------↑*/

    footer {
        padding: 10px 0;
        height: 60px;
    }

    #footerArea p {
        color: #FFF;
        float: none;
        margin-right: 0px;
        line-height: 1.5em;
        font-size: 85%;
        padding: 0px;
    }

   li.first-list{
        width:80%;
        margin:0 auto;
        margin-top:3.5%;
        position:relative;
    }

   li.first-list a{
       width:100%;
       display:block;
       padding: 2.8% 0;
   }    
    
    li a:after{
    font-family: "Font Awesome 5 Free";
    speak: none;
    font-style: normal;
    font-weight: 900;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.5rem;
    content: "\f107";
    position:absolute;
    top:35px;
    right:14px;
    }
    

.first-list-ul{
        width:80%;
        display:block;
        margin-top:50px;
    }

}


/*↓------------footer終了------------↓*/




@media screen and (max-width:768px) {
.img-pr{
        width:100%;
}

.service-box{
    margin-left:2%;
    margin-right:2%;

}

.service-box .service-box-in{
    width:100%; 
    margin:0 auto; 
    margin-top:20px; 
    position:relative;
}


.service-box .service-box-in .service-box-in-box{
    border:1px solid; 
    padding:6% 5% 13% 5%;
}

.service-box .service-box-in .service-box-in-boxstyle{
    display:block;
}

.service-box .service-box-in .service-box-in-boxstyle .service-box-in-boxstyle-text{
    width:100%;
}

.service-box .service-box-in .price-table-box1{
    padding:0px;
}

.service-box2 .service-box2-in{
    width:100%;
    margin:0 auto; 
    margin-top:20px; 
    position:relative;
}

.service-box .service-box-icon{
    width:35%;
}

/*↓------------mainvideo開始------------↓*/
    #topImgArea video{
        width:100%;
        overflow:hidden;
        
    }





}
