@charset "UTF-8";
@media screen and (min-width: 769px), print {
  .activity {
    padding-top: 67px;
  }
  .activity_ttl {
    font-size: 2.8rem;
    line-height: 30px;
    font-weight: bold;
    color: #009943;
    text-align: center;
    letter-spacing: 3px;
  }
  .activity .work_txt {
    font-size: 1.6rem;
    line-height: 35px;
    font-weight: 400;
    text-align: center;
    margin: 40px 0 39px;
    letter-spacing: 1.55px;
  }
  .activity .work_lst {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-bottom: 42px;
  }
  .activity .work_lst li {
    width: 219px;
    margin: 0 24px 30px 0;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    transition: all .35s;
    cursor: pointer;
  }
  .activity .work_lst li:hover {
    opacity: .8;
  }
  .activity .work_lst li:nth-child(4n) {
    margin-right: 0;
  }
  .activity .work_lst li figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  .activity .work_lst li p {
    font-size: 2rem;
    line-height: 30px;
    font-weight: bold;
    color: #009943;
    -moz-box-shadow: 0px 2px 0 rgba(0, 153, 67, 0.3);
         box-shadow: 0px 2px 0 rgba(0, 153, 67, 0.3);
    background: #fffce7;
    min-height: 89px;
    height: 89px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    position: relative;
    padding: 5px;
    letter-spacing: 1px;
  }
  .activity .work_lst li p::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 10px 10px;
    border-color: transparent transparent #009942 transparent;
    right: 5px;
    bottom: 5px;
  }
  .activity .life {
    background: #fffce7;
    padding: 67px 0 49px;
  }
  .activity .life .life_lst {
    margin-top: 48px;
  }
  .activity .life .life_lst_box {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 50px;
  }
  .activity .life .life_lst_box figure {
    width: 500px;
  }
  .activity .life .life_lst_box figure img {
    width: 100%;
    height: auto;
    display: block;
  }
  .activity .life .life_lst_box .des {
    width: -webkit-calc(100% - 500px);
    width: -moz-calc(100% - 500px);
    width: calc(100% - 500px);
    background: #fff;
    padding: 24px 40px;
  }
  .activity .life .life_lst_box .des strong {
    font-size: 2.4rem;
    line-height: 30px;
    font-weight: bold;
    color: #009943;
    letter-spacing: 3px;
  }
  .activity .life .life_lst_box .des p {
    margin-top: 26px;
    font-size: 1.6rem;
    line-height: 35px;
  }
  .activity .life .life_lst_box .des ul {
    margin-top: 26px;
  }
  .activity .life .life_lst_box .des ul li {
    font-size: 1.6rem;
    line-height: 35px;
    position: relative;
    letter-spacing: 1px;
    padding-left: 19px;
  }
  .activity .life .life_lst_box .des ul li::before {
    content: '●';
    position: absolute;
    left: 1px;
    font-size: 1.6rem;
    color: #009943;
    -moz-border-radius: 50%;
         border-radius: 50%;
  }
  .activity .life .life_lst_box:nth-child(2n) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
       -moz-box-orient: horizontal;
       -moz-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
  .modal {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: -webkit-calc(100% - 90px);
    height: -moz-calc(100% - 90px);
    height: calc(100% - 90px);
    z-index: -1;
  }
  .modal.out {
    -webkit-animation: modalDelay 0.7s;
       -moz-animation: modalDelay 0.7s;
            animation: modalDelay 0.7s;
  }
  .modal.out .main_modal {
    -webkit-animation: modalOut 0.7s;
       -moz-animation: modalOut 0.7s;
            animation: modalOut 0.7s;
  }
  .modal.in {
    z-index: 999;
  }
  .modal.in .main_modal {
    opacity: 1;
    visibility: visible;
    -webkit-animation: modalIn 1s;
       -moz-animation: modalIn 1s;
            animation: modalIn 1s;
  }
  .modal .main_modal {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
    width: 600px;
    z-index: 9;
  }
  .modal .main_modal .cont_modal {
    width: 100%;
    height: 100%;
    background: #fff;
    display: block;
    padding: 20px;
    overflow-y: auto;
  }
  .modal .main_modal .cont_modal figure {
    margin-bottom: 20px;
    text-align: center;
  }
  .modal .main_modal .cont_modal figure img {
    height: auto;
    width: 100%;
  }
  .modal .main_modal .cont_modal p {
    font-size: 1.6rem;
    line-height: 35px;
    padding: 5px;
    display: block;
  }
  .modal .main_modal .close {
    position: absolute;
    right: -15px;
    top: -20px;
    background: #000;
    text-align: center;
    width: 40px;
    height: 40px;
    -moz-border-radius: 50%;
         border-radius: 50%;
    -webkit-transition: all .35s ease;
    -moz-transition: all .35s ease;
    transition: all .35s ease;
    text-indent: -9999px;
    cursor: pointer;
  }
  .modal .main_modal .close::before, .modal .main_modal .close::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 22px;
    background: #fff;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 9px;
  }
  .modal .main_modal .close::before {
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .modal .main_modal .close::after {
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  .modal .bg_modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
  }
}

