
.p-fv {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .p-fv {
    height: 100svh;
  }
}

.p-fv__inner {
  position: relative;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .p-fv__inner {
    display: block;
    height: 100%;
  }
}

.p-fv__img {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.p-fv__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/img_topFV-fill.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.p-fv__innerCopy {
  position: absolute;
  width: 51.9765739385vw;
  height: 17.3499267936vw;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 10;
}
@media screen and (max-width: 1366px) {
  .p-fv__innerCopy {
    width: 710px;
    height: 237px;
  }
}
@media screen and (max-width: 800px) {
  .p-fv__innerCopy {
    width: 80%;
    height: 18.6666666667vw;
  }
}
@media screen and (max-width: 500px) {
  .p-fv__innerCopy {
    width: 90%;
    height: 100px;
  }
}

.p-fv__copy {
  position: absolute;
  left: 8.4919472914vw;
  top: -1.756954612vw;
  z-index: 5;
}
@media screen and (max-width: 768px) {
  .p-fv__copy {
    left: 5.3333333333vw;
    top: -6.4vw;
  }
}

.p-fv__lead {
  margin-top: 17px;
  width: 21.3762811127vw;
}
@media screen and (max-width: 1366px) {
  .p-fv__lead {
    width: 292px;
  }
}

/* =========================
   Swiper（背景スライダー）
========================= */
.p-fv__slider {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.p-fv__swiper {
  position: relative;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  overflow: hidden;
  z-index: 0;
}

.swiper-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
}

.p-fv__slide {
  width: 30%;
  height: 30%;
  aspect-ratio: 1366/767;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .p-fv__slide {
    width: 100%;
    height: 100%;
  }
}

.p-fv__swiper-img {
  width: 100%;
  height: 100%;
}
.p-fv__swiper-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.p-fv__slide.is-active-size {
  width: 100%;
  height: 100%;
}

/* ズーム（Swiperのactiveに合わせて） */
@-webkit-keyframes zoomUp {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
}
@keyframes zoomUp {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1.15);
            transform: scale(1.15);
  }
}
.swiper-slide-active .p-fv__swiper-img,
.swiper-slide-duplicate-active .p-fv__swiper-img,
.swiper-slide-prev .p-fv__swiper-img {
  -webkit-animation: zoomUp 12s linear 0s;
          animation: zoomUp 12s linear 0s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}

@-webkit-keyframes fvScrollLine {
  0% {
    -webkit-transform: translateX(-50%) scaleY(0);
            transform: translateX(-50%) scaleY(0);
    -webkit-transform-origin: top;
            transform-origin: top;
  }
  50% {
    -webkit-transform: translateX(-50%) scaleY(1);
            transform: translateX(-50%) scaleY(1);
    -webkit-transform-origin: top;
            transform-origin: top;
  }
  51% {
    -webkit-transform: translateX(-50%) scaleY(1);
            transform: translateX(-50%) scaleY(1);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
  }
  100% {
    -webkit-transform: translateX(-50%) scaleY(0);
            transform: translateX(-50%) scaleY(0);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
  }
}

@keyframes fvScrollLine {
  0% {
    -webkit-transform: translateX(-50%) scaleY(0);
            transform: translateX(-50%) scaleY(0);
    -webkit-transform-origin: top;
            transform-origin: top;
  }
  50% {
    -webkit-transform: translateX(-50%) scaleY(1);
            transform: translateX(-50%) scaleY(1);
    -webkit-transform-origin: top;
            transform-origin: top;
  }
  51% {
    -webkit-transform: translateX(-50%) scaleY(1);
            transform: translateX(-50%) scaleY(1);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
  }
  100% {
    -webkit-transform: translateX(-50%) scaleY(0);
            transform: translateX(-50%) scaleY(0);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
  }
}
.p-topWorks {
  position: relative;
  z-index: 100;
  margin-top: -10.2489019034vw;
}

