/* トップメッセージ */

section#contents-title {
    height: 240px;
    background-image: url("../images/title_bg_pc.png");
}
section#contents-title h1 {
    padding-top: 50px;
}

section#message-contents {
    position: relative;
    margin-bottom: 55px;
    padding-bottom: 40px;
}
section#message-contents:before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1570px;
    height: 50%;
    background-repeat: no-repeat;
    background-position: left top;
    background-image: url("../images/bg_message_pc.png");
    background-size: cover;
    transform: translateX(-610px);
    content: "";
}
section#message-contents:after {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1570px;
    height: 50%;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-image: url("../images/bg_message_pc.png");
    background-size: cover;
    transform: translateX(-610px);
    content: "";
}
@media only screen and (max-width: 1240px) {
    section#message-contents:before {
        left: 3%;
        transform: none;
    }
    section#message-contents:after {
        left: 3%;
        transform: none;
    }
}
section#message-contents .inner {
    position: relative;
    width: 94%;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
    text-align: left;
    z-index: 1;
}
section#message-contents p {
    width: 68.5%;
    margin-bottom: 1.5em;
    line-height: 2.2;
    font-size: 16px;
}
section#message-contents .president {
    display: flex;
    align-items: center;
    padding-top: 2em;
}
section#message-contents p.position {
    width: 8em;
    margin-right: 1em;
    font-size: 20px;
}
section#message-contents p.sign {
    width: 190px;
}
section#message-contents .photo {
    position: absolute;
    top: 80px;
    right: -5%;
}
section#message-contents .photo img {
    border-radius: 30%;
}


section#purpose {
    margin-bottom: 70px;
}
section#purpose .inner {
    width: 94%;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}
section#purpose h2 {
    position: relative;
    background-color: #d9512b;
    margin-bottom: 50px;
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    line-height: 1.6;
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
}
section#purpose h2:before {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #d9512b;
    content: "";
}

section#purpose h3 {
    margin-bottom: 1em;
    font-family: "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック, "Yu Gothic", sans-serif;
    line-height: 1.6;
    font-size: 36px;
}
section#purpose p {
    font-family: "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック, "Yu Gothic", sans-serif;
    line-height: 2.0;
    font-size: 18px;
}



section#sus-nav .to-next a {
    font-size: 28px;
}


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

section#message-contents .inner {
    padding-left: 6%;
}

section#message-contents p {
    width: 65%;
}
section#message-contents .president {
    display: flex;
    align-items: center;
    padding-top: 2em;
}
section#message-contents p.position {
    width: 8em;
    margin-right: 1em;
    font-size: 20px;
}
section#message-contents p.sign {
    width: 190px;
}
section#message-contents .photo {
    right: -2%;
    width: 32%;
}

}



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

section#contents-title {
    height: auto;
    background-image: none;
}
section#contents-title h1 {
    padding-top: 0;
}

section#message-contents {
    position: relative;
    margin-bottom: 12vw;
}
section#message-contents:before {
    left: 0;
    width: 100%;
    background-image: url("../images/bg_message_sp.png");
}
section#message-contents:after {
    left: 0;
    width: 100%;
    background-image: url("../images/bg_message_sp.png");
}
section#message-contents .inner {
    width: 98%;
    padding-top: 14vw;
    padding-left: 12%;
    padding-bottom: 0;
}
section#message-contents p {
    width: 94%;
    margin-bottom: 2em;
    font-size: 3.0vw;
}
section#message-contents .president-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
section#message-contents .president {
    display: block;
    width: 45%;
}
section#message-contents p.position {
    width: 100%;
    margin-right: 1em;
    margin-bottom: 0;
    font-size: 3.8vw;
}
section#message-contents p.sign {
    width: 90%;
}
section#message-contents .photo {
    position: static;
    width: 52%;
    padding-right: 8%;
}
section#purpose h2 {
    margin-bottom: 2em;
    padding: 0.5em 0;
    border-top-right-radius: 1.5em;
    border-bottom-right-radius: 1.5em;
    font-size: 5.4vw;
}
section#purpose {
    margin-bottom: 16vwx;
}
section#purpose h3 {
    font-size: 5.2vw;
}
section#purpose p {
    font-size: 3.4vw;
}

section#sus-nav .to-next a {
    font-size: 3.8vw;
}

}



