.p-second__between {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.p-second__inner {
  max-width: 1072px;
  margin: 0 auto 120px;
  padding: 0px 25px;
}

.p-second-breadcrumbs {
  margin-bottom: 0;
}

.p-second-mv {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 35px;
}

.p-second-mv__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-second-mv__inner {
  max-width: 1072px;
  margin: 0 auto;
  padding: 0px 25px;
  position: relative;
  height: 100%;
}

.p-second-mv__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
  font-size: 28px;
  font-weight: 600;
}

.p-second__top-img {
  display: block;
  margin-bottom: 50px;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
}

.p-second__top-img img {
  width: 100%;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
}

.p-second__top-img:hover {
  opacity: 0.6;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
}

.p-second-three__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.p-second-three__item:hover .p-second-three__item-img {
  opacity: 0.6;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
}

.p-second-three__item:hover .p-second-three__item-title {
  text-decoration: underline;
}

.p-second-three__item-img {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
}

.p-second-three__item-img::before {
  content: "";
  display: block;
  padding-top: 55.625%;
}

.p-second-three__item-img img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-second-three__item-title {
  color: #FE0000;
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

.p-second-three__item-text {
  font-size: 14px;
  margin-bottom: 0;
  color: #000;
}

.is-pc {
  display: block;
}

.is-sp {
  display: none;
}

@media (min-width: 980px) and (max-width: 1168px) {
  .p-second-mv__inner {
    max-width: 970px;
  }
}

@media (min-width: 788px) and (max-width: 980px) {
  .p-second-mv__inner {
    max-width: 778px;
  }
}

@media screen and (max-width: 787px) {
  .p-second-three__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
  .is-pc {
    display: none;
  }
  .is-sp {
    display: block;
  }
}

@media (min-width: 600px) and (max-width: 788px) {
  .p-second-mv__inner {
    max-width: 584px;
  }
}

@media screen and (max-width: 599px) {
  .p-second-mv {
    height: 120px;
  }
  .p-second__top-img {
    margin-bottom: 30px;
  }
  .p-second-three__list {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px 30px;
  }
  .p-second__inner {
    padding: 0px 20px;
    margin: 0 auto 80px;
  }
  .p-second-mv__inner {
    padding: 0px 20px;
  }
}
