@charset "utf-8";

/* 
共通
-------------------------------------------------------------------------------*/
:root {
    --white: #fff;
    --black: #4d4d4d;
    --gray: #808080;
    --lightGray: #f2f2f2;
    --green: #3DC4B1;
    --lightGreen: #62D7C7;
    --whiteGreen: #95EADE;
    --yellow: #FFC04F;
    --lightYellow: #FFCE74;
    --whiteYellow: #FFDEA2;
}

html {
    font-size: 100%;
}

body {
    width: 100%;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

.wrapper {
    margin: 0 auto;
    max-width: 100%;
    padding: 0 20vw;
}

.cont-title {
    position: relative;
    display: block;
    color: var(--gray);
    font-size: 220%;
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    padding-bottom: 10px;
}
.cont-title::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background: var(--gray);
}
.cont-title::after {
    position: absolute;
    content: '';
    width: 8%;
    height: 1.5px;
    bottom: 0;
    left: 0;
    background: var(--green);
}

.text {
    color: var(--gray);
    font-size: 110%;
    line-height: 3rem;
}

.light-w {
    transition: all .2s;
}
.light-w:hover {
    opacity: 0.5;
    transition: all .3s;
}


/* メールボタン */
#sm-contact-btn {
    display: none;
}

#contact-btn {
    position: fixed;
    display: inline-block;
    height: 70px;
    width: 70px;
    border-radius: 50px;
    z-index: 100;
    background: var(--lightGreen);
    right: 1vw;
    bottom: 1vw;
    padding: 20px 15px;
    line-height: 1px;
    transition: .3s ease-out;
    opacity: 1;
}
#contact-btn:hover {
    width: 280px;
    display: flex;
    justify-content: left;
    align-items: center;
    background: var(--green);
}
#contact-btn .mail {
    display: block;
    width: 40px;
}

#contact-btn p {
    display: none;
    color: var(--white);
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 120%;
    padding-left: 15px;
}
#contact-btn:hover p {
    display: block;
}

/*　問い合わせ一覧に入ったらボタンを隠す　*/

/* 右に動く */
#contact-btn.RightMove {
    animation: RightAnime 0.3s forwards;
}

@keyframes RightAnime {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* 左に動く */
#contact-btn.LeftMove {
    animation: LeftAnime 0.3s forwards;
}

@keyframes LeftAnime {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

   
/*
ヘッダー
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#header {
    background-color: var(--white);
    padding: 1vw;
}

#header .site-title {
    width: 11vw;
    line-height: 1px;
}

/*
mainvisual
-----------------------------------------------------------------------------------*/
#mainvisual {
    position: relative;
    width: 100%;
    height: 38vw;
    background: url(../img/office.JPG) no-repeat center;
    background-size: cover;
    background-position: 0 -10px;
    object-fit: cover;
    z-index: -10;
}

#mainvisual::before {
    position: absolute;
    content: '';
    height: 38vw;
    width: 100%;
    background-image: linear-gradient(0deg, rgba(61, 196, 177, 0.85), rgba(160, 226, 217, 0.3) 75%, rgba(255, 255, 255, 0.1));
}

#mainvisual::after {
    position: absolute;
    content: '';
    width: 95%;
    height: 85%;
    border: var(--white) solid 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#mainvisual p {
    position: absolute;
    color: var(--white);
    font-size: 450%;
    font-family: "Julius Sans One", serif;
    font-weight: 400;
    font-style: normal;
    bottom: 7%;
    right: 3%;
    z-index: 50;
}
#mainvisual .sp-br {
    display: none;
}

/* main */
#main {
    background-color: var(--white);
    position: relative;
    z-index: 50;
}


/* 
about
----------------------------------------------------------------------------------*/
#about {
    margin: 9vw 0 15vw;
}

#about .cont-title {
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
#about .cont-title::after {
    display: none;
}
#about .cont-title span {
    color: var(--green);
}

#about .text {
    margin-top: 3vw;
}


