.page-title {
  padding-top: 244px;
}

.tuning .page-title-text {
  color: rgba(0, 80, 148, 0.5);
}

.integration .page-title-text {
  color: rgba(0, 90, 80, 0.5);
}

.solution .page-title-text {
  color: rgba(134, 40, 0, 0.5);
}

.page-title-text span:first-child {
  font-size: 55px;
  font-weight: 300;
  line-height: 1;
  font-family: "Jost", sans-serif;
}

.page-title-text span:last-child {
  font-size: 16px;
  line-height: 1;
}

.post-content {
  padding-bottom: 200px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.post-content-text {
  margin-top: 63px;
}

.post-content-text-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
}

.tuning .post-content-text-title {
  color: rgba(0, 80, 148, 1);
}

.integration .post-content-text-title {
  color: rgba(0, 90, 80, 1);
}

.solution .post-content-text-title {
  color: rgba(134, 40, 0, 1);
}

.post-content-text-description {
  margin-top: 29px;
  font-weight: 700;
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.post-content-text-item {
  margin-top: 105px;
  display: flex;
  justify-content: space-between;
}

.post-content-text-item:nth-of-type(3) {
  margin-top: 85px;
}

.tuning .post-content-text-item:nth-of-type(4) {
  margin-top: 200px;
  position: relative;
}

.tuning .post-content-text-item:nth-of-type(4)::before {
  content: "";
  position: absolute;
  left: calc(-220px - (100vw - 1440px) / 2);
  top: 50%;
  width: calc(1330px + (100vw - 1440px) / 2);
  transform: translateY(-50%);
  height: 500px;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  background-color: #e6f5ff;
  z-index: -1;
}

.post-content-text-item-text {
  width: 46.5%;
}

.post-content-text-item-text-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
}

.tuning .post-content-text-item-text-title {
  color: rgba(0, 80, 148, 1);
}

.integration .post-content-text-item-text-title {
  color: rgba(0, 90, 80, 1);
}

.solution .post-content-text-item-text-title {
  color: rgba(134, 40, 0, 1);
}

.post-content-text-item-text-description {
  margin-top: 12px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.post-content-text-item-image {
  width: 48%;
}

.post-content-text-item-image img {
  width: 100%;
}

.post-content-text-item-list {
  margin-top: 100px;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  height: 729px;
  min-width: 1440px;
  width: 100%;
}

.tuning .post-content-text-item-list {
  background-image: url(../images/business-field/tuning-bg.webp);
}

.integration .post-content-text-item-list {
  background-image: url(../images/business-field/integration-bg.webp);
}

.solution .post-content-text-item-list {
  background-image: url(../images/business-field/solution-bg.webp);
}

.post-content-text-item-list-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  padding-top: 275px;
  letter-spacing: 0.04em;
}

.post-content-text-item-list-item {
  display: flex;
  justify-content: space-between;
  margin-top: 45px;
}

.post-content-text-item-list-item p {
  font-size: 20px;
  font-weight: 700;
  background-color: #fff;
  padding: 1.5em 0;
  border-radius: 15px;
  width: 29.5%;
  line-height: 1.9;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  letter-spacing: 0.04em;
}

.post-content-text-item-list-item span {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(30%, -50%);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.5;
}

.tuning .post-content-text-item-list-item span {
  color: rgba(0, 80, 148, 1);
}

.integration .post-content-text-item-list-item span {
  color: rgba(0, 90, 80, 1);
}

.solution .post-content-text-item-list-item span {
  color: rgba(134, 40, 0, 1);
}

.post-content-text-item-list-description {
  margin-top: 35px;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.85;
  padding-bottom: 1em;
  text-align: center;
  background-size: 100% auto;
  background-position: bottom;
  background-repeat: no-repeat;
  letter-spacing: 0.04em;
}

.tuning .post-content-text-item-list-description {
  background-image: url(../images/business-field/tuning-line.webp);
}

.integration .post-content-text-item-list-description {
  background-image: url(../images/business-field/integration-line.webp);
}

.solution .post-content-text-item-list-description {
  background-image: url(../images/business-field/solution-line.webp);
}

.business-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  background-color: #007aff;
  padding: 34px 90px 34px 90px;
  width: fit-content;
  margin: 180px auto 0px;
}

