@charset "utf-8";

/* 一般設定 */
h2 {
  color: blueviolet;
}

dt {
  margin-left: 20px;
  font-weight: bold;
  color: brown;
}

dd {
  margin-left: 40px;
}


/* headerの設定 */
header {
  background-color: aqua;
  margin-bottom: 30px;
}

header h1 {
  text-align: center;
}



/* ナビの設定 */
nav {
  background-color: lemonchiffon;
  width: 300px;
  font-size: smaller;
}

nav>p {
  font-size: 20px;
  color: red;
  font-weight: bold;
  text-align: center;
}


/* Main　の設定 */
main {
  margin-left: 10PX;
  background-color: aquamarine;
  flex: 1;
}

/* bodyの設定 */
body {
  margin: 0;
  background-color: lightcyan;
}


/* footerの設定 */

footer {
  background-color: lightgrey;
  text-align: center;
  color: blueviolet;
}


/* ボタンの設定 */

button {
  background-color: rgb(0, 225, 255);
  border-radius: 8px;
  font-size: large;
  position: fixed;
  right: 95px;
  bottom: 96px;
  box-shadow: 0 4px #7a0000;
}

#moku {
  background-color: yellow;
  border-radius: 8px;
  font-size: large;
  position: fixed;
  right: 32px;
  bottom: 96px;
  box-shadow: 0 4px #7a0000;
}


button:hover {
 opacity: .8;
}

button:active {
  box-shadow: 0 1px #7a0000;
  transform: translateY(3px);
}




/* メディアクリエイターの設定 */
@media (min-width: 700px) {
  .container {
    display: flex;
  }
}




/* swiperの設定 */

.my-carousel {
  /* width: 300px; */
  /* height: 500px; */
  margin: 0 auto;
  /* position: relative; */
  overflow: hidden;
}



.swiper1 {
  width: 20%;
  height: 20%;
  margin: 0 auto;
  overflow: visible;
}

.swiper2 {
  width: 10%;
  height: 10%;
  margin: 0 auto;
  overflow: visible;
}

.swiper-wrapper {
  transition-timing-function: linear;
}





/* .swiper-slide.swiper-slide-visible {
  opacity: 1;
}

.swiper-slide:not(.swiper-slide-visible) {
  opacity: 0.3;
}

 */



.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transition: transform 6s linear; */
}






/* .swiper-slide.swiper-slide-visible img {
  transform: scale(1.3);
} */





.bi {
  font-size: 48px;
  color: rgba(135, 60, 233, 0.8);
}


.my-button-prev,
.my-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  line-height: 0;
  z-index: 2;
}


.my-button-prev {
  left: -24px;
}


.my-button-next {
  right: -24px;
}

.my-carousel .swiper-pagination {
  bottom: -24px;
}