@charset "utf-8";

@media (max-width: 700px) {

#message {
    padding-top: 6.15%;
    padding-right: 5.38%;
    padding-left: 5.38%;
    background-image: url(../images/dot_deco_large.svg);
    background-repeat: no-repeat;
    background-position: right -168px top 75%;
    background-size: 100% auto;
    padding-bottom: 6.15%;
}
.message_cont {
    display: flex;
    flex-wrap: wrap;

}

#message_box {
    width: 100%;
    margin-right: 0px;
    z-index: 999;
}
#message_txt {
    border-radius: 12px;
    padding: 16px;
    background-color: hsla(0,0%,100%,0.84);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 16px;
    margin-bottom: 16px;
}
#message_txt p {
    line-height: 1.8em;
    font-weight: 500;
}
#message_box #message_daihyo {
    font-size: 18px;
    font-weight: 500;
    margin-top: 8px;
}
#message_box #message_daihyo psan {
    margin-right: 16px;
    font-size: 16px;
    font-weight: 400;
}
#message_img {
    z-index: 998;
    width: 100%;
}
#philosophy {
    background-image: -webkit-linear-gradient(270deg,rgba(249,247,244,0.00) 0%,rgba(249,247,244,1.00) 10.95%);
    background-image: -moz-linear-gradient(270deg,rgba(249,247,244,0.00) 0%,rgba(249,247,244,1.00) 10.95%);
    background-image: -o-linear-gradient(270deg,rgba(249,247,244,0.00) 0%,rgba(249,247,244,1.00) 10.95%);
    background-image: linear-gradient(180deg,rgba(249,247,244,0.00) 0%,rgba(249,247,244,1.00) 10.95%);
    background-size: cover;
    background-position: center top;
    padding-top: 6.15%;
    padding-right: 5.38%;
    padding-left: 5.38%;
    padding-bottom: 12.3%;
    background-repeat: no-repeat;
}
#philosophy_cont {
    display: flex;
    justify-content: space-between;
    margin-top: 5.38%;
    flex-wrap: wrap;
    flex-direction: column-reverse;
}
#philosophy_img {
    width: 100%;
}
#philosophy_img img {
    border-radius: 12px;
}
#philosophy_txt {
    width: 100%;
    margin-bottom: 24px;
}
#philosophy_txt h3 {
    color: #de2526;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 5.38%;
    text-align: center;
}
#philosophy_txt p {
    font-weight: 500;
    line-height: 1.8em;
}
}
