body{
    line-height: 1.8;
    font-size: 18.5px;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;    
    background-color: #f4f3ee;

}

.main-visual{
    margin-top: 75px;
    background-color: #7d7474;
    height: 600px;    
    background-image: url('../images/mainvisual.jpg');
    background-size: cover;
    background-position: center center;
    position: relative;
    opacity: 0;
}

.cover{
    width: 100%;
    height: 100%;
    background-color: #f4f3ee;
}

h1{
    position: absolute;
    left: -1%;
    top: -1%;
    font-size: 10rem;
    margin-top: -5rem;
    color:white;
    /* text-align: right; */
    font-weight: 100;
    line-height: 15.5rem;
    opacity: 0;
    left: -100vw;
}

h2{
    font-size: 2.6rem;
    text-align: center;
}

h3{
    font-size: 1.6rem;
    border-bottom: 0.5px solid #aaa;
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 120px;
    text-align: center;
}

h3 small{
    font-size:0.9rem;
    display: block;
}

h5{
    margin-bottom: 15px;
    font-size:1.5rem;
}

p{
    padding: 10px 0;
}


.recruit-info,
.recruit-info2{
    border-radius: 15px;
    background-color: white;
    margin: 20px 0;
    display: none;
    padding: 20px;
}

.recruit-info.active,
.recruit-info2.active{
    display: block;
}

button,
input.btn
{
    font-size: 0.8rem;
    font-family: sans-serif;
    border-radius: 15px;
    background-color: #7d7474;
    color:white;
    display: inline-block;
    padding: 5px 20px;
    text-align: center;
    width: 200px;
    margin:10px auto;
}


#page_top{
    position: fixed;
    /* background: #7dffc7; */
    background: #555;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color:white;
    right: 0;
    bottom: 0;
}

header{
    position:fixed;
    z-index: 1000;
    width: 100vw;
    top: 0;
    left: 0;
    background-color: white;
    padding-bottom: 10px;
}

footer{
    /* background-color: #231815; */
    color:black;
    text-align: center;
    background-color: #d9d9d9;
    font-family: sans-serif;
    font-size: 0.8rem;
    padding: 15px 0;
    margin-top: 50px;
}

.logo{
    /* width: 170px; */
    height: 38px;

}

.demo-box{
    height: 80vh;
}

span.br{
    display: block;
}

h3 small{
  position: relative;
  padding: 0 65px;
  text-align: center;
}


/*==================================================
　5-2-1 3本線が×に
===================================*/
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn{
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: relative;
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	/* background: #7dffc7; */
    background:#555555;
  	width: 70%;
  }

.openbtn span:nth-of-type(1) {
	top:10px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:36px;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 24px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;/*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 24px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}
/* --------- */

.serif{
  font-family: "typegothic";
}


.gmap{  
    /* filter: grayscale(100%); */
    width: 100%;
    height: 650px;
}





.overflow{
    overflow: hidden;
    width: 100%;
}



table.table{
    width: 100%;
    max-width: 650px;
    margin:auto;
}

table.table td{
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

table.table td input,
table.table td textarea{
    border-radius: 5px;
    padding: 5px;
    border:1px solid #aaa;
}

.inquiry{
    font-size:0.6rem;
    color:white;
    background-color: #a00;
    border-radius: 5px;
    display: inline-block;
    padding: 5px;
}

a[href="#contact"]{
    display: block;
    width: 100%;
    height: 100%;
}

a svg{
    height: 1.5rem;
}

.menu-box{
    position: fixed;
    z-index: 1000;
    transition: .5s;
    overflow: hidden;
    
    top: 60px;
    /* left: 0; */
    display: inline-block;
    padding: 20px;
    background-color: #333;
    color:white;
    right: -800px;
    display: inline-block;
}


.menu-box.active{
        right: 0;
}

.menu-box li{
    text-align: center;
    padding: 5px;
    padding: 10px 20px;
    cursor: pointer;
}

.menu-box li a{
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.white-memo .after-br{
    display: inline;
    margin-left: 25px;
}


.service-text{
    line-height: 2.2;
    font-size: 1rem;
}

.contents-box{
    box-shadow: 0 0 3px 1px #eee;
    padding: 15px;
    border:1px solid #ddd;
    transition: .5s;
    cursor: pointer;
    position: relative;
    background-color: white;

}

.contents-box:hover{
    transform: scale(1.1);
}

.contents-box::before{
    content: "";
    background: linear-gradient(275deg, rgb(0, 84, 170) 0%, rgb(54, 149, 217) 100%);
    display: block;
    position: absolute;
    width: 100%;
    height: 8px;
    top: 0;
    left: 0;
}

.food-box .contents-box::before{
    background: linear-gradient(275deg, rgb(170, 0, 0) 0%, rgb(217, 54, 54) 100%);

}

.contents-box-text{
    font-size:1rem;
    text-align: justify;
}


.black-btn{
    background-color: #eee;
    transition: .5s;
}

.black-btn:hover{
    transform: scale(1.05);
}

.company-outer-box{
    /* background-color: #f7fafd; */
    background-color: rgba(247,247,247,0.6);
}

.ceo-photo{
    width: 154px !important;
    height: 206px !important;
    max-width: 154px !important;
    max-height: 206px !important;

}


/* スクロール連動アニメーション表示表示関連 */


/*1.フェードインアニメーションの指定*/
.scrollanime {
    opacity: 0;
}

/*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 2s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

/*横スクロールバーを隠す*/
.slide-right {
    transform: translateX(200px);
}

.slide-left {
    transform: translateX(-200px);
}



@keyframes fadeInDown {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

/*2.上下の動きを指定*/
.updown {
    transform: translateY(-100px);
}

.downup {
    transform: translateY(100px);
}



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

    h1{
        font-size: 15vw;
        line-height: 20vw;
        margin-top: 0;
    }
}

@media screen and (max-width: 655px) {
    /* .contents-box{
        margin:0 10px;
    } */

    h3{
        font-size: 2.5rem;
    }

    h4{
        font-size: 1.8rem;
    }

     .container{
        padding: 0 25px;
     }

     table.table td{
        display: block;
     }
 
}


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


}

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

    .particle_box{
        padding-top: 0;
    }
        .main_text2 span{
        font-size:4rem;
    }

    .main_text2 span:nth-child(2){
        margin-top: 20px;
        font-size:2.5rem;
        padding: 30px;
    }

}

@media screen and (max-width: 467px) {
        .three-line-svg{
        height: 80px;
    }

}

