@charset "UTF-8";

/* 利用者の声：アーカイブ・詳細共通 */
.voiceHeader {
  position: relative;
  overflow: hidden;
  background: url(../images/voice/voiceMv.webp) center 60% / cover no-repeat;
}

.voiceHeader_inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.voiceHeader_ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  color: #f58200;
  font-weight: 700;
  line-height: 1;
}

.voiceHeader_en {
  min-width: 245px;
  padding: 9px 28px 8px;
  border-radius: 12px 12px 0 0;
  background: #f58200;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  letter-spacing: .08em;
  text-align: center;
}

.voiceHeader_ja {
  padding: 10px 18px 12px;
  background: rgba(255, 255, 255, .94);
  font-size: 34px;
}

.voiceBreadcrumb,
.voiceArchive {
  background: #f8f5ed;
}

.voiceArchive {
  padding-top: 42px;
}

.voiceList {
  display: grid;
  gap: 38px;
}

.voiceCard {
  display: flow-root;
  padding: 32px 34px;
  border-radius: 10px;
  background: #fff;
}

.voiceCard_pic {
  position: relative;
  float: right;
  display: block;
  overflow: hidden;
  width: 31%;
  margin: 0 0 18px 34px;
  padding: 0;
  border: 1px solid #555;
  background: #fff;
  cursor: pointer;
}

.voiceCard_pic img {
  display: block;
  width: 100%;
  height: auto;
}

.voiceCard_zoom {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  background: #f58200 url(../images/voice/icon_zoom.webp) center / contain no-repeat;
}

.voiceCard_profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  margin: 0 0 20px;
  padding: 13px 18px;
  border-radius: 6px;
  background: #faf8f2;
}

.voiceCard.has-image .voiceCard_profile {
  width: calc(69% - 34px);
}

.voiceCard_icon {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.voiceCard_icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.voiceCard_disease,
.voiceCard_person {
  margin: 0;
}

.voiceCard_disease {
  color: #f58200;
  font-size: 18px;
  font-weight: 700;
}

.voiceCard_person {
  margin-top: 4px;
  color: #888;
  font-size: 14px;
  font-weight: 700;
}

.voiceCard_ttl {
  margin: 0 0 12px;
  color: #f58200;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.voiceCard_txt {
  color: #222;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.voiceCard_txt > :first-child {
  margin-top: 0;
}

.voiceCard_txt > :last-child {
  margin-bottom: 0;
}

.voiceEmpty {
  padding: 50px 20px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.voiceBack {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  min-height: 62px;
  margin: 45px auto 0;
  border-radius: 32px;
  background: #f58200;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.voiceBack:hover {
  opacity: .8;
}

/* 手書き画像ポップアップ */
.voiceModal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: none;
  padding: 32px;
  background: rgba(15, 23, 42, .65);
}

.voiceModal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.voiceModal_dialog {
  position: relative;
  width: min(100%, 900px);
  max-height: calc(100vh - 64px);
  padding: 24px;
  overflow: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.voiceModal_close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #333;
  font: 400 30px/1 Arial, sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  cursor: pointer;
}

.voiceModal_image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 112px);
  margin: 0 auto;
  border-radius: 10px;
}

body.voiceModal-open {
  overflow: hidden;
}

/* 確認用トップ：利用者の声スライダー */
.secTopVoice {
  padding: 90px 0 100px;
/*  background: #f8f5ed;*/
}

.secTopVoice .secTtl {
  margin-bottom: 48px;
}

.topVoiceSlider {
  position: relative;
}

.topVoiceSlides {
  position: relative;
}

.topVoiceSlide {
  display: none;
  animation: topVoiceSlideIn .7s ease;
}

.topVoiceSlide.is-active {
  display: block;
}

.secTopVoice .voiceCard {
  min-height: 390px;
  padding: 44px 54px;
}

.secTopVoice .voiceCard.has-image {
  cursor: grab;
  touch-action: pan-y;
}

.secTopVoice .voiceCard.has-image.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.secTopVoice .voiceCard_pic {
  width: 28%;
  margin-left: 42px;
}

.secTopVoice .voiceCard.has-image .voiceCard_profile {
  width: calc(72% - 42px);
}

.topVoiceArrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: #f58200;
  color: #fff;
  font: 400 42px/1 Arial, sans-serif;
  cursor: pointer;
  transition: opacity .2s;
}

.topVoiceArrow:hover {
  opacity: .75;
}

.topVoiceArrow.-prev {
  left: -24px;
}

.topVoiceArrow.-next {
  right: -24px;
}

.topVoiceBtn {
  margin-top: 50px;
}

@keyframes topVoiceSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media screen and (max-width: 768px) {
  .secTopVoice {
    padding: 55px 0 65px;
  }

  .secTopVoice .secTtl {
    margin-bottom: 28px;
  }

  .secTopVoice .voiceCard {
    min-height: 0;
    padding: 18px;
  }

  .secTopVoice .voiceCard_pic {
    width: 100%;
    margin: 0 0 18px;
  }

  .secTopVoice .voiceCard.has-image .voiceCard_profile {
    width: 100%;
  }

  .topVoiceArrow {
    top: 42%;
    width: 38px;
    height: 38px;
    font-size: 34px;
  }

  .topVoiceArrow.-prev {
    left: -10px;
  }

  .topVoiceArrow.-next {
    right: -10px;
  }

  .topVoiceBtn {
    margin-top: 30px;
  }

  .voiceHeader_inner {
    min-height: 190px;
  }

  .voiceHeader {
    background-position: center 44%;
  }

  .voiceHeader_en {
    min-width: 168px;
    padding: 7px 18px;
    font-size: 12px;
  }

  .voiceHeader_ja {
    padding: 8px 13px 9px;
    font-size: 24px;
  }

  .voiceArchive {
    padding-top: 24px;
  }

  .voiceList {
    gap: 22px;
  }

  .voiceCard {
    display: flex;
    flex-direction: column;
    padding: 18px;
  }

  .voiceCard_profile {
    order: 1;
    margin-bottom: 18px;
  }

  .voiceCard_pic {
    order: 2;
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }

  .voiceCard_content {
    order: 3;
  }

  .voiceCard.has-image .voiceCard_profile,
  .voiceCard:not(.has-image) .voiceCard_profile {
    width: 100%;
  }

  .voiceModal {
    padding: 14px;
  }

  .voiceModal_dialog {
    max-height: calc(100vh - 28px);
    padding: 14px;
    border-radius: 12px;
  }

  .voiceModal_image {
    max-height: calc(100vh - 56px);
  }
}