/*
項目の共通部分
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#office .item,
#space .item,
#support .item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3vw;
}

#office img,
#space img,
#support img {
    width: 35%;
}
#office .text,
#space .text,
#support .text {
    width: 60%;
    margin-left: 3vw;
}


/*
office
------------------------------------------------------------------------------------*/
#office {
    margin-bottom: 15vw;
}

/*
space
-----------------------------------------------------------------------------------*/
#space {
    margin-bottom: 15vw;
}

/*
#support
-----------------------------------------------------------------------------------*/
#support {
    margin-bottom: 20vw;
}

@media (max-width: 800px) {}

/*
お問い合わせ
-------------------------------------------------------------------------------------*/
#contact .cont-title {
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8vh;
}
#contact .cont-title::before {
    width: 100%;
    height: 1.5px;
}
#contact .cont-title::after {
    width: 50%;
    height: 1.5px;
}


/* 共通部分 */
#contact .contact-title {
    color: var(--black);
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 150%;
    text-align: center;
    width: 40%;
}
#contact .contact-title span {
    font-size: 200%;
}

#contact .item {
    width: 60%;
    text-align: center;
    border-left: var(--black) 1px solid;
    margin-bottom: 50px;
}

#contact .text {
    color: var(--black);
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 150%;
}
#contact .small {
    font-size: 110%;
    padding-bottom: 60px;
}

#contact .tel a {
    color: var(--black);
    font-size: 250%;
    font-weight: 600;
    cursor: pointer;
}

/* フォーム用ボタン */
#contact .btn {
    position: relative;
    color: var(--black);
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 175%;

    cursor: pointer;
    padding: 25px 40px;
    border: solid 1px var(--black);
    z-index: 50;
    transition: all 0.2s;
}
#contact .btn::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 10px;
    left: 10px;
    transition: all 0.2s
}

#contact .btn:hover {
    border: solid 1px var(--white);
    color: var(--white);
    transition: all 0.2s;
}
#contact .btn:hover::after {
    top: 0;
    left: 0;
    transition: all 0.2s;
}


/* company */
#contact .company {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 5vw 0;
    background-color: var(--whiteYellow);
}

#contact .company .btn::after {
    background-color: var(--yellow);
}

/* user */
#contact .user {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 5vw 0;
    background-color: var(--whiteGreen);
}

#contact .user .btn::after {
    background-color: var(--green);
}


