.pic-ctn {
  position: relative;
  max-width: 95%;
  margin: 0 auto;
  padding: 0 4px;
  overflow: hidden;
  aspect-ratio: 700 / 500;
}

@keyframes fadeInOut {
  0%, 30%, 100% { opacity: 0; }
  5%, 25% { opacity: 1; }
}

.pic-ctn > img {
  /*animation-name: fadeInOut;*/
  animation-duration: 16s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  opacity: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pic-ctn > img:nth-child(1) {
  animation-name: fadeZoomPan1;
  animation-delay: 0s;
  --panX: 10px;
  --panY: 0;
}
.pic-ctn > img:nth-child(2) {
  animation-name: fadeZoomPan2;
  animation-delay: 4s;
  --panX: -10px;
  --panY: 0;
}
.pic-ctn > img:nth-child(3) {
  animation-name: fadeZoomPan3;
  animation-delay: 8s;
  --panX: 0;
  --panY: 10px;
}
.pic-ctn > img:nth-child(4) {
  animation-name: fadeZoomPan4;
  animation-delay: 12s;
  --panX: 0;
  --panY: -10px;
}

/*.pic-ctn > img:nth-child(1) { animation-delay: 0s; }
.pic-ctn > img:nth-child(2) { animation-delay: 4s; }
.pic-ctn > img:nth-child(3) { animation-delay: 8s; }
.pic-ctn > img:nth-child(4) { animation-delay: 12s; }
*/

/* キーフレーム 個別に微妙に動きを変えてランダム風 */
@keyframes fadeZoomPan1 {
  0%   { opacity: 0; transform: scale(1) translate(0, 0); }
  5%   { opacity: 1; transform: scale(1.02) translate(0, 0); }
  25%  { opacity: 1; transform: scale(1.05) translate(var(--panX), var(--panY)); }
  30%  { opacity: 0; transform: scale(1.05) translate(var(--panX), var(--panY)); }
  100% { opacity: 0; transform: scale(1) translate(0, 0); }
}
@keyframes fadeZoomPan2 {
  0%   { opacity: 0; transform: scale(1) translate(0, 0); }
  5%   { opacity: 1; transform: scale(1.03) translate(0, 0); }
  25%  { opacity: 1; transform: scale(1.06) translate(var(--panX), var(--panY)); }
  30%  { opacity: 0; transform: scale(1.06) translate(var(--panX), var(--panY)); }
  100% { opacity: 0; transform: scale(1) translate(0, 0); }
}
@keyframes fadeZoomPan3 {
  0%   { opacity: 0; transform: scale(1) translate(0, 0); }
  5%   { opacity: 1; transform: scale(1.01) translate(0, 0); }
  25%  { opacity: 1; transform: scale(1.04) translate(var(--panX), var(--panY)); }
  30%  { opacity: 0; transform: scale(1.04) translate(var(--panX), var(--panY)); }
  100% { opacity: 0; transform: scale(1) translate(0, 0); }
}
@keyframes fadeZoomPan4 {
  0%   { opacity: 0; transform: scale(1) translate(0, 0); }
  5%   { opacity: 1; transform: scale(1.02) translate(0, 0); }
  25%  { opacity: 1; transform: scale(1.05) translate(var(--panX), var(--panY)); }
  30%  { opacity: 0; transform: scale(1.05) translate(var(--panX), var(--panY)); }
  100% { opacity: 0; transform: scale(1) translate(0, 0); }
}

@media (max-width: 768px) {
  .pic-ctn {
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 250px;
    z-index: 1; /* 追加 */
  }
  .pic-ctn > img {
    position: absolute;
    inset: 0;
  }
  .container.topContent03 {
    position: relative !important;
    z-index: 10 !important;
    margin-top: 1px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 0px !important;
  }
}

