﻿@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Homemade+Apple&display=swap');
#main_img h2 p {
    /*font-family: 'PT Sans', sans-serif;*/
    font-family: 'Sen','Noto Sans JP',"游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
.bnr_recruit a {
    font-family: 'Sen','Noto Sans JP',"游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
}
.apple {
    font-family: 'Homemade Apple', cursive;
}
#main_img {
    height: calc(100vh - 100px);
    background-image: url(../Dup/img/main_img.jpg);
    background-size: cover;
    background-position: 50% 50%;
}
.contents_title span {
    background: transparent;
    color: #dfdfdf;
}
#header {
    background: #fff;
}
#video {
    position: fixed;
    z-index: -1;
    top: 0;
}
#contents2, .top_cms1wrap, #top_cms2 {
    position: relative;
    overflow: hidden;
}
#video:before {
  content: "";
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
background-color: rgb(255 255 255 / 80%);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;  
}
.top_cms1wrap:before {
  content: "";
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
background-color: #fff;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;  
}
#top_cms2:before {
  content: "";
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
background-color: #fff;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;  
}
#contents2:before {
  content: "";
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
background-color: #fff;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;  
}
#contents1 .con .car {
    max-width: 300px;
    right: -61px;
    position: absolute;
    z-index: 1;
    bottom: -69px;
}
#contents1 h4 span {
    position: relative;
}
/*#contents1 h4 span:after {*/
/*    background-image: linear-gradient( -45deg, transparent 25%, #ffb100 25%, #ffb100 50%, transparent 50%, transparent 75%, #ffb100 75%, #ffb100);*/
/*    content: "";*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: 10px;*/
/*    background-size: 15px 15px;*/
/*    position: absolute;*/
/*    bottom: -25px;*/
/*    left: 50%;*/
/*    -ms-transform: translate(-50%,-50%);*/
/*    -webkit-transform: translate(-50%,-50%);*/
/*    transform: translate(-50%,-50%);*/
/*}*/


body, #contents1 .con > div::after, #contents2 .slick2 .box .no span {
background-image: url(Dup/img/absurdity.png);
}
.con > div::after, .contents_title span::after, .contents_more a::after, #contents2 .slick2 .arrow.prev::after, #contents2 .slick2 .arrow.next::after {
    display: none!important;
}
.page_link.bg_black {
    background-color: #ffb100;

}
#contents2 .slick2 .arrow.next .posi_center, #contents2 .slick2 .arrow.prev .posi_center {
    transform: translateY(-50%);
}
.bnr_tel a {
    position: relative;
}
.bnr_tel a:before {
    content: "\f2a0";
    top: 0px;
    left: 8%;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: block;
    position: absolute;
    font-size: 23px;
}

.top_cms {
    background: #fff;
}
#contents1 .contents_title, #contents2 .contents_title {
    margin-bottom: 37px;
    padding-top: 50px;
    text-align: center;
}
.slick2 {
    height: 761px;
}
#contents1 {
    position: relative;
}
#contents1 .con > div::before {
    background-color: #fff;
    display: none;
}
#contents1 .con > div {
    width: 100%!important;
    margin-left: 0;
    margin-bottom: 56px;
    background: rgb(255 255 255 / 68%);
    border-color: #fff;
    border: 0;
}
#contents1:before {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 0;
    height: 100%;
    background-color: #fff;
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}
.text_r {
    color: #1f1f1f;
    white-space: nowrap;
    font-size: 8.8vw;
    transform-origin: top left;
    transform: rotate(90deg);
    position: absolute;
    top: 0;
    line-height: 0.65;
    pointer-events: none;
    z-index: -1;
    left: 8.8vw;
    text-shadow: 1px 1px 1px #dddddd, -1px 1px 1px #dddddd, 1px -1px 1px #dddddd, -1px -1px 1px #dddddd, 1px 0px 1px #dddddd, 0px 1px 1px #dddddd, -1px 0px 1px #dddddd, 0px -1px 1px #dddddd;
    color: #fff;
}
.text_r .mq {
    animation: mqscroll 25s linear infinite;
    display: inline-block;
}
@keyframes mqscroll {
    0% {
        transform: translateX(4px);
    }
    100% {
        transform: translateX(-100%);
    }
}

#contents1 h4 {
    overflow: hidden;
    font-weight: normal;
}
#contents1 h4 span {
transform: translateY(54px);
transition: all 0.6s;
transition-delay: 0.2s;
line-height: 1;
}
#contents1 h4.trans span {
transform: translateY(0px);
}

