.main_v {
        width: 100%;
    height: 100svh;
        padding: 48px 85px 40px 48px;
    opacity: 0;
    transition: 0.3s ease;
}
.set_fix2 .main_v {
    opacity: 1;
}


.main_v_in {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: 1fr minmax(163px, 25.07225%);
    grid-template-rows: auto 1fr;
        grid-template-areas:
        'img main'
        'img space';
     gap: min(10.6667vh, 96px) clamp(32px, 3.95314vw, 54px);
}


/****メインテキスト***/
.main_v-main {
    grid-area: main;
    overflow: hidden;
    padding-top: clamp(12px, 3.4444vh, 18px);
}


.main_v_in_logo {
    max-width: 400px;
    overflow: hidden;
}

.main_v_in_nav {
        display: block;
        margin: 24px 0 16px;
        margin: clamp(14px, 6.6667vh, 82px) 0 0;
        overflow: hidden;
}
.main_v_in_nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 8px;
    margin-left: 30px;
    }
.main_v_in_nav ul li {
        flex: 0 1 auto;
        display: flex;
        align-items: center;
    width: 100%;
        line-height: 1.2;
    margin-bottom: 20px;
    }

.main_v_in_nav ul li a {
        flex: 0 0 auto;
        display: block;
        font-weight: 700;
        font-size: 1.1rem;
        transition: all .5s ease;
        position: relative;
    }

.main_v_in_nav ul li a::after {
    display: block;
    position: absolute;
    bottom: -5px;
    content: "";
    height: 1px;
    width: 0%;
    left: 50%;
    background: #000;
    opacity: 0;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
}
.main_v_in_nav ul li a:hover::after {
    width: 90%;
    left: 5%;
    opacity: 50;
}

.main_v_in_nav ul li:not(:nth-last-of-type(1)):after {
        content: '│';
        flex: 0 0 auto;
        margin-left: 8px;
    }


.kv_box {
    grid-area: space;
    margin-top: 0;
    overflow: hidden;
}
.kv_box:before {
    content: '';
    display: block;
    width: auto;
    height: 100%;
    background-color:#E60012;
    border-right: 45px solid #05D805;
    
    transition: all 0.7s;
    transform: translate(0px, 105%);
    transition-delay: 0.4s;
    }

.set_fix2 .main_v .kv_box.on:before {
transform: translate(0px, 0px);
    }

/****メイン動画***/
.main_v-img {
    grid-area: img;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.main_v-img-fig {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
}
.main_v-img-fig video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
}
.main_v-img-txt {
    flex: 0 0 auto;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    mix-blend-mode: soft-light;
}
.main_v-img-txt img {
    transition: all 0.7s;
    transform: translate(0px, 105%);
    transition-delay: 0.4s;
}
.set_fix2 .main_v .main_v-img-txt.on img {
    transform: translate(0px, 0px);
}




@media screen and (max-width: 767px) {
    
.main_v {
    padding: 13vh 25px 30px 25px;
}
    
.main_v_in {
    display: block;
}
    
.main_v-main {
  width: 60%;
        overflow: hidden;
        padding-top: 0;
        position: fixed;
        top: 10px;
        left: 20px;
        z-index: 10;
        mix-blend-mode: multiply;
    transition: all .6s ease;
}   
    
.main_v-main.sc {
        width: 50%;
        top: 15px;
        left: 10px;
}    
    
    
.main_v_in_logo {
    max-width: inherit;
    overflow: hidden;
}
    
.main_v_in_nav {
        display: none;
}
    
.kv_box {
    margin-top: 20px;
    overflow: hidden;
    height: 10vh;
    position: absolute;
    bottom: 20px;
    left:auto;
    right: 25px;
    width: 65%;
}
.kv_box:before {
    background-color: #E60012;
    border-right: 25px solid #05D805;
}
    
.main_v-img {
    height: 70vh;
    }
    
.main_v-img-fig video {
    width: auto;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    margin-left: -40%;
}
    
.header-sns {
    display:none;
}    
    
.main_v-img-txt-sub {
    z-index: 1;
    width: 80%;
    overflow: hidden;
    position: absolute;
    top:40%;
    left: 10%;
}
    
    
}



/********60余年**********/

.prof_wrapp {
    width: 100%;
    overflow: hidden;
        position: relative;
    padding-top: 30px;
}
.prof_wrapp .prof_bg {
    overflow: hidden;
}
.prof_wrapp .prof_bg img {
       width: 100%;
    /*height: clamp(500px, 50.2196vw, 686px);*/
    }
.prof_wrapp .prof_text {
        width: 50%;
        margin-left: auto;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    }

.prof_wrapp .prof_text h2 {
    font-size: min(3.4vw, 55px);
    margin-bottom: 30px;
}
.prof_wrapp .prof_text p {
    font-size: 1.2em;
    text-align: center;
}

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

