/*---------------------------------------------------------
                共通css
---------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
}

@font-face {
    font-family: "Shin Retro Maru Gothic";
    src: url("../font/ShinRetroMaruGothic-B.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Shin Retro Maru Gothic";
    src: url("../font/ShinRetroMaruGothic-R.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Shin Retro Maru Gothic";
    src: url("../font/ShinRetroMaruGothic-M.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

a {
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
}

html {
    color: #7F6658;
    font-family: "Shippori Mincho", serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.08em;
}

body {
    background-color: #FFF;
    background-size: contain;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

p {
    font-family: "Shippori Mincho", serif;
    font-style: normal;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.08em;
}


@media screen and (max-width:768px) {
    p {
        font-size: 14px;
    }
}

/*---------------------------------------------------------
                キャッチコピー
---------------------------------------------------------*/
main {
    padding: 25vh 0 25vh;
    background-image: url(../img/img_bg.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

#slogan {
    margin: 0 auto;
    width: 82vw;
    text-align: center;
}

#slogan h1 {
    font-family: "Shin Retro Maru Gothic", serif;
    font-weight: 400;
    font-size: max(5vw, 36px);
    line-height: 1.6;
    letter-spacing: 0.24em;
}

#slogan p:first-of-type {
    font-size: max(2.3vw, 16px);
    line-height: 1.6;
    letter-spacing: 0.04em;
}

#slogan p:last-of-type {
    width: 40vw;
    margin: 40px auto 0;
    line-height: 1.8;
}

@media screen and (max-width:990px) {
    #slogan p:last-of-type {
        width: 75vw;
    }
}

@media screen and (max-width:768px) {
    #slogan p:last-of-type {
        width: 100%;
    }
}

/*---------------------------------------------------------
                会社概要
---------------------------------------------------------*/
#about {
    margin: 25vh auto 0;
    padding: 84px 99px;
    width: 90%;
    max-width: 894px;
    background: rgba(255, 255, 255, 0.85);
}

#about h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.24em;
    text-align: center;
}

#about h2 img{
    width: 30px;
}

#about .about_table {
    margin-top: 50px;
}

#about .about_table dl {
    display: flex;
    gap: 50px;
    padding: 24px 18px;
    border-bottom: 1px solid #7F6658;
    line-height: 1.8;
    letter-spacing: 0.08em;

}

#about .about_table dl dt {
    width: 100px;
}

#about .about_table dl dd {
    width: calc(100% - 50px - 100px);
}

#about .about_table dl dd p {
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0.08em;
}

#about .about_table dl dd p:not(:first-of-type) {
    margin-top: 8px;
}

@media screen and (max-width:990px) {
    #about {
        padding: 50px;
    }
}

@media screen and (max-width:768px) {
    #about {
        padding: 34px 20px;
    }

    #about h2 {
        font-size: 20px;
    }

    #about h2 img{
        width: 20px;
    }

    #about .about_table {
        margin-top: 45px;
    }

    #about .about_table dl {
        flex-direction: column;
        gap: 10px;
        line-height: 1;
        font-size: 14px;
    }

    #about .about_table dl dt {
        width: 100%;
        line-height: 1;
    }

    #about .about_table dl dd {
        width: 100%;
        line-height: 1.4;
    }

    #about .about_table dl dd p{
        font-size: 14px;
    }
}