.bg_eng {
    font-size: 12vh;
    writing-mode: vertical-rl;
    color: #fff;
    line-height: 1.3;
    z-index: 2;
    text-shadow: 1px 1px 1px #dddddd, -1px 1px 1px #dddddd, 1px -1px 1px #dddddd, -1px -1px 1px #dddddd, 1px 0px 1px #dddddd, 0px 1px 1px #dddddd, -1px 0px 1px #dddddd, 0px -1px 1px #dddddd;
}
#contents1 .eng1 {
    position: absolute!important;
    font-size: 53px;
    top: 131px;
    color: #ffc930;
    text-align: center;
    font-family: 'Homemade Apple', cursive;
    width: 100%;
    z-index: 2;
    transform: rotate(-4deg);
}
#contents1 .con {
    position: relative;
    margin-bottom: 30px;
}
#contents1 .con > .figurewrap {
    border-width: 0px;
    border-style: solid;
    position: relative;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
}
#contents1 .figurewrap::before {
   display: none;
}
#contents1 .con > .figurewrap::before, #contents1 .con > .figurewrap::after {
      display: none;
}
.bnr_recruit {
    z-index: 4;
    right: 171px;
    top: 49px;
    position: fixed;
}
.bnr_recruit a {
    padding: 11px 55px 11px 42px;
    background-color: #ffbc00;
    color: #fff;
    font-size: 22px;
    transition: all 0.3s;
    background-image: url(Dup/img/arrow.png);
    background-size: 39px;
    background-repeat: no-repeat;
    background-position: right 15px bottom 15px;
}
.bnr_recruit a:hover {
    background-color: #ed8e00;
}
#main_img h2 {
    left: 6%;
    bottom: inherit;
    z-index: 2;
    background-color: transparent;
    width: 48%;
    top: 19%;
filter: drop-shadow(0px 2px 8px rgba(0,0,0,0.7)) drop-shadow(0px 2px 6px rgba(0,0,0,0.5)) drop-shadow(1px 1px 6px rgba(0,0,0,0.2));
}
/*#main_img h2 {*/
/*    left: 4%;*/
/*    bottom: 41%;*/
/*    padding: 17px 25px 32px;*/
/*    z-index: 2;*/
/*    background-color: transparent;*/
/*    font-size: 60px;*/
/*}*/
/*#main_img h2.trans.trans2 {*/
/*    background-color: #fff;*/
/*    box-shadow: 0px 5px 16px -6px rgb(0 0 0 / 9%);*/
/*}*/

/*#main_img h2.trans:before, #main_img h2.trans:after {*/
/*    width: 100%;*/
/*}*/
/*#main_img h2.trans.trans2:after {*/
/*    width: 0;*/
/*    left: auto;*/
/*    right: 0;*/
/*    transition: all 0.6s*/
/*}*/
/*#main_img h2:after {*/
/*    content: "";*/
/*    display: block;*/
/*    width: 0%;*/
/*    height: 100%;*/
/*    background-color: #4166ef;*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;*/
/*    z-index: 2;*/
/*    transition: all 1s;*/
/*}*/





#main_img h2 p {
    font-size: 22px;
    color: #839cf9;
    padding-left: 6px;
    letter-spacing: 6px;
}
#main_img h2 p, #main_img h2 span {
opacity: 0;
}
#main_img h2.trans2 p, #main_img h2.trans2 span {
opacity: 1;
}
.top_cms_title h3 {
    font-size: 36px;
    padding-top: 20px;
    color: #4166ef;
    font-weight: normal;
}
.top_cms_title p {
    display: block;
    padding-top: 14px;
    color: #ffbc00;
}
.contents_more {
    padding-right: 30px;
    padding-bottom: 31px;
}
#contact_box .tel {
    margin-bottom: 0;
}
footer #contact_box {
    margin-bottom: 170px;
}
footer #contact_box .con {
    padding-top: 50px;
    padding-bottom: 50px;
    max-width: 700px;
}
#cms_3-a .cate .cate_box:last-of-type {
    border-bottom: 1px dotted;
    border-color: #bdbdbd;
}
@media(min-width: 769px) {
#video {
    /*width: 68%;*/
    margin-right: 0;
    margin-left: auto;
}
.video {
    width: auto!important;
    height: 100%!important;
}
}
@media(max-width: 768px) {
    #main_img h2 p {
        font-size: 18px;
    }    
    #video {
    height: 100vh;
    top: 0;
}
  .video {
    width: auto!important;
    height: 100vh;
}
    #main_img {
    height: 38vh;
}
#main_img h2 {
    left: 5%;
    /* font-size: 30px; */
    top: 15%;
    width: 56%;
}
    #loader > div figure{
	width: 70%;
}
#contents2 .slick2 .box > div:first-of-type {
    transform: translateY(-50px);
}
.top_cms .top_cms_box .top_cms_title {
    transform: translateY(1px);
    padding-left: 10px;
}
    #main_img h2.trans.trans2 {
    box-shadow: none;
}
#contents2 .contents_title {
        margin-bottom: 50px;
    }