.p-topWorks__inner {
  width: 81.6251830161vw;
  margin-inline: auto 0;
  padding-inline: 2.9282576867vw 2.196193265vw;
  background-color: #b82634;
  border-radius: 10px 0 0 10px;
}
@media screen and (max-width: 1366px) {
  .p-topWorks__inner {
    width: 81.6251830161vw;
  }
}
@media screen and (max-width: 900px) {
  .p-topWorks__inner {
    margin-inline: auto;
    border-radius: 10px;
    width: 90%;
  }
}
@media screen and (max-width: 768px) {
  .p-topWorks__inner {
    overflow: hidden;
  }
}

.p-topWorks__title {
  padding-block: 1.6837481698vw 1.0980966325vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  gap: 10px;
}

.p-topWorks__title--en {
  margin-top: 0.7320644217vw;
}

.topWorksCont .js-topWorksSwiper {
  overflow: visible;
}
.topWorksCont .swiper-wrapper {
  height: auto;
}
.topWorksCont section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 2.8550512445vw;
}
@media screen and (max-width: 768px) {
  .topWorksCont section {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
}
.topWorksCont article.webgene-item.swiper-slide {
  width: 16.9838945827vw;
  height: auto;
}
@media screen and (max-width: 900px) {
  .topWorksCont article.webgene-item.swiper-slide {
    width: 22%;
  }
}
@media screen and (max-width: 768px) {
  .topWorksCont article.webgene-item.swiper-slide {
    width: 30%;
  }
}
.topWorksCont .imgBx01 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.5856515373vw;
  text-decoration: none;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: center;
          transform-origin: center;
}
.topWorksCont .imgBx01:hover {
  opacity: 0.7;
  -webkit-transform: scale(1.03);
          transform: scale(1.03);
}
.topWorksCont .imgBx01 .p-blog__item-head {
  width: 100%;
  aspect-ratio: 230/130;
  border-radius: 5px;
  overflow: hidden;
}
.topWorksCont .imgBx01 .p-blog__item-head img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.topWorksCont .imgBx01 .p-works__item-body {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  overflow: hidden;
}
.topWorksCont .imgBx01 .p-works__item-title {
  margin: 0;
  padding: 0 !important;
  margin-bottom: 20px;
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  word-break: break-all;
}

/* Swiperで下側が切れる場合の対策 */
.topWorksCont .js-topWorksSwiper {
  overflow: visible;
}

/* タイトル外側 */
.topWorksCont .imgBx01 .p-works__item-body {
  margin-top: 8px;
  overflow: hidden;
}

.p-topAbout {
  width: 100%;
  overflow: hidden;
  padding-block: 158px 101px;
}
@media screen and (max-width: 1366px) {
  .p-topAbout {
    padding-block: 11.5666178624vw 7.3938506589vw;
  }
}

.p-topAbout__wrapper {
  width: 1366px;
  height: 100%;
  margin-inline: auto;
  position: relative;
}
@media screen and (max-width: 1180px) {
  .p-topAbout__wrapper {
    width: 100%;
    height: 100%;
  }
}

