@charset "utf-8";

#philosophy h4 {
    margin-bottom: 1.88rem;
}

.philosophy-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.philosophy-content-background {
    position: relative;
    z-index: 1;
}

.philosophy-content-background::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("../img/about-mission-vision.png");
    background-repeat: no-repeat;
    background-position: center 10rem;
    background-size: 40%;

    opacity: 0.8;

    z-index: -1;
    pointer-events: none;
}

@media screen and (max-width: 820px) {
    #philosophy {
        align-items: flex-start;
    }

    #philosophy h3 span {
        display: inline-block;
        margin-left: 0.62rem;
        text-align: center;
    }

    .philosophy-content-background::before {
        background-size: 50%;
    }
}

@media screen and (max-width: 440px) {
    .fv-lower-message-wrapper h3,
    #philosophy h4 {
        margin-bottom: 1.25rem;
    }

    .philosophy-content-background::before {
        background-size: 80%;
        top: 6.25rem;
    }
}

/* SECTION MISSION */

#mission {
    margin-bottom: 12.5rem;
    text-align: center;
}

#mission h3 {
    margin-bottom: 1.88rem;
}

#mission h4 {
    margin-bottom: 1.25rem;
}

@media screen and (max-width: 820px) {
    #mission {
        margin-bottom: 6.25rem;
        text-align: left;
    }
}

/* SECTION VISION */

#vision {
    margin-bottom: 6.25rem;
    text-align: center;
}

#vision h3 {
    margin-bottom: 1.88rem;
}

#vision h4 {
    margin-bottom: 1.25rem;
}

@media screen and (max-width: 820px) {
    #vision {
        margin-bottom: 6.25rem;
        text-align: left;
    }
}

/* SECTION VALUES */

#values {
    margin-bottom: 6.25rem;
}

#values.flex-pc {
    gap: 5rem;
}

#values h3 {
    margin-bottom: 1.88rem;
}

#values h4 {
    margin-bottom: 1.25rem;
}

.values-l {
    flex: 1;
}

#values img {
    width: 58%;
    height: auto;
    flex-shrink: 0;
    display: block;
    object-fit: cover;
    border-radius: 1.25rem;
    box-shadow: 10px 10px 0 var(--accent-color_02);
    border-radius: 1.25rem;
}

#credo h3 {
    margin-bottom: 1.88rem;
}

#credo .credo-inner {
    background: var(--base-color_01);
    padding: 3.13rem;
    padding-bottom: 4.37rem;
    border-radius: 1.88rem;
}

#credo img {
    width: 100%;
    border-radius: 1.25rem;
    box-shadow: 20px 20px 0 var(--accent-color_02);
    border-radius: 1.25rem;
    margin-bottom: 4.37rem;
}

.credo-list {
    text-align: center;
}

.credo-list li {
    margin-bottom: 3.13rem;
}

.credo-list li:last-of-type {
    margin-bottom: 0;
}

#credo h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.94rem;
}

.credo-number {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--base-color_01);
    background: var(--accent-color_01);
    font-size: 1rem;
    font-weight: 900;
    margin-right: 0.62rem;
}

@media screen and (max-width: 820px) {
    .values-l {
        width: 100%;
        margin-bottom: 1.88rem;
    }

    #values img {
        width: 100%;
    }

    .credo-list li {
        margin-bottom: 2.5rem;
    }
}

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

    #credo .credo-inner {
        padding: 4%;
        padding-bottom: 3.13rem;
        border-radius: 1.25rem;
    }

    #credo img {
        width: 100%;
        border-radius: 1.25rem;
        box-shadow: 5px 5px 0 var(--accent-color_02);
        border-radius: 1.25rem;
        margin-bottom: 3.13rem;
    }

    .credo-list {
        text-align: left;
    }

    #credo h4 {
        justify-content: left;
    }
}

@media screen and (max-width: 440px) {
    #mission h3,
    #vision h3,
    #values h3,
    #credo h3 {
        margin-bottom: 1.25rem;
    }
}

/* SECTION GREATING */

.greating-wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
}

.greating-inner {
    background: var(--background-color_01);
    padding: 1.88rem;
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    margin-bottom: 6.25rem;
}

.greating-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/logo-mark.png") no-repeat center;
    background-size: 18%;
    opacity: 0.3; /* ここで透過率を調整 */
    pointer-events: none;
    z-index: 0;
}

#greating h3 {
    margin-bottom: 1.88rem;
}

.greating-text {
    margin-bottom: 1.88rem;
}

.greating-post {
    margin-right: 0.88rem;
}

/* #OUTLINE */

#outline h3 {
    margin-bottom: 1.88rem;
}

.outline-wrapper {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
    margin-bottom: 6.25rem;
}

.outline-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-top: 1px solid var(--text-line-sub);
}

.outline-table tr {
    position: relative;
}

.outline-table th {
    width: 30%;
    text-align: left;
    vertical-align: text-top;
    font-weight: 700;
}

.outline-table td {
    width: 70%;
    vertical-align: middle;
}

.outline-table th,
.outline-table td {
    padding: 1.88rem 0;
}

.outline-table tr::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--text-line-sub);
}

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

    .outline-table tr {
        display: flex;
        flex-direction: column;
    }

    .outline-table th {
        width: 100%;
        padding-bottom: 0;
        font-size: 1.1rem;
    }

    .outline-table td {
        width: 100%;
        padding-top: 0.64rem;
    }
}