.prof_wrapp .prof_text {
    width: 100%;
}
.prof_wrapp .prof_text h2 {
    font-size: min(6.0vw, 55px);
    margin-bottom: 20px;
} 
    
.prof_wrapp .prof_text p {
    font-size: 1.3em;
    line-height: 220%;
    text-align: center;
}  
    
}




/**********アバウト***********/

.about_wrapp {
        padding: clamp(80px, 13.7628vw, 188px) 0 0;
    }
.about_wrapp .about_bunner {
    width: 90%;
    max-width: 1160px;
    margin: 0 auto;
    overflow: hidden;
}

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

.about_wrapp .about_bunner {
        width: 88%;
        margin: 0;
        overflow: hidden;
        margin-left: 3%;
}
.about_wrapp {
    padding: clamp(40px, 12.7628vw, 88px) 0 0;
}
    
    
}




/**********運営WEBサイト***********/


.websaite_wrapp {
        padding: clamp(80px, 13.7628vw, 188px) 0 0;
    }
.websaite_itle {
    width: 90%;
    max-width: 1250px;
    margin: 0 auto 55px;
    display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
    overflow: hidden;
}
.websaite_itle h2 {
    width: 25%;
    font-size: min(2.1vw, 30px);
    text-align: center;
}
.websaite_itle p {
    width: 73%;
    font-size: min(1.2vw, 16px);
    line-height: 250%;
}

.web_link_all {
       width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 80px;
    position: relative;
}

.web_link_all span {
    color: #b3c9b8;
    position: absolute;
    top: -0.8em;
    left: -0.8em;
    z-index: 2;
    letter-spacing: -0.05em;
    font-family: "Montserrat", sans-serif;
        font-size: min(5.8vw, 60px);
    font-weight: 700;
    		text-transform: uppercase;
			-ms-writing-mode: tb-rl;
			-webkit-writing-mode: vertical-rl;
			writing-mode: vertical-rl;
}

.web_link_wrapp {
    display: flex;
align-items: stretch;
justify-content: space-between;
flex-wrap: wrap;
    width: 100%
}
.web_link_wrapp .web_link_in {
    width: 49%;
    background: #F2F2F2;
 display: flex;
align-items: center;
    position: relative;
}

.web_link_wrapp .web_link_in a {
    display: block;
    padding: 6.7628vw 0 5.8vw;
    transition: all .5s ease;
}
.web_link_wrapp .web_link_in a::before {
   content: "";
    width: 100%;
    height: 100%;
    background: #666;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .5s ease;
}
.web_link_wrapp .web_link_in a:hover::before {
    opacity: 0.1;
}

.web_link_wrapp .web_link_in .logo_image {
    width: 60%;
    margin: 0 auto 30px;
    transition: all .5s ease;
    position: relative;
    z-index: 2;
}

.web_link_wrapp .web_link_in p {
    width: 65%;
    margin: 0 auto 40px;
    font-size: 0.9em;
    line-height: 220%;
    position: relative;
    z-index: 2;
}
.web_link_wrapp .web_link_in .bt_icon {
    position: absolute;
    z-index: 2;
    bottom: 10%;
   left: 50%;
   transform: translate(-50%,0%);
    width: 8%;
    margin: 0 auto;
    transition: all .5s ease;
}

.web_link_wrapp .web_link_in a:hover .logo_image {
    opacity: 0.9;
}

.web_link_wrapp .web_link_in a:hover .bt_icon {
    width: 10%;
    bottom:8%;
}

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

.websaite_wrapp {
    padding: clamp(60px, 12.7628vw, 88px) 0 0;
} 
    
.websaite_itle {
    width: 90%;
    margin: 0 auto 65px;
    display: block;
    text-align: center;
}
.websaite_itle h2 {
    width: 100%;
    font-size: min(5.1vw, 30px);
    text-align: center;
    margin-bottom: 30px;
}
.websaite_itle p {
    width: 100%;
    font-size: min(2.6vw, 16px);
    line-height: 220%;
    text-align: center;
}
    
.web_link_wrapp {
    display: block;
} 
.web_link_wrapp .web_link_in {
    width: 100%;
    margin-bottom: 20px;
} 
.web_link_wrapp .web_link_in p {
        font-size: min(2.9vw, 16px);
}
    
    
 .web_link_all {
    width: 90%;
    padding-bottom: 0px;
    position: relative;
}
    
    
.web_link_all span {
    top: 1em;
    left: -0.8em;
   font-size: min(9.1vh, 50px);
    font-weight: 700;
}
  
}


/********インスタ**********/

