.eachCategoryWrapper {
  margin-top: 80px;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.writerFv {
  background-color: #4695D4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 173px;
}

.writerFv__vector1 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.writerFv__vector2 {
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.writerFv__title {
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Hiragino Sans", Helvetica;
  color: white;
  font-size: 40px;
  text-align: center;
  line-height: 150%;
  position: relative;
  font-weight: 600;
  letter-spacing: 0px;
  font-style: normal;
}

.writerFv__subtitle {
  align-self: stretch;
  font-family: "Hiragino Sans", Helvetica;
  color: white;
  font-size: 14px;
  text-align: center;
  line-height: 179.99999523162842%;
  position: relative;
  font-weight: 400;
  letter-spacing: 0px;
  font-style: normal;
}

.eachCategory {
  /* margin-top: 80px; */
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.eachCategory__title {
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Hiragino Sans", Helvetica;
  color: #0F58A4;
  font-size: 32px;
  line-height: 150%;
  white-space: nowrap;
  position: relative;
  font-weight: 600;
  letter-spacing: 0px;
  font-style: normal;
}

.writerWrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: flex-start;
  gap: 16px 24px;
  position: relative;
  flex: 0 0 auto;
}

.eachWriter {
  display: flex;
  width: calc((100% - 24px) / 2); /* gap:24pxを除いた50% */
  align-items: center;
  gap: 24px;
  padding: 16px;
  position: relative;
  border-radius: 8px;
  border: 1px solid;
  border-color: #BEE2FF;
  text-decoration: none;
}

.eachWriter:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

.eachWriter__content {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.eachWriter__content--img {
  position: relative;
  width: 120px;
  height: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
}

.eachWriter__content--txtArea {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.eachWriter__content--company,
.eachWriter__content--position {
  align-self: stretch;
  margin-top: -1.00px;
  font-family: "Hiragino Sans", Helvetica;
  color: #555555;
  font-size: 12px;
  line-height: 179.99999523162842%;
  position: relative;
  font-weight: 400;
  letter-spacing: 0px;
  font-style: normal;
}

.eachWriter__content--nameWrapper {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.eachWriter__content--nameJp {
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Hiragino Sans", Helvetica;
  color: rgba(51, 51, 51, 1);
  font-size: 24px;
  line-height: 150%;
  white-space: nowrap;
  position: relative;
  font-weight: 600;
  letter-spacing: 0px;
  font-style: normal;
}

.eachWriter__content--nameEn {
  position: relative;
  width: fit-content;
  font-family: "DM Sans", Helvetica;
  font-weight: 600;
  color: #4695D4;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 25.2px;
  white-space: nowrap;
}

.arrow-back-wrapper {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  background-color: #0F58A4;
  border-radius: 80px;
  border: none;
  cursor: pointer;
  background-image: url("../img/arrow-back.png");
  background-repeat: no-repeat;
  background-size: 20px;
  background-position: center;
}

.arrow-back-wrapper {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.arrow-back-wrapper:hover {
  background-color: rgba(33, 42, 103, 1);
}

.arrow-back-wrapper:focus {
  outline: 2px solid rgba(15, 88, 164, 1);
  outline-offset: 2px;
}

.arrow-back-wrapper:focus-visible {
  outline: 2px solid rgba(70, 149, 212, 1);
  outline-offset: 2px;
}

@media screen and (max-width: 767px) {
  .writerFv__title {
    font-size: 32px;
  }

  .writerFv__subtitle {
    font-size: 12px;
  }

  .eachCategory__title {
    font-size: 24px;
  }

  .eachWriter {
    width: 100%;
    gap: 4px;
  }

  .eachWriter__content {
    gap: 12px;
  }

  .eachWriter__content--img {
    width: 90px;
    height: 90px;
  }

  .eachWriter__content--txtArea {
    width: 100%;
    word-break: break-word;
  }

  .eachWriter__content--company,
  .eachWriter__content--position,
  .eachWriter__content--nameJp,
  .eachWriter__content--nameEn {
    white-space: normal;
    width: 100%;
  }

  .eachWriter__content--company,
  .eachWriter__content--position {
    font-size: 10px;
    width: 100%;
  }

  .eachWriter__content--nameWrapper {
    flex-direction: column;
    gap: 0px;
  }

  .eachWriter__content--nameJp {
    font-size: 20px;
  }
}

/* 別ページを表示するモーダル */
.modal__inner {
  max-width: 100%;
}

.modal__inner--frame {
  width: 860px;
  height: 520px;
}

@media screen and (max-width: 768px) {
  .modal__inner--frame {
    width: 330px;
    height: 575px;
  }
}