.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.carousel {
  position: relative;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.carousel__slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-stop: always;
    gap: 1vw;
    margin-block: auto;
    max-width: 750px;
    margin-inline: auto;
    position: relative;
    padding-right: 10px;
    padding-left: 10px;
}

.carousel__slide {
    width: 750px;
    height: 360px;
    background-color: #FFFFFF;
    scroll-snap-align: center;
    flex: 0 0 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #162853;
	border-radius: 20px;
}
.slider_set {
    display: flex;
flex-direction: column;
	justify-content: center; 
}

.slide_title {
font-family: "toppan-bunkyu-midashi-go-std";
  font-weight: 900;
  font-style: normal;
	font-size: 21px;
  letter-spacing: 0.15em;
	text-align: center;
	margin-bottom: 20px;
}
.slide_contents {
	width: 670px;
    height: 270px;
    display: flex;
justify-content: space-between;
}
.appgamen {
		    width: 400px;
    height: 270px;
}
.slide_copy {
    font-family: "dnp-shuei-gothic-gin-std";
    font-weight: 900;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.05em;
    text-align: justify;
    margin-top: -4px;
    width: 250px;
}
.c-b {
	    display: flex;
	flex-direction: column; 
justify-content: space-between;
}

.carousel__slider {
  /* 手順2と同様 */
  /* scroll-marker-groupを設定してマーカーグループを有効化 */
  scroll-marker-group: after;

  &::scroll-button(*) {
    position: absolute;
    top: calc(var(--img-height) / 2 - 10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
  border: 1px solid #162853;

    &:hover {
      background-color: #eee;
    }
  }

  &::scroll-button(right) {
    right: -17px;
    content: ">";
  }

  &::scroll-button(left) {
    left: -17px;
    content: "<";
  }

  &::scroll-marker-group {
    position: absolute;
	width: 750px;
	height: 106px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 501px;
  
}

.carousel__slide {
/* 手順2と同様 */

  &::scroll-marker {
    content: "";
    width: 174px;
    height: 36px;
  }

  /* アクティブなマーカーのスタイル */
  &::scroll-marker:target-current {
  border: 3px solid #c1075d;
	 border-radius: 11px;
	mix-blend-mode: multiply;
  }
}

	
/* for Smart Phone */
@media screen and (max-width:599px) {

	
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.carousel {
  position: relative;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.carousel__slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-stop: always;
    gap: 1vw;
    margin-block: auto;
    max-width: 325px;
    margin-inline: auto;
    position: relative;
    padding-right: 10px;
    padding-left: 10px;
}

.carousel__slide {
    width: 305px;
    height: 700px;
    background-color: #FFFFFF;
    scroll-snap-align: center;
    flex: 0 0 100%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #162853;
	border-radius: 20px;
}
.slider_set {
    display: flex;
flex-direction: column;
	justify-content: center; 
}

.slide_title {
font-family: "toppan-bunkyu-midashi-go-std";
  font-weight: 305;
  font-style: normal;
	font-size: 21px;
  letter-spacing: 0.15em;
	text-align: center;
	margin-bottom: 20px;
}
.slide_contents {
	width: 305px;
    height: 400px;
    display: flex;
justify-content: space-between;
}
.appgamen {
		    width: 300px;
    height: 202.5px;
}
.slide_copy {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.05em;
    text-align: justify;
    margin-top: -4px;
    width: 250px;
}
.c-b {
	    display: flex;
	flex-direction: column; 
justify-content: space-between;
}

.carousel__slider {
  /* 手順2と同様 */
  /* scroll-marker-groupを設定してマーカーグループを有効化 */
  scroll-marker-group: after;

  &::scroll-button(*) {
    position: absolute;
    top: calc(var(--img-height) / 2 - 10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    cursor: pointer;
  border: 1px solid #162853;

    &:hover {
      background-color: #eee;
    }
  }

  &::scroll-button(right) {
    right: -17px;
    content: ">";
  }

  &::scroll-button(left) {
    left: -17px;
    content: "<";
  }

  &::scroll-marker-group {
    position: absolute;
	width: 305px;
	height: 106px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 501px;
  
}

.carousel__slide {
/* 手順2と同様 */

  &::scroll-marker {
    content: "";
    width: 174px;
    height: 36px;
  }

  /* アクティブなマーカーのスタイル */
  &::scroll-marker:target-current {
  border: 3px solid #c1075d;
	 border-radius: 11px;
	mix-blend-mode: multiply;
  }
}
	