.follow_wrapp {
    background: #e60012;
    padding: 60px 0;
    text-align: center;
    margin-top: 80px
}
.follow_wrapp p {
    color: #fff;
    font-size: min(2.2vw, 20px);
    margin-bottom: 20px;
    overflow: hidden;
}
.follow_wrapp h3 {
    color: #fff;
    font-family: "Montserrat", sans-serif;
        font-size: min(4.8vw, 50px);
    font-weight: 700;
    overflow: hidden;
      margin-bottom: 30px;
}

.follow_wrapp ul.sns_link {
    width: 90%;
    max-width: 488px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.follow_wrapp ul.sns_link li {
      width: calc(208 / 488 *100%);
    display: block;
    overflow: hidden;
}
.follow_wrapp ul.sns_link li a {
    display: block;
    pointer-events: none;
}


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

.follow_wrapp {
    padding: 60px 0;
    margin-top: 80px;
}
.follow_wrapp p {
    color: #fff;
    font-size: min(4.2vw, 20px);
    margin-bottom: 20px;
    overflow: hidden;
}    
    
.follow_wrapp h3 {
    font-size: min(9.8vw, 50px);
    margin-bottom: 10px;
}
.follow_wrapp ul.sns_link {
    width: 60%;
    flex-wrap: wrap;
}  
.follow_wrapp ul.sns_link li {
    width: 46%;
    display: block;
    overflow: hidden;
}   
    
}

/*****中段の動画*****/

.mid_movie {
    width: 100%;
    height: 34vw;
    overflow: hidden;
   /*margin-top: 80px;*/
    position: relative;
}
.mid_movie::after {
    content: "";
    width: 100%;
    height: 100%;
    background: #333;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.3;
}


.mid_movie video {
    width: 100%;
    height: 100%;
     -o-object-fit: cover;
    object-fit: cover;
    transform: scale(1.01);
}

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

.mid_movie {
    width: 100%;
    height: 70vw;
}
    
}




/*****NEWS*****/

.news_wrapp {
     padding: clamp(60px, 13.7628vw, 168px) 0 80px;
}
.news_wrapp_in {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
align-items:flex-start;
justify-content: space-between;
flex-wrap: wrap;
}
.news_wrapp_in .news_title {
    width: calc(220 / 960* 100%);
    overflow: hidden;
}

.news_wrapp_in .news_title h3 {
    font-family: "Montserrat", sans-serif;
    font-size: min(3.2vw, 90px);
    line-height: 60%;
    padding-top: 10px;
}
.news_wrapp_in .news_title h3 span {
  font-size: min(4.3vw, 35px);
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  display: block;
}

.news_wrapp_in .news_detail {
   width: calc(655 / 960 *100%);
}

.news_wrapp_in .news_detail a {
    color: #0a64c3;
}
.news_wrapp_in .news_detail a:hover {
        color: #1283f9;
    text-decoration: underline;
}

.news_wrapp_in .news_detail dl {
    margin-bottom: 50px;
}
.news_wrapp_in .news_detail dl dt {
    margin-bottom: 10px;
}
.news_wrapp_in .news_detail dl dd {
    font-size: min(1.2vw, 16px);
}

.news_wrapp_in .news_detail dl dt span {
    background: #E60012;
    color: #fff;
    font-size: 0.9em;
    text-align: center;
    border-radius: 15px;
    padding: 0 15px 2px;
    margin-right: 10px;
}

.news_wrapp_in .news_detail dl dt span.company {
    background: #05D805;
}
.news_wrapp_in .news_detail dl dt span.reform {
       background: #8686a3;
}

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

.news_wrapp {
    padding: clamp(90px, 13.7628vw, 168px) 0 40px;
}
    
 .news_wrapp_in .news_title {
    width: calc(330 / 960* 100%);
}
.news_wrapp_in .news_detail {
    width: calc(620 / 960* 100%);
}  
    
.news_wrapp_in .news_title h3 {
    font-size: min(8vw, 90px);
}
.news_wrapp_in .news_title h3 span {
    font-size: min(6.3vw, 35px);
    line-height: 1.8;
    display: block;
}
    
.news_wrapp_in .news_detail dl {
    margin-bottom: 20px;
}
    
.news_wrapp_in .news_detail dl dd {
    font-size: 14px;
} 
    
    
}



/*****営業所案内*****/

.office_wrapp {
    background: #F2F2F2;
    padding: clamp(60px, 13.7628vw, 148px) 0 80px;
}

