@charset "utf-8";
/**********************************
 *
 * keyvisual
 *
 **********************************/
#keyvisual {
    position: relative;
    width: 100%;
    height: auto;
}

#keyvisual h2 {
    width: 920px;
    z-index: 2;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translateX(-50%) translateY(-50%);
}

#keyvisual h2 span {
    display: inline-block;
    font-size: 24px;
    font-weight: normal;
    line-height: 3.17;
    letter-spacing: 8.2px;
    color: #ffffff;
    padding: 0 0 20px;
}

#keyvisual .arrow {
    width: 32px;
    height: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    margin: auto;
    cursor: pointer;
    z-index: 1;
    animation: arrowAnimation 1.5s ease infinite alternate;
    transition opacity ease .8s;
}

#keyvisual .arrow:hover {
    opacity: 0.7;
}

@keyframes arrowAnimation {
    0% {
        transform:translateY(0);
    }
    100% {
        transform:translateY(20px);
    }
}

/**********************************
 *
 * about
 *
 **********************************/
#about ul li {
    position: relative;
}

#about ul li:last-child {
    padding: 0 0 120px;
}

#about ul li figure {
    position: absolute;
}

#about ul li:first-child figure {
    width: 50%;
    max-width: 565px;
    left: -5%;
    top: 0;
}

#about ul li:last-child figure {
    width: 50%;
    max-width: 650px;
    right: -5%;
    top: -60px;
}

#about ul li h4 {
    text-align: right;
    font-size: 36px;
    line-height: 1.8;
    letter-spacing: 2.2px;
    padding: 60px 0 120px;
    position: relative;
    z-index: 1;
}

#about ul li h4 span {
    margin: 0 -2em 0 0;
    display: inline-block;
}

#about ul li .str {
    position: relative;
    z-index: 1;
    padding: 0 0 0 20px;
}

#about ul li h5 {
    padding: 0 0 20px;
    font-size: 22px;
    line-height: 1.86;
    letter-spacing: 1.3px;
    color: #03a2dd;
}

#about .obj {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 75px 150px 75px;
    border-color: transparent transparent #f2f7f8 transparent;
}

#about .obj.obj1 {
    right: 20%;
    top: 10%;
    transform: rotate(-45deg) scale(2);
    animation: objAnimation1 9s ease infinite alternate;
}

#about .obj.obj2 {
    left: 30%;
    bottom: 10%;
    transform: rotate(25deg);
    animation: objAnimation2 8s ease infinite alternate;
}

#about .obj.obj3 {
    left: 20%;
    top: 0;
    transform: rotate(25deg);
    animation: objAnimation2 8s ease infinite alternate;
}

@keyframes objAnimation1 {
    0% {
        transform: rotate(-45deg) scale(2);
    }
    100% {
        transform:rotate(90deg) scale(2);
    }
}

@keyframes objAnimation2 {
    0% {
        transform: rotate(25deg);
    }
    100% {
        transform:rotate(-90deg);
    }
}

@keyframes objAnimation3 {
    0% {
        transform: rotate(25deg);
    }
    100% {
        transform:rotate(-25deg);
    }
}

/**********************************
 *
 * business
 *
 **********************************/
#business {
    background-color: #f2f7f8;
}

#business ul {
    display: flex;
    align-content: center;
    align-items: center;
}

#business ul li {
    position: relative;
}

#business ul li:nth-child(2) {
    margin: 0 1px;
}

#business ul li p {
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.67;
    letter-spacing: 1.1px;
    text-align: center;
    color: #ffffff;
    background-color:rgba(39, 175, 222, 0.8);
}


/**********************************
 *
 * company
 *
 **********************************/
#company ul {
    display: flex;
    align-content: center;
    align-items: center;
    flex-flow: row-reverse nowrap;
}

#company ul li:last-child {
    width: 470px;
    margin: 0 50px 0 0;
}

#company ul li:last-child iframe {
    width: 470px;
    height: 340px;
}

#company dl {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.29;
    letter-spacing: 0.8px;
}

#company dl dt {
    float: left;
    width: 80px;
    font-weight: bold;
    padding: 0 0 20px;
}

#company dl dd {
    float: left;
    padding: 0 0 20px 20px;
    width: 390px;
}


/**********************************
 *
 * contact
 *
 *********************************/
 #contact {
     background-color: #f2f7f8;
 }

#frm {
    width: 630px;
    margin: 0 auto;
}

#frm dl dt {
    width:100%;
    padding:0 0 10px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 1px;
}

#frm dl dt span {
    color: #fff;
    background-color: #03a2dd;
    font-size: 12px;
    font-weight: bold;
    line-height: 2;
    letter-spacing: 1.2px;
    text-align: center;
    padding: 5px;
}

#frm dl dt .required {
    background-color: #ef6129;
}

#frm dl dd {
    width:100%;
    padding: 0 0 30px;
}

#frm input {
    width: 630px;
    height: 55px;
    display: block;
    background-color: #fff;
    outline: 0;
    border: none;
    padding: 3px 20px;
    font-size: 16px;
}