.p-topAbout__inner {
  width: 1366px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 88px;
}
@media screen and (max-width: 1180px) {
  .p-topAbout__inner {
    width: 99.1525423729%;
    gap: 6.4421669107vw;
  }
}
@media screen and (max-width: 1080px) {
  .p-topAbout__inner {
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.p-topAbout__text {
  position: relative;
  margin-top: 90px;
  width: 534px;
}
@media screen and (max-width: 1366px) {
  .p-topAbout__text {
    margin-top: 6.588579795vw;
    width: 39.0922401171vw;
  }
}
@media screen and (max-width: 1080px) {
  .p-topAbout__text {
    margin-top: 0px;
    width: 100%;
  }
}

.p-topAbout__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
  margin-left: -66px;
}
@media screen and (max-width: 1366px) {
  .p-topAbout__title {
    margin-left: -4.831625183vw;
    gap: 1.4641288433vw;
  }
}
@media screen and (max-width: 1080px) {
  .p-topAbout__title {
    margin-inline: auto;
  }
}
.p-topAbout__title p {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding-block: 14px;
  padding-inline: 15px;
  background-color: #44423e;
}
@media screen and (max-width: 1080px) {
  .p-topAbout__title p {
    margin-inline: auto;
  }
}

.p-topAbout__title--ja {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.p-topAbout__desc {
  margin-top: 62px;
  width: 417px;
}
@media screen and (max-width: 1366px) {
  .p-topAbout__desc {
    margin-top: 4.5387994143vw;
    width: 30.6886227545vw;
  }
}
@media screen and (max-width: 1080px) {
  .p-topAbout__desc {
    width: 80%;
    margin-inline: auto;
  }
}
.p-topAbout__desc div + div {
  margin-top: 22px;
}

.p-topAbout__img {
  position: relative;
  width: 777px;
  height: 100%;
}
@media screen and (max-width: 1366px) {
  .p-topAbout__img {
    width: 56.8814055637vw;
  }
}
@media screen and (max-width: 1080px) {
  .p-topAbout__img {
    width: 100%;
    height: max(39.0625vw, 200px);
  }
}

.p-topAbout__img1 {
  width: 757px;
  height: 572px;
  border-radius: 5px;
  overflow: hidden;
}
@media screen and (max-width: 1366px) {
  .p-topAbout__img1 {
    width: 55.4172767204vw;
    height: 41.8740849195vw;
  }
}
@media screen and (max-width: 1080px) {
  .p-topAbout__img1 {
    width: 100%;
    height: 37.037037037vw;
    border-radius: 0px;
  }
}
.p-topAbout__img1 img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}



.p-topService {
  padding-top: 14px;
  position: relative;
  overflow: hidden;
  background-color: #fff;
}
@media screen and (max-width: 1366px) {
  .p-topService {
    padding-top: 1.0248901903vw;
  }
}

.p-topService__inner {
  position: relative;
  z-index: 2;
  width: 1166px;
  margin-inline: auto;
}
@media screen and (max-width: 1280px) {
  .p-topService__inner {
    width: 91.09375vw;
  }
}
@media screen and (max-width: 600px) {
  .p-topService__inner {
    padding-bottom: 50px;
  }
}

.p-topService__read {
  margin-top: 40px;
  width: 406px;
}
@media screen and (max-width: 500px) {
  .p-topService__read {
    margin-top: 5.2083333333vw;
    width: 81.2vw;
  }
}

.p-topService__link {
  position: absolute;
  margin-top: 43px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.p-topService__link a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}
.p-topService__link a p {
  margin: 0;
  padding-bottom: 11px;
  line-height: 1;
  border-bottom: 1px solid #a0a0a0;
  -webkit-transition: border-color 0.25s ease, -webkit-transform 0.25s ease;
  transition: border-color 0.25s ease, -webkit-transform 0.25s ease;
  transition: transform 0.25s ease, border-color 0.25s ease;
  transition: transform 0.25s ease, border-color 0.25s ease, -webkit-transform 0.25s ease;
  -webkit-transform-origin: left center;
          transform-origin: left center;
}
.p-topService__link a::after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background-image: url("../images/img_arrow-right.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-transition: background-image 0.2s ease, -webkit-transform 0.25s ease;
  transition: background-image 0.2s ease, -webkit-transform 0.25s ease;
  transition: transform 0.25s ease, background-image 0.2s ease;
  transition: transform 0.25s ease, background-image 0.2s ease, -webkit-transform 0.25s ease;
}
@media (any-hover: hover) {
  .p-topService__link a:hover p {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
    border-bottom-color: #e60012;
  }
  .p-topService__link a:hover::after {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}

.p-topService__visual {
  margin-top: -70px;
  overflow: hidden;
  left: 0;
  bottom: 20px;
  width: 100%;
  z-index: 0;
}
@media screen and (max-width: 1366px) {
  .p-topService__visual {
    bottom: 1.4641288433vw;
  }
}
.p-topService__visual .swiper-wrapper {
  -webkit-transition-timing-function: linear !important;
          transition-timing-function: linear !important;
  will-change: transform;
}
.p-topService__visual .swiper-slide {
  width: auto;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.p-topService__visual img {
  display: block;
  width: auto;
  height: 300px;
}
@media screen and (max-width: 1366px) {
  .p-topService__visual img {
    height: 21.9619326501vw;
  }
}

/* =========================
   CONTENT
========================= */
.p-topService__content {
  margin-top: 38px;
  display: grid;
  gap: 46px;
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 900px) {
  .p-topService__content {
    grid-template-columns: 39.7777777778vw 39.7777777778vw;
    gap: 10vw;
  }
}
@media screen and (max-width: 600px) {
  .p-topService__content {
    margin-top: 80px;
    grid-template-columns: 358px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 60px;
  }
}
@media screen and (max-width: 450px) {
  .p-topService__content {
    grid-template-columns: 79.5555555556vw;
  }
}
@media screen and (max-width: 1247px) {
  .p-topService__content .p-topService__card {
    margin-top: 0;
  }
}

@media (max-width: 1247px) {
  .p-topService__card:nth-of-type(2),
  .p-topService__content .p-topService__card:nth-of-type(3) {
    margin-top: 0;
  }
}
/* =========================
   CARD
========================= */
.p-topService__card {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.p-topService__card .p-topService__card--wrapper {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: center;
          transform-origin: center;
  will-change: transform;
}
.p-topService__card.js-fadeIn {
  -webkit-transition: opacity 0.6s ease, translate 0.6s ease;
  transition: opacity 0.6s ease, translate 0.6s ease;
}
.p-topService__card.js-fadeIn.is-start {
  translate: 0 40px;
  opacity: 0;
}
.p-topService__card.js-fadeIn.is-show {
  translate: 0 0;
  opacity: 1;
}
.p-topService__card:nth-of-type(1) {
  margin-top: 100px;
}
@media screen and (max-width: 600px) {
  .p-topService__card:nth-of-type(1) {
    margin-top: 50px;
  }
}
.p-topService__card:nth-of-type(2) {
  margin-top: 50px;
}
@media screen and (max-width: 600px) {
  .p-topService__card:nth-of-type(2) {
    margin-top: 50px;
  }
}
.p-topService__card:nth-of-type(3) {
  margin-top: 0px;
}
@media screen and (max-width: 900px) {
  .p-topService__card:nth-of-type(3) {
    margin-top: 50px;
  }
}

/* TOPページだけカード全体を拡大 */
@media (any-hover: hover) {
  .l-top .p-topService__card:hover .p-topService__card--wrapper {
    -webkit-transform: scale(1.03);
            transform: scale(1.03);
  }
}

/* serviceページはボタンだけ拡大 */
.l-service .p-topService__link a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-transform-origin: left center;
          transform-origin: left center;
}
@media (any-hover: hover) {
  .l-service .p-topService__link a:hover {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
}

/* =========================
   IMAGE
========================= */
.p-topService__img {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}
@media screen and (max-width: 1280px) {
  .p-topService__img {
    height: 23.4375vw;
  }
}
@media screen and (max-width: 900px) {
  .p-topService__img {
    height: 33.3333333333vw;
  }
}
@media screen and (max-width: 600px) {
  .p-topService__img {
    height: 250px;
  }
}
@media screen and (max-width: 450px) {
  .p-topService__img {
    height: 55.5555555556vw;
  }
}
.p-topService__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* =========================
   TEXT
========================= */
.p-topService__text {
  margin-top: 24px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 25px;
  position: relative;
  z-index: 1;
  letter-spacing: 1.3px;
  line-height: 1;
}

.p-topService__body--text {
  margin-top: 20px;
}

.p-topService__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
}
/* =========================
   COMPANY
========================= */
.p-topCompany {
  margin-top: -80px;
  position: relative;
  overflow: hidden;
  padding-block: 75px 76px;
  background-color: #f2f4f3;
  z-index: 1;
}
@media screen and (max-width: 1366px) {
  .p-topCompany {
    margin-top: -5.8565153734vw;
    padding-block: 5.4904831625vw 5.5636896047vw;
  }
}

.p-topCompany__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  width: 1166px;
  height: 100%;
  margin-inline: auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (max-width: 1247px) {
  .p-topCompany__inner {
    width: 93.5044105854vw;
  }
}
@media screen and (max-width: 1000px) {
  .p-topCompany__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 60px;
  }
}
@media screen and (max-width: 500px) {
  .p-topCompany__inner {
    padding-inline: 0;
    width: 89.3333333333vw;
  }
}

/* =========================
   title（セクションタイトル）
========================= */
.p-topCompany__title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.p-topCompany__title--ja {
  padding-bottom: 5px;
}

.p-topCompany__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (max-width: 1000px) {
  .p-topCompany__top {
    margin-inline: auto;
  }
}
@media screen and (max-width: 600px) {
  .p-topCompany__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
    width: 100%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-topCompany__photos {
  margin-inline: 63px 57px;
  position: relative;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
@media screen and (max-width: 1366px) {
  .p-topCompany__photos {
    margin-inline: 4.6120058565vw 4.1727672035vw;
  }
}
@media screen and (max-width: 1000px) {
  .p-topCompany__photos {
    margin-inline: 0px 57px;
  }
}
@media screen and (max-width: 768px) {
  .p-topCompany__photos {
    margin-inline: 0px 20px;
  }
}
@media screen and (max-width: 375px) {
  .p-topCompany__photos {
    margin-top: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 85.3333333333vw;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
}

.p-topCompany__photo {
  border-radius: 50%;
  overflow: hidden;
  width: 439px;
  height: 439px;
}
@media screen and (max-width: 1366px) {
  .p-topCompany__photo {
    width: max(32.1376281113vw, 200px);
    height: max(32.1376281113vw, 200px);
  }
}
.p-topCompany__photo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-topCompany__text {
  margin-top: 20px;
  width: 306px;
}
@media screen and (max-width: 1000px) {
  .p-topCompany__text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media screen and (max-width: 700px) {
  .p-topCompany__text {
    width: 43.7142857143vw;
  }
}
@media screen and (max-width: 600px) {
  .p-topCompany__text {
    margin-top: 0;
    width: 80%;
  }
}
.p-topCompany__text .p-topCompany__read {
  width: 100%;
}

.p-topCompany__link {
  margin-top: 38px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 600px) {
  .p-topCompany__link {
    margin-inline: auto;
  }
}
.p-topCompany__link a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}
.p-topCompany__link a p {
  margin: 0;
  padding-bottom: 11px;
  line-height: 1;
  border-bottom: 1px solid #a0a0a0;
  transition: transform 0.25s ease;
  transform-origin: left center;
}
.p-topCompany__link a::after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background-image: url("../images/img_arrow-right.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-transition: background-image 0.2s ease, -webkit-transform 0.25s ease;
  transition: background-image 0.2s ease, -webkit-transform 0.25s ease;
  transition: transform 0.25s ease, background-image 0.2s ease;
  transition: transform 0.25s ease, background-image 0.2s ease, -webkit-transform 0.25s ease;
}
.p-topCompany__link a:hover p {
          transform: scale(1.05);
          border-bottom-color: #b82634;
}
.p-topCompany__link a:hover::after {
          transform: scale(1.05);
}