.office_wrapp .office_wrapp_in {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 50px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.office_wrapp .office_wrapp_in .office_photo {
     width: calc(730 / 1300 *100%);
    overflow: hidden;
}
.office_wrapp .office_wrapp_in .office_text {
     width: calc(490 / 1300 *100%);
}

.office_wrapp .office_wrapp_in .office_text h3 {
        font-family: "Montserrat", sans-serif;
    font-size: min(3.0vw, 80px);
    line-height: 60%;
    padding-top: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}
.office_wrapp .office_wrapp_in .office_text h3 span {
    display: block;
  font-size: min(3.8vw, 30px);
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
}

.office_wrapp .office_wrapp_in .office_text h4 {
  font-size: min(1.6vw, 20px);
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
    margin-bottom: 30px;
    overflow: hidden;
}
.office_wrapp .office_wrapp_in .office_text p {
font-size: min(1.2vw, 16px);
  line-height: 2.2;
  font-family: "Noto Sans JP", sans-serif;
    margin-bottom: 30px;
    overflow: hidden;
}

.details_bt {
    text-align: center;
}

.details_bt a {
    position: relative;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 12px;
    padding: 0 12px 0 18px;
    border: 1px solid #666;
    min-width: 200px;
    height: 46px;
    padding: 0 14px 0 20px;
    border-radius: 30px;
    font-size: 15px;
    line-height: 100%;
     transition: all .5s ease;
}
.details_bt a::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 75%;
    width: 15%;
    height: 1px;
    background-color: #666;
    transform: translateY(-50%);
     transition: all .5s ease;
}
.details_bt a::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 10%;
    width: 7px;
        height: 7px;
    border: 1px solid #666;
    border-bottom: none;
    border-left: none;
    transform: translate(0, -50%) rotate(45deg);
     transition: all .5s ease;
}

.details_bt a:hover {
    min-width:250px;
    padding: 0 14px 0 40px;
}
.details_bt a:hover::before {
    left: 65%;
    width: 25%;
}


@media screen and (max-width: 767px) {
    
.office_wrapp .office_wrapp_in {
    width: 92%;
    display: block;
}
.office_wrapp .office_wrapp_in .office_photo {
    width: 100%;
    margin-bottom: 30px;
} 
.office_wrapp .office_wrapp_in .office_text {
    width: 90%;
    margin: 0 auto
}
.office_wrapp .office_wrapp_in .office_text h3 {
    font-size: min(11.0vw, 80px);
    line-height: 120%;
    padding-top: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}
.office_wrapp .office_wrapp_in .office_text h3 span {
    font-size: min(6vw, 30px);
    line-height: 1.8;
} 
.office_wrapp .office_wrapp_in .office_text h4 {
    font-size: 1.1em;
    margin-bottom: 30px;
} 
.office_wrapp .office_wrapp_in .office_text p {
            font-size: min(3.8vw, 16px);
    line-height: 2.2;
}
.details_bt a {
    min-width: 250px;
    height: 56px;
    padding: 0 14px 0 20px;
    border-radius: 30px;
    font-size: 15px;
}  
    
    
}

/*****コンテンツブロック*****/

.contents_link {
    padding: clamp(50px, 11.7628vw, 108px) 0 80px;
}

.contents_link_in {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contents_link_in .contents_image {
    width: 49%;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: all .5s ease;
}

.contents_link_in .contents_image a .bg_image {
    position: relative;
    transition: all .9s ease;
}
.contents_link_in .contents_image a .bg_image::before {
    content: "";
    width: 100%;
    height: 100%;
    background: #333;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}


.contents_link_in .contents_image a:hover .bg_image img {
    opacity: 0.6;
}

.contents_link_in .contents_image a:hover .bg_image {
    transform: scale(1.15);
}

.contents_link_in .contents_image .contents_text {
    position: absolute;
    z-index: 2;
    bottom: 30px;
    right: 50px;
    color: #fff;
}
.contents_link_in .contents_image .contents_text h3 {
    font-family: "Montserrat", sans-serif;
    font-size: min(2.5vw, 40px);
}
.contents_link_in .contents_image .contents_text p {
    font-size: 18px;
    position: relative;
    display:block;
    text-align: right;
    padding-right: 1.5em;
}

.contents_link_in .contents_image .contents_text p::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 0%;
    width: 11px;
        height: 11px;
    border: 1px solid #fff;
    border-bottom: none;
    border-left: none;
    transform: translate(0, -50%) rotate(45deg);
     transition: all .5s ease;
}


@media screen and (max-width: 767px) {
    
.contents_link_in {
    width: 92%;
    margin: 0 auto;
    display: block;
}
.contents_link_in .contents_image {
    width: 100%;
    margin-bottom: 20px;
}
.contents_link_in .contents_image img {
        opacity: 0.7;
    } 
    
.contents_link_in .contents_image .contents_text h3 {
    font-size: min(3.5vw, 40px);
    text-align: right;
    padding-right: 3em;
}
.contents_link_in .contents_image .contents_text p {
    font-size: 22px;
    padding-right: 1.5em;
} 
    
}


