﻿a.txt_color_nomal.hvr_opa05.motion03s.d_block.pd_30px.width_300-max.border_color2.border_so1.font_20_sp {
    color: #902336;
}

@media screen and (min-width:768px){
    .cms_1-b,.cms_5-c{
        max-width:90%;
        margin:auto;
    }
}

@media all and (-ms-high-contrast: none){
.cms_title p {
    top: -68px !important;
}
}


footer {
    margin-top: 100px !important;
}
.fa-comments:before {
    content: "\f086";
    padding-right: 3px;
}
.linkStyle{
    color:#0c6818;
    transition:all 0.2s;
}
.linkStyle:hover{
     opacity:0.6;
}
.top_cms_box{
    opacity:0;
}
body{
    overflow:hidden;
}
#contents2 .txt_box,.con3_txt1,.con3_txt2{
    opacity:0;
}
.con3_txt2{
    animation-delay: 0.12s !important;
}
#contents1 h2{
    opacity:0;
    transform:translateX(120px);
    
}
#contents1 p.txt3{
    animation-delay: 0.12s;
    opacity:0;
}
#contents1 p.entry{
    animation-delay: 0.24s;
    opacity:0;
}
p.recruit{
    opacity:0;
}
.anime{
    animation:slide 0.3s ease-in forwards;
}
.anime2{
    animation:slide2 0.3s ease-in forwards;
}
@keyframes slide2{
    0%{
        opacity:0;
        transform:translateY(100px);
    }
  
        
    
    100%{
        opacity:1;
         transform:translateY(0);
    }
}
@keyframes slide{
    0%{
        opacity:0;
        transform:translateX(100px);
    }
  
        
    
    100%{
        opacity:1;
         transform:translateX(0);
    }
}
.bg_color3 {
    background-color: #463f3f;
}

.button::after{
    transition:all 0.4s !important;
}

.foot_tel_bt a {
    z-index:2;
}
footer .button::after {
    z-index: -1;
}
div#main_img::before {
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(147,147,147,0.2);
    position: absolute;
    z-index: 3;
    left: 0;
}
#main_b {
    position: absolute;
    z-index: 3;
    right: -1px;
    bottom: -3px;
    width: 55vw;
}

#main_b img{
    min-height:0;
    
}
.cms_2-b .cate a:hover figure:before{
    opacity:0.5;
}
.cms_2-b .cate a:hover figure{
    transform:scale(1.1,1.1);
    
}
section#cms_2-b .cate{
    margin-top:-100px;
   padding-top:100px;
}
.cms_2-b .cate {
    max-height: 350px;
    overflow: hidden;
    position: relative;
}
.cms_2-b figure {
    position: relative;
    transition:all 0.5s;
}
.cms_2-b figure::before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: rgba(60,60,60,0.5);
    z-index: 2;
    transition:all 0.2s;
}
.cms_2-b h3.cate_title.font_8up.font_6up_tab.font_4up_sp.txt_white {
    position: absolute;
    z-index: 3;
    display: block;
    width: 100%;
    text-align: center;
    top: 43%;
    font-size: 40px;
}

.link_box ul li{
    height: 30px;
    width: 30px !important;
}
section#contents_box::after {
    width: 80%;
    height: 700px;
    background: #f2f2f2;
    position: absolute;
    content: "";
    z-index: -2;
    transform: skewY( 
-150deg
 );
    top: 310%;
}
section#contents_box::before {
    width: 80%;
    height: 830px;
    background: #f2f2f2;
    position: absolute;
    content: "";
    z-index: -3;
    transform: skewY(
150deg
);
    top: 148%;
    background: linear-gradient(
90deg
, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 20%, rgba(242,242,242,1) 20%, rgba(242,242,242,1) 100%);
}



