#a-voice {
}

.a-voice__container {
  max-width: 1004px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 999px) {
  .a-voice__container {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.a-voice__itemsWrapper {
  margin-top: 34px;
}

.a-voice__items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 29px;
}

@media screen and (max-width: 999px) {
  .a-voice__items {
    flex-direction: column;
  }
}

.a-voice__item {
  width: 31.176%;
}

@media screen and (max-width: 999px) {
  .a-voice__item {
    width: 100%;
  }
}

.a-voice__itemImage {
  width: 100%;
}

.a-voice__itemImage img {
	    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.a-voice__itemText {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.a-voice__itemSubTitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  border: 1px solid #000000;
  padding: 4px 7px 3px 7px;
  line-height: 1;
  margin-top: 14px;
}

.a-voice__itemTitle {
  font-size: 18px;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.44444444444;
  margin-top: 6px;
  padding-left: 10px;
  position: relative;
}

.a-voice__itemTitle::before {
  position: absolute;
  display: block;
  content: "";
  top: 55%;
  left: -1px;
  width: 3px;
  height: 84%;
  background-color: #d6d6d6;
  transform: translateY(-50%);
}

#s-voice {
  padding-top: 47px;
}

.s-voice__container {
  max-width: 1004px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  border-bottom: 1px solid #afafaf;
  padding-bottom: 38px;
}

@media screen and (max-width: 999px) {
  .s-voice__container {
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
  }
}

.s-voice__title {
  padding: 22px 0;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #000000;
  border-top: 1px solid #000000;
}

@media screen and (max-width: 999px) {
.s-voice__title {
  padding: 10px 0;
  font-size: 16px;
}
}

.s-voice__item {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 999px) {
.s-voice__item {
  flex-direction:column;
}
}

.s-voice__image {
  width: 36.854%;
  margin-top: 33px;
}

@media screen and (max-width: 999px) {
  .s-voice__image  {
    width: 100%;
  }
}

.s-voice__topImage {
  width: 100%;
}

.s-voice__subImages {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 13px;
  margin-top: 13px;
}

.s-voice__subImage {
  width: 30.813%;
}

.s-voice__subImage img {
	aspect-ratio:16 / 9;
	object-fit:cover;
}

.s-voice__text {
  width: 57.172%;
}

@media screen and (max-width: 999px) {
  .s-voice__text {
    width: 100%;
  }
}

.s-voice__qas {
  display: flex;
  flex-direction: column;
  margin-top: 33px;
  gap: 33px;
}

.s-voice__qa {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.s-voice__qaHead {
  background-color: #f5f5f5;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: "Noto Serif JP", serif;
  padding: 4px 16px 5px;
  position: relative;
}

@media screen and (max-width: 999px) {
  .s-voice__qaHead {
    font-size: 15px;
  }
}

.s-voice__qaHead::before {
  position: absolute;
  display: block;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  left: -1px;
  width: 4px;
  height: 97%;
  background-color: #000000;
}

.s-voice__qaContent {
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 2.28571428571;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 10000;
}
.lightbox.is-open { display: block; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}
.lightbox__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lightbox__img {
  max-width: 80vw;
  max-height: 80vh;
  height: auto;
  width: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 36px;
  height: 36px;
  font-size: 24px;
  border-radius: 18px;
}
@media (max-width: 767px) {
  .lightbox__img { max-width: 90vw; max-height: 70vh; }
}
