body{
    line-height: 1.8;
    font-size: 18px;
    color:#231815;
}

.container{
    max-width: 800px;
}

@font-face {
  font-family: "myfont";
  src: url("https://www.gaia-pro.co.jp/wp_p/wp-content/themes/gaia_site/fonts/KozGoPr6N-Regular.otf") format("truetype");
}

.openbtn-box {
    display: none;
}

.header-logo{
    height: 40px;
}

#page_top{
    position: fixed;
    background: #FFB900;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    color:white;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: .5s;
    z-index: 2000;
}

#page_top.active{
    opacity: 1;
}

main{
    background-image: url('https://www.gaia-pro.co.jp/wp_p/wp-content/themes/gaia_site/images/fooriku/back.svg');
    background-size: cover;
    background-position: top center;
     background-attachment: fixed;
    z-index: 10;

}

.menu-box{
    position: fixed;
    z-index: 1000;
    transition: .5s;
    overflow: hidden;
    
    top: 60px;
    /* left: 0; */
    display: inline-block;
    padding: 20px;
    background-color:#eee;
    color:black;
    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;
}

.navi-box{
    background-color: #111;
    position: relative;
    margin-top: -60px;
    text-align: center;
    z-index:999;
}

.navi-box-outer.active{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.navi-box-outer.active .navi-box{
    margin-top: 0;
}

.navi{
    width: 100%;
    margin:auto;
}

.navi li{
    display: inline-block;
    color:white;
    padding: 15px 24px;
    font-size: 0.95rem;
}

.navi li:first-child{
    padding-left: 0;
}

.navi li:last-child{
    padding-right: 0;
}

.navi li:last-child a{
    display: inline-block;
    background-color: white;
    color:black;
    border-radius: 20px;
    padding: 2px 10px;
    font-weight: bold;
    font-size: 0.9rem;
}



.mainvisual-box{
    background-image: url('https://www.gaia-pro.co.jp/wp_p/wp-content/themes/gaia_site/images/fooriku/gray_back.svg');
    height: 100vh;
    background-size:cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.mainvisual-graybox{
    width: 600px;
    margin:auto;
    height:100vh;
    position: relative;
    padding: 0 40px;
}

.main-center{
    width: 800px;
}

.mainvisual-inner-box{
    max-width: 1450px;
    width: 100%;
    margin:auto;
}
.main1{
    background-image: url('https://www.gaia-pro.co.jp/wp_p/wp-content/themes/gaia_site/images/fooriku/main1.jpg');
    width: 400px;
    height: 100vh;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main2{
    background-image: url('https://www.gaia-pro.co.jp/wp_p/wp-content/themes/gaia_site/images/fooriku/main2.jpg');
    width: 400px;
    height: 100vh;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}


.main_catch{
    padding-top: 5vh;
    width: 80%;
}

.main_logo{
    padding-top: 5vh;
    width: 50%;
}

.main_pc{
    padding-top: 15vh;
    width: 45%;
}

.main_hand{
    position: absolute;
    bottom: 3%;
    width: 70%;
    right: -20%;
    z-index:999;
}


.yellow-back{
    background-color: rgba(255, 185, 0,1);
    mix-blend-mode:multiply;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.yellow-front{
    position: relative;
    z-index: 800;
}

.person1{
    width: 80%;
    margin:auto;
    padding-top: 15%;
}

.person2{
    width: 80%;
    margin:auto;
    padding-top: 15%;
}

.graph1{
    position: relative;
    margin-top: -40px;
    margin-bottom: 100px;
}

.black-back{
    width: 100%;
    height: 100%;
    background-image: url('https://www.gaia-pro.co.jp/wp_p/wp-content/themes/gaia_site/images/fooriku/bg-black.svg');
    background-position: center center;
    background-size: cover;
}


.service-outer-box{
    display: flex;
    gap:1.5rem;
    margin-top: 25px;
    
}

.service-2column-box{
    display: flex;
    gap:1.5rem;
    margin-bottom: 40px;
}

.service-box{
    color: white;
    max-width: 190px;
}

.service-num{
    max-width: 80px;
    width: 50%;
    margin:auto;
    margin-bottom: 10px;
}

h5.service{
    text-align: center;
    margin-top: 10px;
    color:#F7A61B;
    font-weight: bold;
    line-height: 1.5em;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.service-box p{
    font-size:0.8rem;
    line-height: 1.5em;
    text-align: justify;
}

h2{
    font-size:3rem;
}

h2.title1{
    font-size:2.2rem;
    border-bottom: 2px solid #333;
    display: inline-block;
    margin-top: 8%;
    margin-bottom: 4%;

    line-height: 2.8rem;
    text-align: justify;
    text-align-last: justify;
    width: 100%;
}


h2.title2{
    font-size:2.2rem;
    border-bottom: 2px solid #E68F1B;
    display: inline-block;
    margin-top: 8%;
    margin-bottom: 4%;
    text-align: justify;
    text-align-last: justify;

    width: 100%;
    line-height: 2.8rem;
    color:#E68F1B;
}


h3.assignment,
h3.merit{
    font-size: 1.7rem;
    font-weight: bold;
    margin-bottom: 5%;
}

h3.merit{
    color:#DF8C27;
}

h2.flow,
h3.flow{
    color:#DF8C27;
}

h3.service,
h3.flow{
    font-size: 1.5rem;
    font-weight: bold;
}

h4.white-round{
    border-radius: 20px;
    background-color: white;
    padding: 2px 20px;
    font-weight: bold;
    color: #E68F1B;
    display: inline-block;
    margin: 20px 0px 10px 0px;
    letter-spacing: 0.2rem;
    font-size: 1.1rem;
}

.yellow-front p{
    font-size: 0.9rem;
}

.arrow-box{
    position: relative;
    width: 180px;
    margin:auto;
    margin-top: -60px;
}

.check{
    width: 40px;
}

.merit-check-box
{
    width: 100%;
    max-width: 800px;
}


.check-list{
    gap: 5px;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.check-list2{
    gap: 5px;
    display: flex;
    align-items: top;
    margin-bottom: 0.6rem;
    line-height: 1.6rem;
}


.merit-text{
    font-weight: bold;
    font-size: 1.4rem;
}

.flow-box{
    display: flex;
    align-items: center;
    gap:12px;
}

.flow-num{
    background-color: #F7A61B;
    color:white;
    font-size: 2.2rem;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
}

.flow-text{
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
}

.flow-description{
    margin-left: 82px;
    color:#DF8C27;
    font-weight: bold;
    margin-top: -15px;
    line-height: 1.3;
}

.yellow-line{
    border-left:3px solid #F7A61B;
    height: 100px;
    position: relative;
    margin-top: -50px;
    margin-left: 35px;
}

.yellow-line-last{
    margin-top: -90px;
}

.person3{
    position: absolute;
    right: 0;
    bottom: 50px;
    width: 50%;
    max-width: 400px;
}

.strengths-box{
    border-radius: 20px;
    padding: 35px 20px;
    background-color: white;
    
}

.strengths-box p{
    line-height: 1.4;
    padding: 15px 0;
}

.strong-title{
    height: 50px;
}

.link-box{
    background-image: url('https://www.gaia-pro.co.jp/wp_p/wp-content/themes/gaia_site/images/fooriku/gray_back.svg');
    background-size: cover;
    background-position: center center;
}

.link-logo-box{
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
}

.link-logo-box img{
    width: 220px;
    transition: .5s;
}

.link-logo-box img:hover{
    transform: scale(1.1);
}

.contact-box{
    background-color: #D8D8D9;
}

#contact-btn{
    border-radius: 20px;
    background-color: #F7A61B;
    color:white;
    font-weight: bold;
    padding: 5px 15px;
    box-shadow: 1px 1px 1px 1px #555;
}

table.table{
    width: 100%;
    max-width: 800px;
    margin:auto;
    font-size:0.9rem;
    margin-bottom: 20px;
}

table.table td{
    padding: 10px;
    border-bottom: 1px solid #9FA0A0;
    font-size: 1rem;
    font-weight: bold;
}

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

.inquiry{
    font-size:0.6rem;
    color:#f90;
    background-color: white;
    display: inline-block;
    padding: 2px 5px;
    font-weight: bold;
}

.section-title{
    font-weight: bold;
    font-size:2.8rem;
    width: 100%;
    text-align: center;
    letter-spacing: 0.5rem;
}

.contact-title{
    font-size: 2.2rem;
    margin-bottom: 25px;
}

footer{
    background-color: #231815;
    color:white;

}

.footer-inner{
    width: 100%;
    margin:auto;
    padding: 40px 0;
    max-width: 715px;
}

.managed_by_gaia{
    font-size:1.15rem;
}

.company-info{
    line-height: 1.2;
}

.footer-contact-box{
    border:1px solid #fff;
    padding: 5px 10px;
    line-height: 1.4;
    font-size:1rem;
    padding: 10px 0;
    max-width: 485px;
    width: 90%;
    margin:auto;
}

main.thanks{
    height: calc(100vh - 235px);

}

.bf-br,
.flow-br{
    display: block;
}

/*==================================================
　5-2-1 3本線が×に
===================================*/
.openbtn{
	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:#FFA800; */
    background-color: #555;
  	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%;
}

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


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

/*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 2s;
    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: 1100px) {

     .main_logo{
        width: 80%;
        margin:auto;
     }

     .main_catch{
        width: 90%;
     }

     .main_pc{
        display: none;
     }

     .main_hand{
        width: 60%;
        left: 50%;
        margin-left: -25%;
     }

     .main_logo{
        margin-top: -15px;
     }
}

@media screen and (max-width: 990px) {
    .main1, .main2{
        width: 30%;
    }
}

@media screen and (max-width: 870px) {
    .container{
        padding: 0 20px;
    }
}

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

    .main1, .main2{
        display: none;
    }

    .main_hand{
        width: 40%;
        left: 50%;
        margin-left: -15%;
    }

    .main_logo{
        width: 70%;
    }
}

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

    .mainvisual-box{
        overflow: hidden;
        width: 100vw;
    }


    .service-outer-box{
        display: block;
        gap:1.5rem;
        
    }

    .service-2column-box{
        display: flex;
        gap:1.5rem;
        width: 100%;
    }

    .service-box {
        min-width: 50%;
        padding: 0 20px;
    }

}







@media screen and (max-width: 798px) {
    .navi-box{
        display: none;
    }
    .openbtn-box {
        position: absolute;
        display: block;
        top: 4%;
        right: 2%;
    }

    .main_hand{
        bottom: 0;
    }

    .arrow-box{
        width: 30%;
    }

    .service-outer-box{
        display: relative;
    }

    .person3{
        position: relative;
        bottom: 0;
        margin:auto;
        margin-top: 5vw;
    }
}

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

}

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

    .flow-num{
        width: 10vw;
        height: 10vw;
        line-height: 10vw;
        font-size: clamp(1rem, 4vw, 3rem);
    }

    .flow-text h4{
        font-size: clamp(1.2rem, 3.5vw, 3rem);
    }

    .flow-description{
        font-size: clamp(0.9rem, 2.5vw, 2rem);
        margin-top: -1vw;
        margin-left: calc(10vw + 12px);

    }

    .flow-br{
        display: inline;
    }

    .yellow-line{
        margin-top: -10vw;
        margin-left: 5vw;
    }
}

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

    h2.title1,
    h2.title2{
        font-size:5vw;
        text-align: center;
        text-align-last: center;
        line-height: 1.3;
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .section-title{
        font-size: clamp(1.8rem, 5vw, 2rem);
    }

    h2.contact-title{
        font-size: clamp(1.3rem, 4.5vw, 2rem);
    }


    h3.assignment,
    h3.merit
    {
        font-size: clamp(1.2rem, 4vw, 2rem);
        margin-bottom: 0px;
    }



    h3.service,
    h3.flow{
        font-size: clamp(1rem, 4vw, 2rem);

    }    

    h3.merit{
        margin-bottom: 20px;
    }

    h3{
        line-height: 1.5;
    }

    .person1,.person2{
        width: 35%;
        min-width: 200px;
    }

    .check-list2{
        margin-bottom: 1.6rem;
    }

    .merit-text{
        font-size: clamp(0.9rem, 3.8vw, 2rem);

    }
    .flow-text{
        font-size: clamp(11px, 3.5vw, 20px);
    }
    
}

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

    table.table td{
        display: block;
    }

    .main_hand{
        position: static;
        height:50vh;
        width: auto;        
        display: inline-block;
        margin-top: 5vh;
        margin-left: 10%;
    }
    .main_logo{
        margin:auto;
        width: 70%;
    }
    .main_pc{
        margin-top: 18vh;
        display: none;
    }

    .mainvisual-box,
    .mainvisual-graybox{
        height: auto;
    }

    .person2{
        padding-top: 30px;
    }

    .bf-br{
        display: inline;
    }
}

@media screen and (max-width: 640px) {
    .strong-title{
        width: 200px;
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .mainvisual-graybox{
        width: 100%;
    }

    .yellow-line,
    .yellow-line-last{
        margin-top: -12vw;
        height: 20vw;
    }
}

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


    .service-2column-box{
        display: block;
    }

    .service-box {
        min-width: 90%;
        padding: 0 20px;
        margin:auto;
        margin-bottom: 30px;
    }

    .flow-description{
        margin-top: 1vw;
    }
}

@media screen and (max-width: 510px) {
    
    .yellow-line-last{
        margin-top: -17vw;
    }

}


@media screen and (max-width: 480px) {
    span.br{
        display: block;
    }
}



@media screen and (max-width: 380px) {
    .yellow-line{
        border:none;
    }

}