.business-card-link img:first-of-type {
  width: 1.9em;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.business-card-link img:last-of-type {
  width: 1em;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
  .business-card-link:hover {
    opacity: 0.7;
  }
}

@media (max-width: 767px) {
  .business-card-link {
    font-size: 4vw;
    gap: 5vw;
    padding: 3.5vw 5vw 3.5vw 5vw;
    margin-top: 9vw;
    margin-bottom: 23vw;
    width: 100%;
    background-color: #007aff;
    color: #fff;
  }

  .business-card-link img:first-of-type {
    width: 7vw;
    filter: brightness(0) invert(1);
  }

  .business-card-link img:last-of-type {
    width: 4vw;
    filter: brightness(0) invert(1);
  }
}

.integration .post-content-text-item:nth-of-type(3) .post-content-text-item-image img {
  display: flex;
}

.integration .post-content-text-item:nth-of-type(3) .post-content-text-item-image img {
  width: 65%;
  margin: -30px auto 0;
}

.integration .post-content-text-item:nth-of-type(4) {
  margin-top: 60px;
}

.integration .post-content-text-item-list {
  margin-top: 50px;
}

.solution .post-content-text-item-list {
  margin-top: 0;
}

.post-content-text-image-wrapper {
  margin-top: 100px;
}

.post-content-text-image {
  width: 100%;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .tuning .post-content-text-item:nth-of-type(4)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 104%;
    transform: translate(-2%, -50%);
    height: 500px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #e6f5ff;
    z-index: -1;
  }
  .post-content-text-item-list-item p {
    font-size: min(2.2vw, 20px);
  }
}