#page_title .page_box {
    padding-top: 15px;
}
#page_title .page_box::before {
   top:60%;
}
.width_1280-max {
    max-width: 1380px;
}
.main_box{
    margin-left:auto;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em #902337;
}
header .button:hover::after {
    box-shadow: inset 0 0 0 15em #99938e;
}
.page_box h2{
    text-shadow:none;
}
.page_box p {
    font-size: 100px;
    position: absolute;
    top: -38px;
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #f9f8f8;
    z-index: -1;
    font-weight: bold;
    text-shadow: none;
}
footer {
    max-width: none !important;
    background: #ebebeb;
}
.border_color1 {
    border-color: #902337;
}
.border_color3 {
    border-color: #919191;
}
.bg_color1 {
    background-color: #902337;
}
.cms_title p {
    font-size: 90px;
    position: absolute;
    top: -78px;
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #ede5e5;
    z-index: -1;
    font-weight: bold;
    mix-blend-mode: overlay;
}
#main_menu ul li a::before {
    background-color: #ffffff;
}
.contact_bt a,.tel_bt a{
    color:white;
    border-color: white;
        font-size: 16px;
}
#main_menu ul li a{
    font-size:16px;
}
nav#main_menu li a {
    color: white;
}
.con3_txt2::before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    border: 1px solid #24641d;
    z-index: -1;
    left: 20px;
    top: 20px;
}
.con3_txt1::before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    border: 1px solid #565656;
    z-index: -1;
    left: 20px;
    top: 20px;
}

.con3_txt2::after {
    content: "03";
    position: absolute;
    right:  -10px;
    bottom: 0;
    font-size: 150px;
    color: white;
    font-family: 'Roboto Mono', monospace;
    line-height: 115px;
    opacity: 0.2;
}

.con3_txt1::after {
    content: "02";
    position: absolute;
    right:  -10px;
    bottom: 0;
    font-size: 150px;
    color: white;
    font-family: 'Roboto Mono', monospace;
    line-height: 115px;
    opacity: 0.2;
}

#contents3 .grid_6.pd_l-20px.grid_12_sp.pd_clear_sp.mg_t-50px_sp:last-of-type{
    margin-top:60px;
}
.con3_txt2 {
    width: 95%;
    background: #25641d;
    padding: 6%;
    box-sizing: border-box;
    margin: auto;
    position: relative;
    top: -40px;
}
#contents3 p {
    color: white;
    margin-top: 20px;
}
#contents3 h3{
    color: white;
    font-weight: bold;
    font-size: 28px;
    margin-top: 0;
}
.con3_txt1 {
    width: 95%;
    background: #565656;
    padding: 6%;
    box-sizing: border-box;
    margin: auto;
    position: relative;
    top: -40px;
}
#contents3{
    margin-top:50px;
}
#contents2 div.grid_6.grid_12_sp::after {
    content: "01";
    position: absolute;
    right:  -30px;
    bottom: 0;
    font-size: 150px;
    color: white;
    font-family: 'Roboto Mono', monospace;
    line-height: 115px;
    opacity: 0.2;
}
#contents2 div.grid_6.grid_12_sp::before {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    border: 1px solid #902337;
    z-index: -1;
    left: 20px;
    top: 20px;
}
#contents2 div.grid_6.grid_12_sp {
    background: #902337;
    padding: 3%;
    position: relative;
    left: -60px;
    top: 80px;
}
#contents2 p{
    color:white;
}
#contents2  h2{
    color: white;
    font-weight: bold;
    font-size: 34px;
}
p.recruit{
    font-size: 160px;
    position: absolute;
    right: -10px;
    bottom: 0;
    font-family: 'Roboto';
    color: white;
    line-height: 110px;
}
#attach{
    overflow:hidden;
}

#con1_right img{
    max-width:350px;
}

span.n_txt1{
    color:#902336;
}
span.n_txt2{
    color:#477c46;
}
span.n_txt3{
    color:#8f8f8f;
}
span.n_txt1, span.n_txt2, span.n_txt3 {
    font-size: 48px;
}
#contents1 h2 {
    font-size: 34px;
    font-weight: bold;
    color:black;
}
#contents1 p{
    max-width: 610px;
    font-size: 16px;
}
#contents1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 80px;
    padding-top: 70px;

}
#con1_left{
    padding-right:20px;
}

