@charset "UTF-8";
/* セクション幅＆見出し */
#voice .title-wrap {
 max-width: 1000px;
 margin: 0 auto 4.5em;
 width: calc(100% - 100px);
}
@media (max-width:820px) {
 #voice .title-wrap {
  width: 90%;
  margin: 0 auto 3em;
 }
}
#voice h2 {
 color: #0d4394;
 margin-bottom: 1em;
}
@media (max-width:820px) {
 #voice h2 {
  line-height: 1.4;
  margin-bottom: .7em
 }
}
#voice .wide {
 position: relative;
 overflow: visible;
}
#voice .wide::after {
 content: "";
 position: absolute;
 background-color: #d5ecfc;
 top: 0;
 height: 60%;
 width: 85%;
 z-index: -1;
 bottom: 0;
 margin: auto;
}
@media (max-width:820px) {
 #voice .wide::after {
  height: 90%;
  width: 100%;
 }
}
#voice .wide-left::after {
 left: 0;
}
/* カードを中央に配置 */
#voice .voice-cards {
 max-width: 1030px;
 margin: 0 auto 8em;
}
@media (max-width:820px) {
 #voice .voice-cards {
  margin: 0 auto 6em;
 }
}
#voice .voice-card {
 display: flex;
 align-items: center;
 position: relative;
 margin-bottom: 6em;
}
@media (max-width:820px) {
 #voice .voice-card {
  display: block;
 }
}
#voice .voice-card:nth-child(2) {
 flex-direction: row-reverse;
 margin-bottom: 0;
}
#voice .voice-card:nth-child(2) .voice-card__photo {
 transform: translateX(5px);
}
@media (max-width:820px) {
 #voice .voice-card:nth-child(2) .voice-card__photo {
  transform: translateX(0);
  padding-left: 30px;
  padding-right: 0;
 }
}
#voice .voice-card:nth-child(2) .voice-card__txt {
 transform: translateX(-5px);
 border-radius: 27px 27px 27px 0;
}
@media (max-width:820px) {
 #voice .voice-card:nth-child(2) .voice-card__txt {
  transform: translateX(0);
  margin-left: 0;
  margin: 0 20px 20px;
 }
}
/* テキスト側の箱 */
#voice .voice-card__txt {
 flex: 1 1 65%;
 background: #fff;
 border: 2px solid #0d4394;
 border-radius: 27px 27px 0 27px;
 padding: 50px;
 transform: translateX(15px);
}
@media (max-width:820px) {
 #voice .voice-card__txt {
  padding: 20px 30px;
  margin: 0 20px 20px;
  transform: translateX(0);
 }
}
#voice .voice-card__title {
 font-size: clamp(20px, calc(0.5525vw + 17.93px), 25px);
 font-weight: 700;
 color: #0d4394;
 margin-bottom: 30px;
}
@media (max-width:820px) {
 #voice .voice-card__title {
  margin-bottom: 15px;
 }
}
#voice .voice-card__body p {
 text-align: justify;
}
#voice .voice-card__body p + p {
 margin-top: 20px;
}
@media (max-width:820px) {
 #voice .voice-card__body p + p {
  margin-top: 15px;
 }
}
#voice .voice-card__photo {
 flex: 0 1 auto;
 z-index: 2;
 transform: translateX(-15px);
 max-width: 488px;
}
@media (max-width:820px) {
 #voice .voice-card__photo {
  transform: translateX(0);
  max-width: 490px;
  padding-right: 30px;
  margin: 0 auto;
 }
}
#voice .voice-card__photo img {
 display: block;
 width: 100%;
 height: auto;
 border-radius: 10px;
 overflow: hidden;
 box-shadow: 13px 13px 0 #0d4394; /* 濃い青の下側バー表現 */
}
/* wide-right の背景帯を右寄せ */
#voice .wide-right::after {
 right: 0;
}
/* ===== レイアウト：2列→SPで1列 ===== */
#voice .voice-list {
 max-width: 1000px;
 margin: 0 auto;
 display: flex;
 flex-wrap: wrap;
 gap: 30px;
 width: calc(100% - 100px);
}
@media (max-width:820px) {
 #voice .voice-list {
  width: 90%;
 }
}
#voice .voice-list__item {
 flex: 0 1 calc((100% - 30px) / 2); /* 2列 */
}
@media (max-width: 820px) {
 #voice .voice-list__item {
  flex-basis: 100%;
  max-width: 500px;
  margin: 0 auto;
 } /* 1列 */
}
/* ===== カード見た目（proof） ===== */
#voice .voice-proof {
 background: #fff;
 border: 2px solid #0d4394;
 border-radius: 20px;
 padding: 30px 40px 20px;
 position: relative;
}
@media (max-width:820px) {
 #voice .voice-proof {
  padding: 20px 15px 10px;
 }
}
/* ヘッダー：アバター＋社名 */
#voice .voice-proof__head {
 display: flex;
 align-items: center;
 gap: 28px;
}
@media (max-width:820px) {
 #voice .voice-proof__head {
  gap: 20px;
 }
}
#voice .voice-proof__title {
 margin: 0;
 color: #0d4394;
 font-weight: 700;
 font-size: clamp(18px, 3.2vw, 24px);
 line-height: 1.25;
}
/* 画像領域 */
#voice .voice-proof__media {
 position: relative;
 max-width: 310px;
 margin: 0 auto;
}
#voice .voice-proof__media img {
 display: block;
 width: 100%;
 height: auto;
	cursor: pointer;
}
/* 右下の拡大ボタン */
#voice .voice-proof__zoom {
 position: absolute;
 right: 30px;
 bottom: 25px;
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 10px 20px;
 border-radius: 999px;
 background: #0d4394;
 color: #fff;
 text-decoration: none;
}
#voice .voice-proof__zoom .icon {
 width: 18px;
 height: 18px;
 fill: currentColor;
}
#voice .voice-proof__zoom:hover {
 /*filter: brightness(1.5);*/
	background: #2589d0;
}
#voice .voice-proof__zoom:focus-visible {
 outline: 2px solid #1AAEC3;
 outline-offset: 3px;
}
/* ===== Lightbox base（アニメ対応版） ===== */
.voice-lightbox {
 position: fixed;
 inset: 0;
 z-index: 9999;
 /* displayは使わず、opacity/visibilityで制御 */
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition:
  opacity .24s ease, visibility 0s linear .24s; /* フェードアウト後に隠す */
}
.voice-lightbox.is-open {
 opacity: 1;
 visibility: visible;
 pointer-events: auto;
 transition:
  opacity .24s ease, visibility 0s; /* 即表示 */
}
/* 閉じる時だけ、親ごとフェードアウト（ズームはさせない） */
.voice-lightbox.is-open.is-closing {
 opacity: 0;
 pointer-events: none;
 visibility: hidden;
 transition:
  opacity .24s ease, visibility 0s linear .24s; /* フェード完了後に非表示扱い */
}
/* 背景オーバーレイをフェード */
.voice-lightbox__overlay {
 position: absolute;
 inset: 0;
 background: rgba(13, 67, 148, .7);
 backdrop-filter: blur(1px);
 opacity: 0;
 transition: opacity .24s ease;
}
.voice-lightbox.is-open .voice-lightbox__overlay {
 opacity: 1;
}
/* ダイアログはズーム＋フェード */
.voice-lightbox.is-open .voice-lightbox__dialog {
 transform: translate(-50%, -50%) scale(1);
 opacity: 1;
}
/* ===== Lightbox inner layout ===== */
.voice-lightbox__dialog {
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%); /* 開く時ズームは既存CSSにお任せ */
 width: min(720px, 95vw);
 max-height: 87vh;/*90vh;*/
 background: #fff;
 border-radius: 20px;
 box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
 padding: 50px 0;
 display: grid;
 grid-template-rows: auto 1fr auto;
 overflow: hidden; /* 角丸内に収める */
 transition:
  transform .25s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
}
/* 右上 × */
#voice .voice-lightbox__x {
 position: absolute;
 top: 17px;
 right: 17px;
 width: 25px;
 height: 25px;
 border: none;
 border-radius: 50%;
 background: transparent;
 cursor: pointer;
}
#voice .voice-lightbox__x::before {
 transform: translate(-50%, -50%) rotate(45deg);
}
#voice .voice-lightbox__x::after {
 transform: translate(-50%, -50%) rotate(-45deg);
}
#voice .voice-lightbox__x::before, #voice .voice-lightbox__x::after {
 content: "";
 position: absolute;
 left: 50%;
 top: 50%;
 width: calc(40px * .52);
 height: 3px;
 background: #0d4394;
 border-radius: 1px;
 transform-origin: center;
}
/* ヘッダー：アバターが少し飛び出す */
#voice .voice-lightbox__header {
 position: relative;
 display: flex;
 align-items: center;
 gap: 30px;
 min-height: 56px;
 justify-content: center;
 margin-right: 86px;
}
@media (max-width:820px) {
 #voice .voice-lightbox__header {
  margin-right: 0;
  gap: 20px;
 }
}
#voice .voice-lightbox__title {
 color: #0d4394;
 font-weight: 700;
 font-size: clamp(20px, 2.4vw, 28px);
 line-height: 1.25;
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
/* 本文：画像を中央に */
#voice .voice-lightbox__body {
 display: grid;
 place-items: center;
 overflow: auto; /* 画像が大きいとき内部スクロール */
}
#voice-lightbox-img {
 display: block;
 max-width: 100%;
 height: auto;
 border-radius: 10px;
}
/* フッター：丸い「閉じる」ボタン */
#voice .voice-lightbox__footer {
 margin-top: 2em;
 display: flex;
 justify-content: center;
}
#voice .voice-lightbox__closebtn {
 appearance: none;
 border: 2px solid #0d4394;
 background: #fff;
 color: #0d4394;
 border-radius: 999px;
 padding: 13px 60px;
 line-height: 1;
 font-weight: 700;
 font-size: 14px;
 cursor: pointer;
 transition: background .15s ease, transform .05s ease;
}
#voice .voice-lightbox__closebtn:hover {
 background: #0d4394;
 color: #fff;
}
/*#voice .voice-lightbox__closebtn:focus-visible {
 outline: 2px solid #1AAEC3;
 outline-offset: 3px;
}*/
#voice .fa-regular {
 font-weight: bold !important;
}