/* 共通設定 */
html {
  scroll-behavior: smooth;
}



/* スライダー */
.ma-slider {
  position: relative;
  max-width: 1200px;
  margin: 20px auto;
  overflow: hidden;
  height: 500px;
}
.ma-slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.ma-slide {
  min-width: 100%;
  box-sizing: border-box;
}
.ma-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ma-prev, .ma-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background-color: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}
.ma-prev { left: 10px; }
.ma-next { right: 10px; }

/* 本文エリア */
.ma-content {
  max-width: 1200px;
  margin: 20px auto;
  line-height: 1.8;
  padding: 0 10px;
}

/* フッター */
.ma-footer {
  width: 100%;
  background-color: #f5f5f5;
}

/* ページ最下部固定コンテンツ */
.ma-fixed-bottom {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  background-color: #333;
  color: #fff;
  height: 80px;
  z-index: 9999;
}
.ma-fixed-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* モーダル（スマホ限定） */
.ma-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.ma-modal img {
  max-width: 90%;
  max-height: 90%;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .spno { display: none; }
  .pcno { display: block; }
  .ma-slider { height: auto; }
  .ma-slide img { object-fit: contain; }
  .ma-fixed-bottom { height: 60px; }
}
@media screen and (min-width: 769px) {
  .pcno { display: none; }
}