@media (max-width: 767px) {
  .page-title {
    padding-top: 23vw;
  }

  .page-title-text span:first-child {
    font-size: 8.1vw;
  }

  .page-title-text span:last-child {
    font-size: 3.8vw;
    line-height: 1.5;
  }

  .post-content {
    padding-bottom: 200px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .post-content-text {
    margin-top: 6vw;
  }

  .post-content-text-title {
    font-size: 4.5vw;
  }

  .post-content-text-description {
    margin-top: 2.5vw;
    font-weight: 500;
    font-size: 3.7vw;
    line-height: 1.55;
    letter-spacing: 0.08em;
  }

  .post-content-text-item {
    margin-top: 11.5vw;
    flex-direction: column;
    align-items: center;
    gap: 10vw;
  }

  .post-content-text-item-text {
    width: 100%;
  }

  .post-content-text-item-image {
    width: 100% !important;
    margin-top: 2.5vw;
  }

  .post-content-text-item-text-description {
    margin-top: 2vw;
    font-size: 3.9vw;
    line-height: 1.55;
    font-weight: 500;
    letter-spacing: 0.04em;
  }

  .post-content-text-item:nth-of-type(3) {
    margin-top: 7vw;
  }

  .tuning .post-content-text-item:nth-of-type(4) {
    margin-top: 16vw;
  }

  .tuning .post-content-text-item:nth-of-type(4)::before {
    content: "";
    position: absolute;
    left: 0;
    width: 121%;
    transform: translate(-8%, -50%);
    height: 121vw;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  .post-content-text-item-list-title {
    font-size: 4.5vw;
    padding-top: 7vw;
  }

  .post-content-text-item-list-item p {
    font-size: 3.8vw;
    width: 100%;
    padding: 2.5vw 0;
    margin-bottom: 11vw;
    line-height: 1.6;
    min-height: 23vw;
  }

  .post-content-text-item-list-item span {
    font-size: 9vw;
    font-weight: 900;
  }

  .post-content-text-item-text-title {
    font-size: 4.2vw;
    letter-spacing: 0.06em;
  }

  .tuning .post-content-text-item-list {
    background-image: url(../images/business-field/tuning-bg-sp.webp);
  }

  .integration .post-content-text-item-list {
    background-image: url(../images/business-field/integration-bg-sp.webp);
  }

  .solution .post-content-text-item-list {
    background-image: url(../images/business-field/solution-bg-sp.webp);
    margin-top: 11vw;
  }

  .post-content-text-item-list {
    height: 133.2vw;
    min-width: unset;
  }

  .post-content-text-item-list-item {
    flex-direction: column;
    margin-top: 10vw;
  }

  .post-content-text-item-list-description {
    margin-top: -3vw;
    font-size: 4vw;
    font-weight: 700;
    line-height: 1.6;
  }

  .business-card-link {
    font-size: 4vw;
    gap: 5vw;
    padding: 3.5vw 5vw 3.5vw 5vw;
    margin-top: 34vw;
    margin-bottom: 0vw;
    width: 83%;
  }

  .tuning .post-content-text-item-list-description {
    background-image: url(../images/business-field/tuning-line-sp.webp);
  }

  .integration .post-content-text-item-list-description {
    background-image: url(../images/business-field/integration-line-sp.webp);
  }

  .solution .post-content-text-item-list-description {
    background-image: url(../images/business-field/solution-line-sp.webp);
  }

  .integration .post-content-text-item:nth-of-type(3) .post-content-text-item-image img {
    width: 50%;
    margin: 1vw auto 3vw;
  }

  .integration .post-content-text-item-list {
    margin-top: 9vw;
  }

  .post-content-text-image-wrapper {
    margin-top: 9vw;
  }
}

/* Fade-in animation styles */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-element.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in from left animation styles */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.fade-in {
  opacity: 1;
  transform: translateX(0);
}

/* Delay classes for sequential animation */
.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

.delay-4 {
  transition-delay: 0.8s;
}

.delay-5 {
  transition-delay: 1s;
}

.delay-6 {
  transition-delay: 1.2s;
}

.delay-7 {
  transition-delay: 1.4s;
}

.delay-8 {
  transition-delay: 1.6s;
}

.faisys .container {
  display: flex;
  flex-direction: column;
}

.faisys .post-content-text-image {
  margin-top: 15px;
}

.faisys-content .post-content-text {
  margin-top: 0 !important;
}

.faisys-content .post-content-text-item-info {
  display: flex;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 8px 0;
  margin-top: 20px;
}

.faisys-content .post-content-text-item-info span:first-of-type {
  min-width: 11em;
  flex-shrink: 0;
  border-right: 1px solid #000;
}

.faisys-content .post-content-text-item-info span {
  padding: 0px 0.7em;
  letter-spacing: 0.04em;
}

.faisys-content .post-content-text-item-info-description-text {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.faisys-content .post-content-text-item-info-description {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.06em;
  margin-bottom: 25px;
}

.faisys-content {
  margin-top: 100px;
}

.faisys-content .post-content-text-item {
  flex-direction: column;
  margin-top: 50px;
}

.faisys-content .post-content-text-item-text-image-wrapper {
  display: flex;
  gap: 5%;
  align-items: flex-start;
}

.faisys-content .post-content-text-item-text-image-wrapper .post-content-text-item-image.pc-only {
  width: 56.8%;
  flex-shrink: 0;
}

.faisys-content .post-content-text-item-text-image-wrapper .post-content-text-item-text img {
  margin-top: 30px;
}

.faisys-content-image {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 35px;
  margin-top: 63px;
}

.faisys-content-image img {
  width: 86px;
}

.faisys-content ul li {
  padding-left: 1em;
  line-height: 1.9;
  position: relative;
  font-weight: 500;
  font-size: 16px;
}

.faisys-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background-color: #862800;
}

.faisys-content-image-wrapper {
  display: flex;
  align-items: flex-end;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.faisys-content-image-wrapper img {
  width: 181px;
}

.faisys-content-proposal-description {
  margin-top: 36px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  width: 100%;
  text-align: center;
  border: 2px solid #862800;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 20px;
}

.faisys-content-proposal {
  margin-top: 80px;
}

.faisys-content-proposal-image-wrapper {
  display: flex;
  justify-content: space-between;
}

.faisys-content-proposal-image-wrapper > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.faisys-content-proposal-image-wrapper > div > p {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 10px;
}

.faisys-content-proposal-image-wrapper > div > p:last-child {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.faisys-content-proposal-image-wrapper > div > img {
  margin-top: auto;
  margin-bottom: auto;
}

.faisys-content-proposal-image-wrapper > div:nth-of-type(1) {
  width: 41.5%;
}

.faisys-content-proposal-image-wrapper > div:nth-of-type(2) {
  width: 25%;
}

.faisys-content-proposal-image-wrapper > div:nth-of-type(3) {
  width: 17%;
}

.faisys-content-proposal-maker-description {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 75px;
  text-align: center;
  letter-spacing: 0.04em;
}

.solution .post-content {
  padding-bottom: 70px;
}

@media (max-width: 767px) {
  .solution .post-content {
    padding-bottom: 200px;
  }
  .faisys-content .post-content-text-item-info span {
    padding: 0 5vw;
  }
  .faisys-content .post-content-text-item-info span:first-of-type {
    min-width: 22vw;
    font-size: 3vw;
    display: flex;
    align-items: center;
  }
  .faisys-content .post-content-text-item-info span:last-of-type {
    font-size: 3vw;
  }
  .faisys-content .post-content-text-item-info {
    font-size: 3.9vw;
  }
  .faisys .post-content-text-image {
    margin-top: 2.5vw;
  }
  .faisys-content .post-content-text-item-info {
    padding: 1vw 0;
    margin-top: 2.5vw;
  }
  .faisys-content .post-content-text-item-info-description-text {
    margin-top: 3vw;
    font-size: 3.7vw;
    line-height: 1.6;
  }
  .faisys-content-image {
    font-size: 4.5vw;
    margin-bottom: 4vw;
    margin-top: 8vw;
  }
  .faisys-content .post-content-text-item-info-description {
    font-size: 3.9vw;
    line-height: 1.5;
    margin-bottom: 3vw;
    margin-top: 2.5vw;
  }
  .faisys-content ul li {
    font-size: 3.8vw;
    line-height: 1.5;
    margin-bottom: 1vw;
  }
  .faisys-content .post-content-text-item-image {
    display: flex;
    flex-direction: column;
    gap: 4vw;
  }

  .faisys-content .post-content-text-item-text-image-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .faisys-content .post-content-text-item {
    align-items: flex-start;
    gap: 0;
  }
  .faisys-content-proposal {
    margin-top: 10vw;
  }
  .faisys-content-image {
    gap: 3vw;
  }
  .faisys-content-image-wrapper {
    font-size: 3.9vw;
    display: block;
    line-height: 1.7;
  }
  .faisys-content-image img {
    width: 8.5vw;
  }
  .faisys-content-image-wrapper img {
    width: 20vw;
    transform: translateY(0.5vw);
  }
  .faisys-content-proposal-description {
    font-size: 3.9vw;
    margin-bottom: 3vw;
    padding: 2vw 3vw;
    border-radius: 2vw;
  }
  .faisys-content-proposal-maker-title {
    margin-top: 8vw !important;
    margin-bottom: 7vw !important;
    text-align: center;
  }
  .faisys-content-proposal-image-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 5vw;
  }
  .faisys-content-proposal-image-wrapper > div:nth-of-type(1) {
    width: 100%;
  }
  .faisys-content-proposal-image-wrapper > div:nth-of-type(2) {
    width: 100%;
  }
  .faisys-content-proposal-image-wrapper > div:nth-of-type(3) {
    width: 100%;
  }
  .faisys-content-proposal-image-wrapper > div:nth-of-type(2) > img {
    width: 75%;
  }
  .faisys-content-proposal-image-wrapper > div:nth-of-type(3) > img {
    width: 45%;
  }
  .faisys-content-proposal-image-wrapper > div > p {
    font-size: 3.9vw;
    margin-bottom: 4vw;
  }
  .faisys-content-proposal-image-wrapper > div > p:last-child {
    font-size: 3.8vw;
    position: relative;
    bottom: unset;
    transform: unset;
    left: unset;
    margin-top: 2.5vw;
    margin-bottom: 0;
  }
  .faisys-content-proposal-maker-description {
    font-size: 3.7vw;
    margin-top: 13vw;
    line-height: 1.6;
  }
}

.post-content-text-item-button {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 1em 3em;
  margin: 20px auto;
  background-color: #acacac;
  position: relative;
  transition: background-color 0.3s ease;
}

.post-content-text-item-button:hover {
  background-color: #005094;
}

.post-content-text-item-button::before {
  content: "";
  position: absolute;
  left: 1em;
  top: 50%;
  width: 1.2em;
  height: 1.2em;
  background-image: url(../images/strengths/icon-arrow.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateY(-50%) rotate(90deg);
  z-index: 1;
}

.post-content-text-item-button::after {
  content: "";
  position: absolute;
  right: 1em;
  top: 50%;
  width: 1.2em;
  height: 1.2em;
  background-image: url(../images/strengths/icon-arrow.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateY(-50%) rotate(90deg);
  z-index: 1;
}

.faisys-content-hidden {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.faisys-content-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.post-content-text-item-button.clicked {
  background-color: #005094;
  pointer-events: none;
}

@media (max-width: 767px) {
  .post-content-text-item-button {
    font-size: 3vw;
    padding: 1em 3em;
    margin: 5vw auto 2vw;
  }
}
