.p-top__mv {
  height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 767px) {
  .p-top__mv {
    height: 64vh;
  }
}

main {
  background-color: #F5F5F5;
}

.p-news {
  position: relative;
  padding: 12px 30px;
  color: #fff;
  background-color: #213B16;
}
.p-news__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 40px;
  text-align: right;
}
@media (max-width: 767px) {
  .p-news__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 6px;
  }
}
.p-news__title span:not(:first-of-type)::before {
  content: "/";
  letter-spacing: 0.4em;
}
.p-news__link a {
  text-decoration: underline;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}
.p-news__link a:hover {
  opacity: 0.6;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}

.p-about {
  padding-top: 55px;
  width: 100%;
}
.p-about__head {
  width: 221px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media (max-width: 767px) {
  .p-about__head {
    width: 160px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.p-about__head img {
  padding-top: 10px;
}
@media (max-width: 767px) {
  .p-about__head img {
    padding-top: 0;
    padding-bottom: 43px;
  }
}
.p-about .p-about__link {
  position: relative;
  width: 180px;
  padding: 8px 0;
  margin-left: auto;
  font-size: 1.6rem;
  color: #213B16;
  margin-right: 132.5px;
  overflow: hidden;
}
@media (max-width: 767px) {
  .p-about .p-about__link {
    width: 40%;
    margin-top: 12px;
    font-size: 1.4rem;
    margin-right: 0;
  }
}
.p-about .p-about__link::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 48px;
  height: 10px;
  background-image: url("../img/about/arrow.svg");
  background-size: contain;
}
.p-about .p-about__link a {
  position: relative;
  display: block;
  width: 180px;
  border-bottom: 1px solid #213B16;
  padding-bottom: 2px;
}
@media (max-width: 767px) {
  .p-about .p-about__link a {
    width: 100%;
  }
}
.p-about .p-about__link a::after {
  content: "";
  display: block;
  width: 30%;
  height: 1px;
  background: #213B16;
  position: absolute;
  bottom: -1px;
  left: 0;
}
.p-about .p-about__link a:hover::after {
  -webkit-animation: bcAnime 2s infinite forwards;
          animation: bcAnime 2s infinite forwards;
}
@-webkit-keyframes bcAnime {
  0% {
    left: -30%;
    background: #EFF81B;
    @media (max-width: 767px) {
      .p-about .p-about__link a {
        left: -10%;
      }
    }
  }
  100% {
    width: 60px;
    left: 130%;
    @media (max-width: 767px) {
      .p-about .p-about__link a {
        width: 10%;
      }
    }
  }
}
@keyframes bcAnime {
  0% {
    left: -30%;
    background: #EFF81B;
    @media (max-width: 767px) {
      .p-about .p-about__link a {
        left: -10%;
      }
    }
  }
  100% {
    width: 60px;
    left: 130%;
    @media (max-width: 767px) {
      .p-about .p-about__link a {
        width: 10%;
      }
    }
  }
}

.p-cta {
  position: relative;
  width: 1060px;
  margin: 120px auto 0;
  padding: 18px 60px 30px;
  background-color: #fff;
  background-color: #fff;
}
@media (max-width: 767px) {
  .p-cta {
    width: 90%;
    margin: 80px auto 0;
    padding: 16px 20px 48px;
  }
}
.p-cta__inner p {
  margin-top: 32px;
}
@media (max-width: 767px) {
  .p-cta__inner p {
    margin-top: 18px;
  }
}
.p-cta__button {
  position: absolute;
  bottom: -24px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 300px;
  height: auto;
  color: #fff;
  background-color: #213B16;
  text-align: center;
}
.p-cta__button a {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 12px;
  outline: none;
}
.p-cta__button a span {
  position: relative;
  z-index: 3;
}
.p-cta__button a:hover span {
  color: #222222;
}
.p-cta__button .l-cta__btn-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  background-color: #EFF81B;
  width: 120%;
  height: 100%;
  -webkit-transform: skewX(-25deg);
          transform: skewX(-25deg);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.p-cta__button .l-cta__btn-animation:hover::before {
  left: -10%;
}

.p-works {
  margin-right: auto;
}
.p-works__head {
  top: -48px;
  right: 26px;
}
@media (max-width: 767px) {
  .p-works__head {
    right: 12px;
  }
}
.p-works__body {
  background-color: #D3D3C1;
}
.p-works__button a {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  height: 100%;
  outline: none;
}
.p-works__button a span {
  position: relative;
  z-index: 3;
}
.p-works__button a:hover span {
  color: #222222;
}
.p-works__button .l-cta__btn-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  background-color: #EFF81B;
  width: 120%;
  height: 100%;
  -webkit-transform: skewX(-25deg);
          transform: skewX(-25deg);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.p-works__button .l-cta__btn-animation:hover::before {
  left: -10%;
}

.p-story {
  margin-left: auto;
}
.p-story__head {
  top: -48px;
  left: 29px;
}
@media (max-width: 767px) {
  .p-story__head {
    top: -80px;
    left: 12px;
  }
}
.p-story__body {
  background-color: #213B16;
}
.p-story__body .p-list__time {
  background-color: #CDD3D0;
  color: #222222;
}
.p-story__body .p-list__text {
  border-left: 2px solid #EFF81B;
}
.p-story__body .p-list__text .p-list__title {
  color: #EFF81B;
}
.p-story__button {
  margin-left: auto;
  background-color: #fff;
}
.p-story__button a {
  color: #222222;
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 12px;
  outline: none;
}
.p-story__button a span {
  position: relative;
  z-index: 3;
}
.p-story__button a:hover span {
  color: #222222;
}
.p-story__button .l-cta__btn-animation::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  background-color: #D3D3C1;
  width: 120%;
  height: 100%;
  -webkit-transform: skewX(-25deg);
          transform: skewX(-25deg);
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.p-story__button .l-cta__btn-animation:hover::before {
  left: -10%;
}

.p-contact {
  margin-top: 120px;
  margin-bottom: 100px;
  background-color: #fff;
  width: 100%;
  padding-top: 60px;
}
.p-contact__panel {
  width: 1100px;
  margin: 0 auto;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 2px 1fr;
  grid-template-columns: repeat(2, 1fr);
  -ms-grid-rows: 1fr 2px 1fr;
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 2px;
  grid-row-gap: 2px;
}
.p-contact__panel > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
.p-contact__panel > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}
.p-contact__panel > *:nth-child(3) {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}
.p-contact__panel > *:nth-child(4) {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
}
@media (max-width: 767px) {
  .p-contact__panel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 100%;
  }
}
.p-contact__item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 47px 32px;
  color: #fff;
  background-color: #213B16;
}
.p-contact__item:hover {
  opacity: 0.8;
  -webkit-transition: 0.8s all;
  transition: 0.8s all;
}
.p-contact__item::before {
  content: "";
  position: absolute;
  bottom: 32px;
  right: 32px;
  width: 21px;
  height: 21px;
  background-image: url("../img/top/l.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
  .p-contact__item::before {
    bottom: 16px;
    right: 16px;
    width: 14px;
    height: 14px;
  }
}
.p-contact__item-01 {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-area: 1/1/3/2;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.p-contact__item-02 {
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-area: 1/2/2/3;
  height: 150px;
}
.p-contact__item-03 {
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-area: 2/2/3/3;
  height: 150px;
}
.p-contact__item p {
  margin-top: 12px;
}
@media (max-width: 767px) {
  .p-contact__item p {
    margin-top: 8px;
    font-size: 1.4rem;
  }
}
.p-contact__item a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.p-contact__title {
  position: relative;
  font-size: 3rem;
}
@media (max-width: 767px) {
  .p-contact__title {
    font-size: 2rem;
  }
}
.p-contact__title::before {
  content: "";
  position: relative;
  top: -4px;
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 28px;
  background-color: #EFF81B;
  border-radius: 50%;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .p-contact__title::before {
    width: 10px;
    height: 10px;
    margin-right: 14px;
  }
}
.p-contact__bottom {
  margin-top: 40px;
  color: #747474;
  font-size: 1.8rem;
  text-align: center;
}
@media (max-width: 767px) {
  .p-contact__bottom {
    font-size: 1.4rem;
  }
}
.p-contact__bottom a {
  color: #222222;
  text-decoration: underline;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}
.p-contact__bottom a:hover {
  color: #d3d3c1;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}