/*
フッター
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
#footer {
    background-color: var(--lightGray);
    text-align: center;
    padding-top: 2vw;
    padding-bottom: 2vw;
}

#footer .link {
    padding-bottom: 30px;
    color: var(--black);
}
#page-top {
    margin-top: 15px;
}
#footer .toplink {
    position: relative;
    color: var(--gray);
    padding-left: 30px;
    transition: all 0.2s;
}
#footer .toplink::before,
#footer .toplink::after {
    position: absolute;
    content: '';
    background-color: var(--gray);
    width: 1px;
    height: 15px;
    top: 3px;
    transition: all 0.2s;
}

#footer .toplink::before {
    transform: rotate(45deg);
    left: 0px;
}
#footer .toplink::after {
    transform: rotate(-45deg);
    left: 10px;
}

#footer .toplink:hover {
    color: var(--black);
    transition: all 0.2s;
}
#footer .toplink:hover:before,
#footer .toplink:hover:after {
    background-color: var(--black);
    top: 0;
    transition: all 0.2s;
}


/* sp */
@media (max-width:800px) {

    /* 共通
    ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    .wrapper {
        padding: 0 5vh;
    }

    .cont-title {
        font-size: 160%;
    }
    .cont-title::after {
        width: 20%;
    }

    .text {
        margin: 2vh;
        font-size: 95%;
        line-height: 2.5rem;
    }

    /* ボタン */
    #contact-btn {
        display: none;
    }

    #sm-contact-btn {
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 55px;
        width: 100%;
        z-index: 100;
        background: var(--yellow);
        right: 0;
        bottom: 0;
        line-height: 1px;
        transition: .3s ease-out;
        opacity: 1;
    }

    #sm-contact-btn .mail {
        display: block;
        width: 40px;
    }
    #sm-contact-btn .sm-mail {
        display: none;
        width: 40px;
    }
    
    #sm-contact-btn p {
        color: var(--white);
        font-family: "Zen Kaku Gothic New", serif;
        font-weight: 500;
        font-style: normal;
        font-size: 120%;
        padding-left: 15px;
    }

    #sm-contact-btn:hover {
        width: 100%;
        background: var(--white);
        border-top: var(--yellow) solid 1px;
    }

    #sm-contact-btn:hover p {
        color: var(--yellow);
    }
    
    #sm-contact-btn:hover .mail {
        display: none;
    }
    #sm-contact-btn:hover .sm-mail {
        display: block;
    }


    /* スクロールしたら隠す */
    .fadeOutTrigger {
        display: block;
        opacity: 1;
    }

    .fadeOut {
        animation-name: fadeOutAnime;
        animation-duration: 1s;
        animation-fill-mode: forwards;
        opacity: 1;
    }
    @keyframes fadeOutAnime {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(500px);
        }
    }

    /* ヘッダー
    ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    #header {
        padding: 2vh;
    }

    #header .site-title {
        width: 23vh;
    }

    /*
    mainvisual
    --------------------------------------------------------------*/
    #mainvisual {
        height: 30vh;
        background-image: url(../img/office.JPG);
    }
    #mainvisual::before {
        height: 30vh;
        background-image: linear-gradient(0deg, rgba(61, 196, 177, 0.7) 40%, rgba(255, 255, 255, 0) 80%);
    }
    #mainvisual::after {
        width: 90%;
        border: var(--white) 1px solid;
    }


    #mainvisual p {
        text-align: right;
        display: inline;
        font-size: 225%;
        right: 8%;
        bottom: 8%;
    }
    #mainvisual .sp-br {
        display:block;
    }

    /*
    about
    ---------------------------------------------------------------*/
    #about {
        margin: 10vh 0 15vh;
    }

    #about .cont-title::before {
        width: 95%;
        left: 50%;
        transform: translateX(-50%);
    }

    #about .text {
        margin-top: 3vh;
    }

    /*
    各項目の共通
    ---------------------------------------------------------------*/
    #office .item,
    #space .item,
    #support .item {
        flex-direction: column-reverse;
        margin-top: 4vh;
    }

    #office img,
    #space img,
    #support img {
        width: 95%;
        margin-top: 1vh;
    }

    #office .text,
    #space .text,
    #support .text {
        width: 100%;
        margin-top: 0;
    }

    /*
    office
    ---------------------------------------------------------------*/
    #office {
        margin-bottom: 15vh;
    }

    /*
    space
    ----------------------------------------------------------------*/
    #space {
        margin-bottom: 15vh;
    }
    #space .cont-title {
        font-size: 145%;
    }

    /*
    support
    -----------------------------------------------------------------*/
    #support {
        margin-bottom: 20vh;
    }

    /*
    お問い合わせ
    ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    #contact .cont-title::before {
        height: 1px;
    }
    #contact .cont-title::after {
        height: 1px;
    }

    #contact .contact-title {
        width: 100%;
        font-size: 110%;
    }
    #contact .contact-title span {
        font-size: 175%;
    }

    #contact .item {
        width: 100%;
        border-left: none;
        margin-top: 5vh;
    }
    #contact .text {
        font-size: 110%;
        margin: 0;
    }
    #contact .tel a {
        font-size: 200%;
    }
    #contact .small {
        padding-bottom: 50px;
        margin-top: 0;
    }

    #contact .company,
    #contact .user {
        flex-direction: column;
        padding: 5vh 0;
    }

    /* ボタン */
    #contact .btn {
        font-size: 125%;
    }

    #contact .btn::after {
        top: 7px;
        left: 7px;
    }


    /*
    フッター
    ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
    #footer {
        padding-top: 5vh;
        padding-bottom: 9vh;
    }

    #footer .link {
        margin: 0;
        padding: 30px 0;
    }

}