.bg_eng {
    display: none;
}
.bnr_recruit {
    right: 122px;
    top: 38px;
}
.bnr_recruit a {
    padding: 8px 54px 9px 41px;
    font-size: 21px;
    background-size: 39px;
    background-position: right 15px bottom 12px;
}
    .contents_title span::after {
    border-width: 0 0 80px 40px;
    right: -1px;
}
#contents2 .slick2 .box .no span {
    line-height: 1;
}
footer #contact_box {
    margin-bottom: 140px;
}
}

@media(max-width: 667px) {
#main_img h2 {
    left: 4%;
    padding: 0;
    width: 74%;
    top: 27%;
}
#main_img {
    height: 34vh;
}
    #contents1 .con .car {
    max-width: 280px;
    right: 0px;
    z-index: 1;
    bottom: -108px;
    width: 51%;
}
    #contents1:before {
    background-color: #fff0;
}
#contents1 .con > div::before {
display: none;
}
    body {
        font-size: 15px;
    }
    .linehight_1-h_sp {
    line-height: 1.8;
}
    .text_r {
    font-size: 10.8vw;
    left: 10.8vw;
    letter-spacing: 4px;
}
.bnr_tel {
    position: fixed;
    z-index: 17;
    display: block;
    bottom: 0px;
    left: 0px;
    width: 61%;
}
    #top_cms1, #top_cms2 .top_cms {
    padding: 0 10px;
}
.bnr_tel a {
    background-color: #eee;
    display: block;
    height: 50px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-left: 20px;
}
.bnr_recruit a {
    padding: 8px 54px 9px 41px;
    font-size: 18px;
    background-size: 30px;
    background-position: right 13px bottom 11px;
    display: block;
    height: 50px;
    display: flex;
    box-sizing: border-box;
}
    #contents1 h4 {
    font-size: 20px;
}
.slick2 {
    height: auto;
}
.contents_title span {
    padding-right: 20px;
}
.bnr_recruit {
    right: 0px;
    bottom: 0px;
    top: inherit;
    /* left: 10px; */
    width: 39%;
}

#header {
    padding: 18px;
}
header #header h1 {
    width: 46%;
}
#contents1 .eng1 {
    font-size: 31px;
    top: -9px;
    left: 2px;
}
#copyright {
    padding-bottom: 60px;
}
#main_img h2 p {
    font-size: 3.2vw;
    padding-left: 0px;
    letter-spacing: 1px;
}
#contents1 .con > div {
    border-width: 5px;
    padding: 17px;
    margin-bottom: 100px;
}
#contents2 {
    margin-top: 45px;padding-bottom: 30px;
}
#contents2 .contents_title {
    margin-bottom: 5px;
}
#contents2 .slick2 .box {
    margin-bottom: 5px;
}
.top_cms_title h3 {
    font-size: 6vw;
    margin-bottom: 0;
}
#top_cms2 .top_cms_wrap, footer {
    padding-top: 75px;
}
#contents1 .con, #contents2 .con {
    margin-bottom: 25px;
}
.contents_more {
    padding-bottom: 10px;
    text-align: center;
    padding-right: 0;
}
footer #contact_box .con {
    padding-top: 25px;
    padding-bottom: 25px;
}
.footer_txt {
    padding: 5px;
}
#contents2, #wrap.top_page main {
    padding-bottom: 15px;
}
#contact_box .con > div {
    padding-top: 25px;
}
#contents1 .contents_title {
   margin-bottom: 34px; 
}
.contents_title span::after {
    border-width: 0 0 60px 30px;
}
#page07 .box_wrap .box.mg_b-30px_sp {
    margin-bottom: 15px;
}
}