@charset "utf-8";
@import url(common.css);

/*ページタイトルおよびセクションタイトルはcommonに定義*/
.page-title h1 {
    line-height: 160px;
}

.page-title {
    height: 160px;
}

/*経営理念*/

.principle__content {
    background-image: url(images/mtop-left-image.png);
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
}

#principle p {
    font-size: 1rem;
    margin: 1rem 6rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

#principle ul {
    margin: 3rem 8rem;
}

#principle ul li {
    font-size: 1.2rem;
    list-style-type: disc;
}

.principle__signature {
    margin: 3rem 4rem;
    text-align: right;
}

.principle__signature img {
    height: 4rem;
    margin-right: 4rem;
}

#principle .principle__signature p {
    font-size: 1.4rem;
    margin-right: 4rem;
}

#principle .principle__photo ul {
    display: flex;
}

#principle .principle__photo ul li {
    list-style-type: none;
    margin: 2rem;
}

/*会社概要*/
.profile__bg {
    background-image: url(images/bg_profile.png);
    background-size: cover;
    padding: 5rem;
}

#company-profile table {
    margin: 0 auto;
    font-size: 1.1rem;
}

#company-profile table  tr {
    border-bottom: 1px solid #fff;
}

#company-profile table th {
    padding: 0.5rem 2rem 0.5rem 1rem;
    text-align: left;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

#company-profile table td {
    padding: 0.5rem 1rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/*心得10カ条*/
#mindset {
    margin-bottom: 2rem;
}

#mindset .mindset__video {
    text-align: center;
    margin-bottom: 2rem;
}

#mindset ul {
    margin: 0 4rem;
    background-image: url(images/mtop-left-image.png);
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.8);
    background-blend-mode: lighten;
}

#mindset ul li h3 {
    font-size: 1.2rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

#mindset ul li p {
    margin: 0.5rem 3rem 1.5rem 3rem;
}

/*社会貢献活動*/
#contribution__background {
    background-image: url(images/bg_contribution.jpg);
    background-repeat: repeat;
    padding-bottom: 5rem;
    background-color: rgba(255, 255, 255, 0.3);
    background-blend-mode: lighten;
    margin-top: 5rem;
}

#contribution h3 {
    font-size: 1.2rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-left: 4rem;
}

#contribution p {
    font-size: 0.9rem;
    margin: 0 4rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/*主な活動*/
#main-activities {
    background-image: url(images/bg_activity.jpg);
    background-size: cover;
}

#main-activities h2 {
    font-size: 1.5rem;
    text-align: center;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    padding-top: 1rem;
}

#main-activities h3 {
    font-size: 1.2rem;
    text-align: center;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 2rem auto;
}

#main-activities ul {
    display: flex;
    justify-content: space-around;
    margin: 0 10%;
    padding-bottom: 2rem;
}

#main-activities ul li {
    width: 30%;
    background-color: #fff;
    border: 1px solid #333;
    text-align: center;
    align-items: stretch;
    padding-bottom: 1rem;
}

#main-activities ul li h4 {
    font-size: 1.5rem;
    margin: 1rem auto 0.5rem auto;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

#main-activities ul li span {
    display: inline-block;
    width: 80%;
    height: 1px;
    border-radius: 1px;
    background-color: #ccc;
}

#main-activities ul li p {
    text-align: left;
    font-size: 0.8rem;
    margin: 1rem;
    font-family: "Klee One", cursive;
    font-weight: 600;
    font-style: normal;
}

#records {
    background-image: url(images/bg_records.png);
    background-size: contain;
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
    padding: 5rem 0;
}

/*#records img {
    box-shadow: 4px 4px 20px 20px #ccc;
}*/

#records .records__catchcopy {
    background-image: url(images/bg_records_title.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 10rem;
    margin-bottom: 2rem;
}

#records h2 {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    padding-top: 3rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

#records p {
    color: #fff;
    text-align: center;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.records__photo__title {
    width: 16rem;
    height: 2.5rem;
    background-image: url(images/bg_records_photo_title.png);
    background-size:  cover;
    font-size: 1.2rem;
    color: #fff;
    margin-left: 2rem;
    padding-left: 2rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

#records ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.5rem;
    margin: 1rem;
    text-align: center;
}

#records .img-border {
    border: 0.5rem solid #fff;
}

/*
#records ul {
    display: flex;
    justify-content: flex-start;
    margin: 0 2rem 1rem 2rem;
}

#records ul li {
    width: 20%;
    margin: 1rem 2%;
}

.records__h24-h25 {
    display: flex;
}

#records .records__h24-h25 ul li {
    width: 46%;
    margin: 1rem 4%;
}
*/

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

    #principle p {
        margin: 1rem 2.5rem;
        font-size: 0.8rem;
    }

    #principle .principle__signature p {
        margin-right: 0;
        font-size: 1.2rem;
    }

    #principle ul {
        margin: 3rem 4rem;
    }

    #principle ul li {
        font-size: 1.1rem;
    }

    #principle .principle__photo ul {
        margin: 1rem;
        justify-content: space-around;
    }

    #principle .principle__photo ul li {
        width: 40%;
        margin: 0;
    }

    #company-profile {
        font-size: 0.9rem;
    }

    .profile__bg {
        background-image: url(images/bg_profile.png);
        background-size: cover;
        padding: 1rem;
    }

    #company-profile table {
        margin: 0 auto;
        font-size: 0.9rem;
    }

    #company-profile table tr {
        border-bottom: 1px solid #fff;
    }

    #company-profile table th {
        padding: 0.5rem;
        text-align: left;
        font-family: "Zen Maru Gothic", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 0.8rem;
    }

    #company-profile table td {
        padding: 0.5rem;
        font-family: "Zen Maru Gothic", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 0.8rem;
    }

    #mindset ul {
        margin: 0 1.5rem;
        font-size: 0.9rem;
    }

    #mindset ul li p {
        margin: 0.5rem 2rem 1.5rem 2rem;
    }

    #contribution h3 {
        text-align: center;
        font-weight: bold;
        margin-left: auto;
        margin-right: auto;
    }

    #contribution p {
        margin: 0 2.5rem;
        font-size: 0.8rem;
        font-weight: bold;
    }

    #mindset ul li h3 {
        font-size: 1.1rem;
    }

    #main-activities ul {
        display: flex;
        flex-direction: column;
        margin: 0 10%;
        padding-bottom: 2rem;
    }

    #main-activities ul li {
        width: 90%;
        align-items: stretch;
        margin: 0 auto 2rem auto;
    }

    #main-activities h3 {
        font-size: 1.2rem;
        text-align: center;
        font-family: "Zen Maru Gothic", sans-serif;
        font-weight: 400;
        font-style: normal;
        margin: 1rem auto;
    }

    #main-activities ul li h4 {
        margin: 1rem 0.5rem 0 0.5rem;;
    }

    #records ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.2rem;
        margin: 1rem auto;
        text-align: center;
        padding: 0;
    }

    #records ul li {
        width: 95%;
        margin: 1rem 1%;
        padding: 0;
        margin: 0 0 1rem 0;
    }

    .records__h24-h25 {
        flex-direction: column;
    }

    #records {
        padding: 1rem;
    }

    #records .img-border {
        border: 0.2rem solid #fff;
    }

}