* {
    margin: 0px;
    padding: 0px;
}

img {
    float: left;
}

div {
    color: rgb(12, 21, 94);
    text-align: center;
    margin: 0px;
    box-sizing: border-box;
}

/* スライダーのコンテナ */
.slider-container {
  position: relative;
  width: 70vw;               /* ビューポート幅の70% */
  max-width: 1200px;         /* 最大幅を設定 */
  aspect-ratio: 16 / 9;      /* 自動で16:9の高さを確保 */
  margin: 50px auto 0;
  overflow: hidden;
  border-radius: 10px;
}

/* 画像を横並びに */
.slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slider a {
  width: 100%;
  height: 100%;
  display: block;  /* 親リンクが正しくブロック化される */
  flex-shrink: 0;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* 前後ボタン */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.3);
  color: white;
  border: none;
  padding: 1.0vw;
  cursor: pointer;
  font-size: 3.6vw;
  z-index: 1.5vw;
}

.prev { left: 1vw; }
.next { right: 1vw; }

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.7);
}

.logo {
    width: min(12vw, 100px);
    position: absolute;
    left: min(14.4vw, 112px);
    top: min(12vw, 90px);
    transform: translate(-50%, -50%);
}

.header {
    max-height: 180px;
    height: 24vw;
    background: rgb(65, 105, 225);
    text-align: left;
}

.subtitle {
    text-decoration: none;
    color: white;
    position: absolute;
    left: min(22.5vw, 180px);
    top: min(12vw, 90px);
    transform: translate(0, -50%);
    font-size: min(4vw, 50px);
    font-weight: lighter;
    line-height: 1.2em;
}

.mainvisual {
    text-align: center;
    background: #f0f5ff;
    width: 100%;
}

.footer {
    font-size: 5vw;
    padding-top: 5vw;
    background-color: #f0f5ff;
    width: 100%;
}

.SNSLogo {
    width: 100%;
    font-size: 4.5vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /* 幅3等分 */
    grid-row-gap: 5%;
    padding: 3% 10%;
    padding-bottom: 10%;
    align-items: center;
}

.SNSLogo>a {
    transform: translate(min(11.4vw, 80px), 0);
    width: min(10vw, 70px);
    text-align: center;
}

.SNSLogo>a>img {
    transform: translate(0, 0);
    width: 100%;
}

.news {
    background: #f0f5ff;
    text-align: center;
    width: 100%;
}

.game {
    background: #f0f5ff;
    text-align: center;
    width: 100%;
}

.triangle {
    background-color: #b7c5f3;
    padding-top: min(10%, 80px);
    max-height: 10px;
    height: 10%;
    width: 100%;
    clip-path: polygon(0 0, 0 90%, 100% 20%, 100% 0);
}

.triangle2 {
    background-color: #b7c5f3;
    width: 130%;
    clip-path: polygon(0 0, 0 100%, 100% 0);
    z-index: 1;
    position: absolute;
    top: 72%;
    padding-top: 10%;
    margin-top: 2.5vw;
}

.midashi {
    text-align: center;
    width: 35%;
    margin-left: 32.5%;
    position: relative;
    margin-bottom: 5vw;
    padding-top: 8vw;
}

.midashiText {
    font-weight: normal;
    font-size: 8vw;
    position: relative;
    z-index: 2;
}

.arrow-box {
    margin: auto;
    width: 15vw;
    height: 15vw;
    background-color: green;
    border-radius: 50%;
    background-color: #b7c5f3;
}

.arrow {
    margin-top: 28%;
    display: inline-block;
    vertical-align: middle;
    color: #fbfcff;
    line-height: 1;
    position: relative;
    width: 6vw;
    height: 6vw;
    transform: translateX(-20%) rotate(45deg);
}

.arrow::before,
.arrow::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 1vw;
}

.arrow::before {
    top: 0;
    left: 0;
    right: 0;
    height: 1vw;
}

.arrow::after {
    top: 0;
    right: 0;
    bottom: 0;
    width: 1vw;
}

.wrapper {
    /*background-image: linear-gradient(180deg,  #f0f5ff 0%, #b7c5f3 10%, #4169e1 100%);*/
    background-color: #4169e1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* 幅3等分 */
    grid-template-rows: 1fr 1fr;
    grid-column-gap: 2%;
    /*隙間*/
    grid-row-gap: 2%;
    padding: 5%;
    padding-top: 3vw;
    padding-bottom: 8vw;
}

.wrapper>a {
    text-decoration: none;
}

.wrapper>a>div {
    border-radius: 3vw;
    background: #f0f5ff;
    border: 0.6vw solid #b7c5f3;
    padding-bottom: 5%;
    transition-duration: .4s;
}

.wrapper>a>div:hover {
    transform: scale(1.08);
}

.catchCopy {
    height: 4.5vw;
    margin: 2vw;
    margin-top: 2vw;
    font-size: 2.2vw;
    border-radius: 5vw;
}

.gameTitle {
    height: 22vw;
    font-size: 3vw;
    font-weight: lighter;
}

.gameTitle2 {
    height: 15vw;
    margin-top: 5vw;
    font-size: 3vw;
    font-weight: lighter;
}

.title-img2 {
    width: 76%;
    margin-left: 12%;
    margin-right: 12%;
    margin-top: 0%;
    margin-bottom: 0%;
    border-radius: 10px;
}

.title-img {
    width: 100%;
    margin-top: 0%;
    margin-bottom: 2%;
    border-radius: 2vw;
}

dl {
    padding: 2% 5%;
    width: 90%;
    font-size: 2vw;
    text-align: left;
}

dl>div {
    width: 100%;
    font-size: 2vw;
    text-align: left;
    /*border-bottom: 0.5vw dotted #4169e1;*/
    background-image: linear-gradient(170deg, #b7c5f3 20%, #4169e1 110%);
    background-repeat: no-repeat;
    background-size: 95% 5%;
    background-position: bottom;
}

dt {
    width: 28vw;
    float: left;
    padding: 3vw;
    padding-top: 1.8vw;
    padding-bottom: 1.8vw;
}

dd {
    margin-left: 0px;
    padding: 3vw;
    padding-top: 1.8vw;
    padding-bottom: 1.8vw;
    padding-left: 33vw;
    text-align: left;
}

dt>p {
    width: 14vw;
    float: inline-end;
    font-size: 2vw;
    background-color: #4169e1;
    border-radius: 3vw;
    color: #f0f5ff;
    margin-left: 3vw;
    text-decoration: none;
    text-align: center;
}

/* ここにPC用スタイルを記述 */
@media (min-aspect-ratio: 0.9) {
    .wrapper {
        /*background-image: linear-gradient(180deg,  #f0f5ff 0%, #b7c5f3 10%, #4169e1 100%);*/
        background-color: #4169e1;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        /* 幅3等分 */
        grid-template-rows: 1fr 1fr;
        grid-column-gap: 1.5%;
        /*隙間*/
        grid-row-gap: 3%;
        padding: 3%;
        padding-top: 5vw;
        padding-bottom: 8vw;
    }

    .catchCopy {
        height: 4vw;
        margin: 2vw;
        margin-top: 6vw;
        font-size: 1.5vw;
        border-radius: 5vw;
    }

    .gameTitle {
        height: 15vw;
        font-size: 2.5vw;
        font-weight: lighter;
    }

    .gameTitle2 {
        height: 15vw;
        font-size: 3vw;
        font-weight: lighter;
    }
}