p.entry a {
    background:#902337;
    display: block;
    width: 400px;
    font-size: 40px;
    text-align: center;
    color: white;
    margin-top: 30px;
    transition: all 0.2s;
    z-index: 3;
    font-family: 'Roboto', sans-serif;
}
.entry .button:hover::after {
    box-shadow: inset 0 0 0 15em gray;
    z-index: -1;
}

/*-------------------タブレット---------------------*/
@media screen and (max-width:768px){
.link_box ul{
    justify-content: center;
}
#contents1 h2 {
    font-size: 24px;
}
    #main_img {
    max-height: 38vh;
    }
    #contents1 {
    padding: 5%;
}
span.n_txt1, span.n_txt2, span.n_txt3 {
    font-size: 38px;
}
section#contents_box::before {
    width: 100%;
    height: 90vw;
    background: #f2f2f2;
    position: absolute;
    content: "";
    z-index: -3;
    transform: skewY( 
150deg
 );
    top: 116vw;
    background: linear-gradient( 
90deg
 , rgba(255,255,255,1) 0%, rgba(255,255,255,1) 10%, rgba(242,242,242,1) 10%, rgba(242,242,242,1) 100%);
}
p.recruit {
    font-size: 110px;
    line-height: 75px;
}
section#contents_box::after {
    width: 100%;
    height: 90vw;
    background: #f2f2f2;
    position: absolute;
    content: "";
    z-index: -2;
    transform: skewY( 
-150deg
 );
    top: 265vw;
}
#contents2 h2 {
    color: white;
    font-weight: bold;
    font-size: 24px;
}
#contents2 div.grid_6.grid_12_sp {
    background: #902337;
    padding: 3%;
    position: relative;
    left: -20px;
    top: 100px;
}
#contents3 h3 {
    color: white;
    font-weight: bold;
    font-size: 24px;
    margin-top: 0;
}
#contents2 div.grid_6.grid_12_sp::after {
    right: -30px;
}
.hamburger__icon.bg_color1{
    background:white;
}
.hamburger.active .hamburger__icon:after,.hamburger.active .hamburger__icon:before{
    background:#902337;
}
p.entry a{
    width:auto;
}

.link_box img{
    filter: invert();
}
.page_box p {
    font-size: 80px;
    position: absolute;
    top: -27px;
}
#contents1 h2{
    opacity:1;
    transform:none;
}
#contents1 p.txt3{
    opacity:1;
}
#contents1 p.entry{
    opacity:1;
}
}
/*-------------------ここまで---------------------*/

/*-------------------スマホ---------------------*/
@media screen and (max-width:667px){
.main_box {
    padding-top: 50px;
}
    #main_img {
    max-height: 30vh;
}
#contents1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    padding: 5% !important;
}
#con1_left {
    width: 100% !important;
    padding: 0;
}
#con1_right{
    width:50% !important;
    margin-top:20px;
}
#main_b{
    width:75vw;
}
p.recruit {
    font-size: 70px;
    line-height: 45px;
}
#contents2 div.grid_6.grid_12_sp {
    background: #902337;
    padding: 3%;
    position: relative;
    left: 0;
    top: -40px;
    width: 95% !important;
    margin: auto;
}
.cms_2-b h3.cate_title.font_8up.font_6up_tab.font_4up_sp.txt_white{
    font-size:30px;
}
.cms_2-b .cate {
    max-height: 220px;
}
.cms_title p {
    font-size: 70px;
    position: absolute;
    top: -58px;
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #fdf5f5;
    z-index: -1;
    font-weight: bold;
    mix-blend-mode: overlay;
}
footer {
    margin-top: 0px !important;
}
.page_box p {
    font-size: 11.5vw;
    position: absolute;
    top: -17px;
}
#page_title .page_box {
    padding-top: 15px;
    padding-left: 0;
}
#page_title .page_box::before{
    display:none;
}
}
/*-------------------ここまで---------------------*/