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

.contents-inner {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}
#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;
    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;
    position: relative;
}
.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: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    text-align: left;
    font-size: 16px;
    margin: 0;
    width: 100%;
}
#modal-content{
    background-color: #f4f4f2;
    overflow: hidden;
    padding: 80px 0;
}
#modal-content h2{
    text-align: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 30px;
    font-size: 28px;
    color: #14805a;
    letter-spacing: 5px;
}
#popup {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}
#popup::after {
    position: relative;
    bottom: 0;
    right: 0;
    width: 31%;
    margin: 0 0 3%;
    display: block;
    content: "";
}
#popup li {
    width: 31%;
    margin: 0 0 3%;
}
#popup li a {
    display: block;
    width: 100%;
    height: auto;
}
#popup .hidden {
    display: none;
}
#popup li p {
    text-align: left;
    font-size: 16px;
    margin: 5px 0 0;
    letter-spacing: 0;
    line-height: 1.2;
}
.popup-image img,.popup-image2 img,.popup-image3 img,.popup-image4 img,.popup-image5 img,.popup-image6 img,.popup-image7 img{
    width: 100%;
    height: auto;
}
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
    width: auto;
    cursor: auto;
}
.mfp-content-inner {
    background-color: #fff;
    width: auto;
    height: auto;
    padding: 40px;
    animation: mfp 1s both;
}
@keyframes mfp {
0%{
    opacity:0;
    padding: 0px;
    background-color: transparent;
}
100%{
    opacity:1;
    padding: 40px;
    background-color: #fff;
}
}
@keyframes mfp2 {
0%{
    opacity:0;
    padding: 0px;
    background-color: transparent;
}
100%{
    opacity:1;
    padding: 20px 20px 40px;
    background-color: #fff;
}
}
.mfp-content-inner img {
    vertical-align: bottom;
    width: 100%;
    height: 100%;
    max-width: 960px;
    animation: modal-image 1s both;
    object-fit: contain;
    max-height: 650px;
    object-position: center;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    transform-origin: center;
}
@keyframes modal-image {
0%{
    opacity:0;
    height: 0;
    width: 0;
    max-width: 0;
}
100%{
    opacity:1;
    height: auto;
    width: 100%;
    max-width: 960px;
}
}
.title {
    animation: modal 1s ease-in 0.5s both;
    opacity: 0;
    margin-top: 10px;
}
.mfp-counter {
    top: auto;
    bottom: 20px;
    right: 20px;
    color: #313131;
    font-size: 16px;
    line-height: 18px;
    animation: modal 1s ease-in 0.5s both;
    opacity:1;
}
@keyframes modal {
0%{
    opacity:0;
}
100%{
    opacity:1;
}
}
@media screen and (max-width:1280px){
.contents-inner-bottom {
    max-width: 920px;
}
#modal-content h2{
    max-width: 920px;
}
#popup {
    max-width: 920px;
}
.mfp-content-inner img {
    max-height: 500px;
}
}
@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%;
}
#modal-content h2{
    max-width: 90%;
    font-size: 24px;
}
#popup {
    max-width: 90%;
}
#popup li {
    width: 48%;
    margin: 0 0 5%;
}
#popup::after {
    content: none;
}
#popup li p {
    font-size: 14px;
}
.popup-image img{
    width: 100%;
    height: auto;
}
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto;
}
.mfp-content-inner {
    background-color: #fff;
    width: 100%;
    height: auto;
    padding: 40px;
}
}
@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;
}
.contents-inner-image {
    width: 100%;
    order: 1;
}
.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 {
    height: auto;
    padding: 30px 0;
}
.contents-inner-bottom h2 {
    width: calc(100% - 30px);
    font-size: 16px;
    padding: 0 15px;
    max-width: 100%;
    letter-spacing: 1px;
}
.contents-inner-bottom p {
    margin: 0;
    width: calc(100% - 30px);
    max-width: 100%;
    padding: 0 15px;
    font-size: 12px;
}
#popup {
    width: calc(100% - 30px);
    max-width: 100%;
    padding: 0 15px;
}
#popup li {
    width: 100%;
    margin: 0 0 8%;
}
.mfp-content-inner {
    background-color: #fff;
    width: auto;
    height: auto;
    padding: 20px 20px 40px;
    animation: mfp2 1s both;
}
.title {
    margin-top: 5px;
}
.mfp-content h2 {
    font-size: 14px;
}
.mfp-counter {
    font-size: 14px;
    line-height: 14px;
}
.mfp-arrow::before, .mfp-arrow::after {
    margin-left: 45px;
}
.mfp-arrow-right::after {
    border-left: 17px solid #FFF;
    margin-left: 49px;
}
.mfp-arrow-left::before {
    margin-left: 15px;
    border-right: 27px solid #3F3F3F;
}
.mfp-arrow-left::after {
    border-right: 17px solid #FFF;
    margin-left: 21px;
}
.mfp-close {
    width: 24px;
    height: 24px;
    line-height: 24px;
    top: 0px;
}
#modal-content {
    padding: 106px 0;
    margin-top: -76px;
}
#modal-content h2 {
    width: calc(100% - 30px);
    max-width: 100%;
    padding: 0 15px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 2px;
}
#popup li p {
    font-size: 14px;
}
}
@media screen and (max-width:600px){
#popup li p {
    font-size: 13px;
}
}