@charset "utf-8";

/*============================
代表挨拶
============================*/
#message .photo {
    width: 300px;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
}

#message .photo img {
    margin-right: 20px;
	width: 100%;
}

#message .text {
    width: 700px;
}

#message .name {
    background: url(../images/name.png)no-repeat center center;
    background-size: 100%;
    width: 309px;
    height: 0;
    padding-top: 31px;
    display: block;
    overflow: hidden;
    margin-left: auto;
    margin-top: 20px;
}

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

    #message .photo {
        width: 100%;
        height: 0;
        padding-top: 60%;
        position: relative;
        margin-bottom: 20px;
    }

    #message .photo img {
        margin-right: 0;
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #message .text {
        width: 100%;
    }

    #message .name {
        width: 216px;
        padding-top: 22px;
        margin-top: 15px;
    }
}

/*============================
会社概要
============================*/

#company {}

/*============================
許可証
============================*/

.certificate {
    margin-top: 60px;
    background: #d1e2eb;
    border-radius: 30px;
    width: 100%;
}

/*一時的なコード*/
.certificate p {
    line-height: 300px;
    text-align: center;
}

@media only screen and (max-width: 768px) {
    .certificate {
        margin-top: 30px;
    }

    /*一時的なコード*/
    .certificate p {}
}


/*============================
実績
============================*/

.results {
    background: var(--bg04-color);
    color: var(--text02-color);
    text-align: center;
    padding: 60px 0;
}

.results h2 {
    letter-spacing: 0.25em;
}

.results ul {
    justify-content: center;
    grid-gap: 10px 20px;
}

.results ul li::before {
    content: "\f807";
    font: var(--fa-font-solid);
    padding-right: 5px;
}

.results dl {
    background: var(--bg05-color);
    color: var(--text01-color);
    padding: 20px 0;
    border-radius: 35px;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    margin-top: 30px;
}

.results dl dt::after {
    content: "｜";
}

@media only screen and (max-width: 768px) {
    .results {
        padding: 30px 4.6875%;
    }

    .results .inner {
        width: 100%;
    }

    .results h2 {
        letter-spacing: 0.25em;
    }

    .results ul {}

    .results ul li::before {}

    .results dl {
        padding: 15px 0;
        font-size: 16px;
        margin-top: 20px;
    }

    .results dl dt::after {}
}