@media screen and (max-width: 768px) {
  .activity {
    padding-top: 8.85417vw;
  }
  .activity_ttl {
    font-size: 5.20833vw;
    line-height: 1.2;
    font-weight: bold;
    color: #009943;
    text-align: center;
    letter-spacing: 0.26042vw;
  }
  .activity .work_txt {
    font-size: 4.16667vw;
    line-height: 5.98958vw;
    font-weight: 400;
    text-align: center;
    margin: 4.16667vw 0 6.51042vw;
  }
  .activity .work_lst {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
       -moz-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 4.16667vw;
  }
  .activity .work_lst li {
    width: 44.01042vw;
    margin-bottom: 3.90625vw;
    cursor: pointer;
  }
  .activity .work_lst li figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  .activity .work_lst li p {
    font-size: 4.6875vw;
    line-height: 1.2;
    font-weight: bold;
    color: #009943;
    -moz-box-shadow: 0px 2px 0 rgba(0, 153, 67, 0.3);
         box-shadow: 0px 2px 0 rgba(0, 153, 67, 0.3);
    background: #fffce7;
    min-height: 19.53125vw;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    position: relative;
    padding: 1.30208vw;
  }
  .activity .work_lst li p::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 1.95312vw 1.95312vw;
    border-color: transparent transparent #009942 transparent;
    right: 0.65104vw;
    bottom: 0.65104vw;
  }
  .activity .life {
    background: #fffce7;
    padding: 8.85417vw 0 19.53125vw;
  }
  .activity .life .life_lst_box {
    margin-top: 6.51042vw;
  }
  .activity .life .life_lst_box .des {
    background: #fff;
    padding: 4.6875vw 5.20833vw;
  }
  .activity .life .life_lst_box .des strong {
    font-size: 4.6875vw;
    line-height: 1.2;
    font-weight: bold;
    color: #009943;
  }
  .activity .life .life_lst_box .des p {
    margin-top: 2.34375vw;
    font-size: 4.16667vw;
    line-height: 5.98958vw;
  }
  .activity .life .life_lst_box .des ul {
    margin-top: 3.64583vw;
    margin-bottom: 1.30208vw;
  }
  .activity .life .life_lst_box .des ul li {
    font-size: 4.16667vw;
    line-height: 5.98958vw;
    position: relative;
    padding-left: 5.20833vw;
  }
  .activity .life .life_lst_box .des ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    font-size: 4.16667vw;
    color: #009943;
    -moz-border-radius: 50%;
         border-radius: 50%;
  }
  .activity .life .life_lst_box figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  html, body {
    overflow: auto;
    height: 100%;
  }
  .modal {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  .modal.out {
    -webkit-animation: modalDelay 0.7s;
       -moz-animation: modalDelay 0.7s;
            animation: modalDelay 0.7s;
  }
  .modal.out .main_modal {
    -webkit-animation: modalOut 0.7s;
       -moz-animation: modalOut 0.7s;
            animation: modalOut 0.7s;
  }
  .modal.in {
    z-index: 9999;
  }
  .modal.in .main_modal {
    opacity: 1;
    visibility: visible;
    -webkit-animation: modalIn 1s;
       -moz-animation: modalIn 1s;
            animation: modalIn 1s;
  }
  .modal .main_modal {
    z-index: 99999;
    background: #fff;
    position: absolute;
    width: 62%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
  }
  .modal .main_modal .cont_modal {
    width: 100%;
    height: 100%;
    display: block;
    padding: 2.60417vw;
    overflow: hidden;
    overflow-y: auto;
  }
  .modal .main_modal .cont_modal figure {
    text-align: center;
  }
  .modal .main_modal .cont_modal figure img {
    max-width: 100%;
    margin-bottom: 2.60417vw;
  }
  .modal .main_modal .cont_modal p {
    font-size: 3.38542vw;
    line-height: 4.6875vw;
    padding: 1.04167vw 0;
    display: block;
  }
  .modal .main_modal .close {
    position: absolute;
    right: -1.95312vw;
    top: -2.60417vw;
    background: #000;
    text-align: center;
    width: 5.20833vw;
    height: 5.20833vw;
    color: #fff;
    -moz-border-radius: 50%;
         border-radius: 50%;
    -webkit-transition: all .35s ease;
    -moz-transition: all .35s ease;
    transition: all .35s ease;
    cursor: pointer;
    text-indent: -9999px;
  }
  .modal .main_modal .close::before, .modal .main_modal .close::after {
    content: '';
    position: absolute;
    width: 0.26042vw;
    height: 2.86458vw;
    background: #fff;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 1.17188vw;
  }
  .modal .main_modal .close::before {
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .modal .main_modal .close::after {
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  .modal .bg_modal {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
  }
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  /* 縦向きの場合のスタイル */
  .modal .main_modal {
    max-height: 80%;
    height: auto;
    top: 50%;
  }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
  /* 横向きの場合のスタイル */
  .modal .main_modal {
    height: 90%;
    top: 50%;
  }
}

@-webkit-keyframes modalDelay {
  0% {
    z-index: 100;
  }
  100% {
    z-index: 101;
  }
}

@-moz-keyframes modalDelay {
  0% {
    z-index: 100;
  }
  100% {
    z-index: 101;
  }
}

@keyframes modalDelay {
  0% {
    z-index: 100;
  }
  100% {
    z-index: 101;
  }
}

@-webkit-keyframes modalIn {
  0% {
    opacity: 0;
    visibility: hidden;
    top: -100%;
  }
  100% {
    opacity: 1;
    visibility: visible;
    top: 50%;
  }
}

@-moz-keyframes modalIn {
  0% {
    opacity: 0;
    visibility: hidden;
    top: -100%;
  }
  100% {
    opacity: 1;
    visibility: visible;
    top: 50%;
  }
}

@keyframes modalIn {
  0% {
    opacity: 0;
    visibility: hidden;
    top: -100%;
  }
  100% {
    opacity: 1;
    visibility: visible;
    top: 50%;
  }
}

@-webkit-keyframes modalOut {
  0% {
    opacity: 1;
    visibility: visible;
    top: 50%;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    top: -100%;
  }
}

@-moz-keyframes modalOut {
  0% {
    opacity: 1;
    visibility: visible;
    top: 50%;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    top: -100%;
  }
}

@keyframes modalOut {
  0% {
    opacity: 1;
    visibility: visible;
    top: 50%;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    top: -100%;
  }
}
