@charset "utf-8";
/**********************************
 *
 * keyvisual
 *
 **********************************/
#keyvisual {
    position: relative;
}

#keyvisual .arrow {
    width: 32px;
    height: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    margin: auto;
    cursor: pointer;
}

/**********************************
 *
 * business
 *
 **********************************/
#business ul {
    padding: 0 0 30px;
}

#business ul li {
    display: flex;
    align-content: center;
    align-items: center;
    background-color: #fff;
}

#business ul li .businessName {
    display: flex;
    align-content: center;
    align-items: center;
    width:330px;
    height: 100px;
    position: relative;
}

#business ul li .businessName:after {
    content: "";
    position: absolute;
    right: -8px;
    transform: translateY(-50%);
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 8px;
}

#business ul li .businessName p {
    width: 80%;
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.35;
    letter-spacing: 1.2px;
    text-align: center;
    color: #ffffff;
}

#business ul li .businessContent {
    height: 100px;
    padding: 30px;
}


/**********************************
 *
 * 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 40px 0 0;
}

#company ul li:last-child iframe {
    width: 470px;
    height: 340px;
}

#company dl dt {
    float: left;
    width: 90px;
    font-weight: bold;
    padding: 0 0 10px;
}

#company dl dd {
    float: left;
    width: 400px;
}


/**********************************
 *
 * contact
 *
 **********************************/
#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: #DA2F15;
    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: #000000;
}

#form_success, #form_error {
    display: none;
    text-align: center;
}

.pagetop {
    position: absolute;
    right: -100px;
    bottom: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #494949;
}

.pagetop a {
    display: block;
    width: 100%;
    position: relative;
    text-align: center;
    line-height: 45px;
}

.pagetop a img {
    width: 26px;
    height: 14px;
    display: inline-block;
}



@media screen and (max-width: 768px) {

    /**********************************
    *
    * business
    *
    **********************************/
    #business ul li {
        display: block;
    }

    #business ul li .businessName {
        width:100%;
        height: 50px;
    }

    #business ul li .businessName:after {
        content: "";
        position: absolute;
        right: 50%;
        transform: translateY(0) translateX(50%);
        top: inherit;
        bottom: -8px;
        border-style: solid;
        border-width: 8px 8px 0 8px;
    }

    #business ul li .businessName p {
        width: 80%;
        font-size: 16px;
    }

    #business ul li .businessContent {
        height: auto;
        padding: 20px;
    }


    /**********************************
    *
    * 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: 45px;
        height: 45px;
        margin: 30px 0 0 calc(100% - 40px);
    }

    .pagetop a {
        line-height: 28px;
    }

    .pagetop a img {
        width: 20px;
        height: auto;
    }
}