#frm input::placeholder {
    color: #aaa;
}

#frm input:-ms-input-placeholder {
    color: #aaa;
}

#frm input::-ms-input-placeholder {
    color: #aaa;
}

#frm input:focus, #frm textarea:focus {
    background-color:#FAFFBD;
}

#frm textarea {
    width: 630px;
    height: 260px;
    display: block;
    background-color: #fff;
    outline: 0;
    padding: 20px 20px;
    font-size: 16px;
}

#frm .errorMsg {
    padding: 10px 0 0;
    font-size: 12px;
    color: #FF0000;
    display: none;
}

#frm .submit {
    width: 260px;
    height: 50px;
    margin: 20px auto 0;
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    border-radius: 23.5px;
    background-color: #00455f;
    transition opacity ease .8s;
}

#frm .submit:hover {
    opacity: 0.7;
}

#form_success, #form_error {
    display: none;
    text-align: center;
}

.pagetop {
    position: absolute;
    right: -100px;
    bottom: 0;
    width: 70px;
    height: 70px;
    transform: rotate(45deg);
    background-color: #03a2dd;
    transition opacity ease .8s;
}

.pagetop:hover {
    opacity: 0.7;
}

.pagetop a {
    display: block;
    width: 100%;
    position: relative;
    text-align: center;
    line-height: 42px;
}

.pagetop a img {
    transform: rotate(-45deg);
    width: 26px;
    height: 14px;
    display: inline-block;
}



@media screen and (max-width: 768px) {
    /**********************************
    *
    * keyvisual
    *
    **********************************/
    #keyvisual h2 {
        width: 80%;
    }

    #keyvisual h2 span {
        font-size: 4.2666vw;
        line-height: 2;
        letter-spacing: 5px;
        padding: 0 0 20px;
    }

    #keyvisual .arrow {
        display: none;
    }

    /**********************************
    *
    * about
    *
    **********************************/
    #about ul li:last-child {
        padding: 0;
        margin: 35px 0 0 0;
    }

    #about ul li figure {
        position: relative;
    }

    #about ul li:first-child figure {
        width: 90%;
    }

    #about ul li:last-child figure {
        width: 95%;
        max-width: 650px;
        right: inherit;
        top: inherit;
        margin: 30px 0 0 10%;
    }

    #about ul li h4 {
        text-align: center;
        font-size: 5vw;
        line-height: 1.8;
        letter-spacing: 1.4px;
        padding: 0 0 30px;
    }

    #about ul li h4 span {
        margin: 0;
    }

    #about ul li .str {
        padding: 0 0 0 20px;
    }

    #about ul li h5 {
        padding: 0 0 10px;
        font-size: 4.5333vw;
    }

    #about .obj {
        border-width: 0 45px 90px 45px;
    }

    #about .obj.obj1 {
        right: 0;
        top: 0;
    }

    #about .obj.obj2 {
        bottom: 0;
    }

    #about .obj.obj3 {
        left: 10%;
        top: 60%;
    }

    /**********************************
    *
    * business
    *
    **********************************/
    #business ul {
        display: block;
    }

    #business ul li:nth-child(2) {
        margin: 15px auto;
    }

    #business ul li {
        width: 100%;
        margin: 0 auto;
    }

    #business ul li p {
        padding: 15px 0;
        font-size: 4.2666vw;
    }


    /**********************************
    *
    * company
    *
    **********************************/
    #company ul {
        display: block;
    }

    #company ul li:first-child {
        width: 100%;
        margin: 0 auto;
    }

    #company ul li:last-child {
        width: 100%;
        margin: 20px auto 0;
    }

    #company ul li:last-child iframe {
        width: 100%;
        height: 40vh;
        display: block;
        margin: 0 auto;
    }

    #company dl {
        font-size: 3.7333vw;
    }

    #company dl dt {
        width: 25%;
        padding: 0 0 20px;
    }

    #company dl dd {
        padding: 0 0 20px 5%;
        width: 70%;
    }


    /**********************************
    *
    * contact
    *
    *********************************/
    #frm {
        width: 100%;
    }

    #frm dl dt {
        padding:0 0 10px;
        font-size: 3.7333vw;
    }

    #frm dl dt span {
        font-size: 2.9333vw;
    }

    #frm input {
        width: 100%;
        height: 45px;
        padding: 3px 10px;
        font-size: 3.7333vw;
    }

    #frm textarea {
        width: 100%;
        height: 230px;
        font-size: 3.7333vw;
    }

    #frm .errorMsg {
        font-size: 2.9333vw;
    }

    #frm .submit {
        width: 90%;
        max-width: 300px;
        margin: 20px auto 0;
        font-size: 4vw;
    }

    .pagetop {
        position: relative;
        right: inherit;
        bottom: inherit;
        width: 50px;
        height: 50px;
        margin:40px 0 0  calc(100% - 55px);
    }

    .pagetop a {
        line-height: 33px;
    }
}
