@charset "utf-8";

/**
 * company.css
 * description
 *
 * Created by Qbist on 2016/03/18.
 * Copyright (c) 2016 Qbist. All rights reserved.
 */
#company {
    margin: 0 auto;
    max-width: 720px;
}
main #company h1.categoryH + p {
    margin-bottom: 140px;
}
main #company h1.elementH {
    margin-bottom: 50px;
}
main #company section {
    background: url('../img/dot_line_green.png') no-repeat center bottom;
    margin-bottom: 60px;
    padding-bottom: 80px;
}
main #company section:last-child {
    background: none;
    padding-bottom: 0;
}
#company section .origin {
    align-items: center;
    -webkit-box-align: center;
    -webkit-box-pack: justify;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    line-height: 1.4;
}
#company .name_area {
    display: flex;
    font-size: 1.5rem;
    justify-content: flex-end;
    line-height: 1.8;
    text-align: center;
}

#company .lead_area {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    width: 100%;
}
#company .lead_area p + p {
    margin: 15px 0 0 0;
}
#company dl {
    align-items: flex-start;
    -webkit-box-align: start;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
#company dl dt {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 1.5em;
    width: 180px;
}
#company dl dd {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 26px;
    line-height: 2.6rem;
    margin-bottom: 2em;
    width: 540px;
}
#company dl dd img {
    float: left;
    margin-right: 20px;
}
#company dl dd:last-child {
    margin-bottom: 0;
}
#company ul.access {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.5;
    margin-top: 20px;
    text-align: center;
}
#company ul li:last-child {
    padding-top: 1em;
}
#company dl.circle__dl {
    border: 4px solid #afcb2b;
    border-radius: 10px;
    display: block;
    padding: 40px;
    text-align: center;
}
#company dl .circle__dt {
    background-color: #afcb2b;
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-size: 1.8rem;
    height: 60px;
    line-height: 60px;
    margin-bottom: 1em;
    text-align: center;
    width: auto;
    width: 60px;
}
#company dl .circle__dl--item {
    border-bottom: 1px solid #afcb2b;
    font-size: 2rem;
    padding-bottom: 2.5rem;
    text-align: center;
    width: auto;
}

@media only screen and (max-width: 640px) {
    #company {
        padding: 0 2%;
    }
    #company section .origin {
        -ms-flex-pack: distribute;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    #company dl.circle__dl {
        padding: 3rem;
    }
    #company .name_area {
    }
    #company .lead_area {
        width: 100%;
    }
    .gmapWrap {
        height: 0;
        overflow: hidden;
        padding-bottom: 75%; /*これが縦横比*/
        position: relative;
    }
    .gmapWrap iframe {
        height: 100% !important;
        left: 0;
        position: absolute;
        top: 0;
        width: 100% !important;
    }
}
