@charset "UTF-8";
/* CSS Document */

.contents-inner {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}
.contents-inner:nth-child(3) {
    background-color: #8db31b;
    color: #fff;
}
.contents-inner:nth-child(3) h4{
    color: #fff;
}
.foundation {
    background-color: #8db31b;
    width:100%;
    height: auto;
    display: block;
    padding: 40px 0;
    border-top: 1px dotted #fff;
}
.foundation ul{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}
.foundation ul li{
    width: 32%;
    height: auto;
}
.foundation ul li .foundation-image {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
}
.foundation ul li .foundation-text {
    text-align: left;
    margin-top: 10px;
    color: #fff;
}
.foundation ul li h4{
    font-size: 21px;
    margin-bottom: 5px;
}
.foundation ul li p{
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0;
}
#contents-title {
    height: 200px;
    display: flex;
    flex-flow: column;
    justify-content: center;
    background-color: #f6f6f6;
}
#contents-title h2 {
    font-size: 36px;
    color: #8cb21b;
    letter-spacing: 5px;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1;
}
#contents-title p {
    margin-bottom: 0;
    font-size: 18px;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
}
.contents-inner-text {
    width: 40%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
}
.contents-inner-text h4 {
    font-family: "Arial Black", Gadget, sans-serif;
    text-align: left;
    margin: 0 0 40px;
    font-size: 50px;
    font-weight: bold;
    color: #8cb21b;
    line-height: 1;
    display: block;
    width: 100%;
}
.contents-inner-text h3 {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    text-align: left;
    margin: 0;
    font-size: 28px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 10px;
}
.contents-inner-text p {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    text-align: left;
    margin: 20px 0 0;
    font-size: 16px;
}
.contents-inner-image {
    width: 50%;
}
.contents-inner-image img{
    vertical-align: bottom;
    width: 100%;
    height: auto;
}
#contents-inner-bottom{
    background-color: #e9e9e5;
}
.contents-inner-bottom {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    max-width: 1100px;
    height: 300px;
}
.contents-inner-bottom h2 {
    width: 400px;
    text-align: left;
    margin-right: 30px;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 28px;
    line-height: 1.6;
    letter-spacing: 5px;
}
.contents-inner-bottom p {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    text-align: left;
    font-size: 16px;
    margin: 0;
    width: 100%;
}
@media screen and (max-width:1280px){
.contents-inner-bottom {
    max-width: 920px;
}
.foundation ul {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    max-width: 920px;
    margin: 0 auto;
}
}
@media screen and (max-width:934px){
.contents-inner-text h3 {
    font-size: 24px;
}
.contents-inner-text h4 {
    margin: 0 0 30px;
    font-size: 40px;
}
.contents-inner-text p {
    font-size: 14px;
}
.contents-inner-bottom {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    height: 300px;
}
.contents-inner-bottom h2 {
    width: 100%;
    text-align: left;
    margin: 0 0 20px;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 24px;
    line-height: 1.6;
    letter-spacing: 5px;
    max-width: 90%;
}
.contents-inner-bottom p {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    text-align: left;
    font-size: 14px;
    margin: 0;
    width: 100%;
    max-width: 90%;
}
.foundation {
    width: calc(100% - 60px);
    padding: 40px 30px;
}
.foundation ul li h4 {
    font-size: 16px;
    margin-bottom: 5px;
}
.foundation ul li p {
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0;
}
}
@media screen and (max-width:767px){
#contents-top-title p {
    font-size: 14px;
    letter-spacing: 0;
}
#contents-title {
    height: 140px;
}
#contents-title h2 {
    font-size: 21px;
    letter-spacing: 0;
}
#contents-title p {
    margin-bottom: 0;
    font-size: 14px;
    letter-spacing: 0;
}
.contents-inner {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}
.foundation {
    width: calc(100% - 30px);
    padding: 40px 15px;
}
.foundation ul {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}
.foundation ul li{
    width: 100%;
    margin-bottom: 20px;
}
.contents-inner-image {
    width: 100%;
    order: 1;
    height: 100%;
}
.contents-inner-text {
    width: calc(100% - 30px);
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    order: 2;
    padding: 30px 15px;
}
.contents-inner-bottom h2 {
    width: calc(100% - 30px);
    font-size: 21px;
    padding: 0 15px;
    max-width: 100%;
}
.contents-inner-bottom p {
    margin: 0;
    width: calc(100% - 30px);
    max-width: 100%;
    padding: 0 15px;
}
}