@media screen and (max-width: 1024px) {
  /* 共通 */
  html {
    /* background-image: url(../img/background_gold.jpg); */
    background-repeat: repeat-y;
    background-size: 100% auto;
    position: relative;
  }
  .sp-only {
    display: block !important;
  }
  .pc-only {
    display: none !important;
  }

  p {
    font-size: 14px;
    line-height: 1.6;
  }

  section:not(:first-of-type) {
    margin-top: 60px;
  }
  .container {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 50px 20px 30px;
    box-sizing: border-box;
    border-radius: 20px;
    position: relative;
  }
  .container::after {
    border: black 0.3px solid;
    content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: -1;
  }
  .container::before {
    background: white;
    content: "";
    display: block;
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: -2;
  }
  .container h2 {
    width: 240px;
    background: #9ad2d3;
    color: white;
    font-size: 14px;
    padding: 12px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  /* メインビジュアル */
  #main-visual {
    background-image: url(../img/main_visual.jpg);
    width: 100%;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
  #main-visual::after {
    content: "";
    width: calc(100% - 8px * 2);
    height: calc(100% - 16px * 2);
    position: absolute;
    top: 16px;
    left: 8px;
    right: 8px;
    bottom: 16px;
    border-radius: 20px;
    border: 0.3px solid white;
  }
  #main-visual p {
    /* background: rgb(256, 256, 256, 0.3); */
    font-size: 16px;
    text-shadow: rgb(0, 0, 0, 0.6);
    padding: 40px 8px;
    border-radius: 20px;
    color: white;
    font-family: "Hannari";
  }
  #main-visual h1 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto;
    font-family: "Hannari";
  }

  /* ベイエリアみらいチケットとは */
  #about {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  #about .message {
    width: 100%
  }
  #about .img {
    width: 80px;
    margin-left: 0;
    margin-bottom: 10px;
  }
  #about .img-list {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
  }
  #about .img-list > li {
    width: 30%;
  }

  /* みらいチケットの活用方法 */
  #how-to .img-list {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    align-items: center;
  }
  #how-to .img-list > li {
    width: 40%;
  }

  /* チケットご利用の流れ */
  #flow {
  }
  #flow .flow-list > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
  }
  #flow .flow-list > li:not(:first-child) {
    margin-top: 40px;
  }
  #flow .num {
    width: 40px;
  }
  #flow .message {
    width: 100%;
    margin-left: 0;
    font-size: 14px;
    transform: translateY(0);
    margin-top: 6px;
    margin-bottom: 10px;
  }
  #flow .img {
    min-width: 80px;
    max-width: 160px;
    width: 30%;
    margin: 0 auto;
  }

  /* 対象店舗 */
  #store {
  }
  #store .store-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
  }
  #store .store-list > li {
    width: 100%;
  }
  /* #store .store-list > li:not(:first-child) {
  margin-top: 120px;
} */
  #store .store-list > li:nth-child(n + 3) {
    margin-top: 50px;
  }
  #store .store-list > li:not(:first-child) {
    margin-top: 50px;
  }
  #store .store-list > li .img {
    width: 90%;
    margin: 0 auto;
  }
  #store .store-list > li .name {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }
  #store .store-list > li .btn {
    color: white;
    background: #9ad2d3;
    text-decoration: none;
    padding: 16px 0;
    width: 200px;
    display: block;
    text-align: center;
    margin: 10px auto 0;
    font-size: 14px;
  }


/* 新規事業 */
#news {
  background: white;
  padding-top: 60px;
  padding-bottom: 80px;
}
#news > div {
  margin: 0 auto;
  width: calc(100% - 32px);
  min-width: auto;

}
#news > div .row {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
#news > div .row .intro {
  width: calc(100%);
}
#news > div .row .img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 40px;
}
#news > div .column {
}
#news > div .column .intro {
  margin-bottom: 40px;
}
#news > div .column ul {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
#news > div .column ul > li {
  width: calc(100%);
}
#news > div .column ul > li:not(:first-child) {
  margin-top: 30px;
}
#news > div .column ul > li .name {
  text-align: center;
  margin-bottom: 4px;
  font-size: 18px;
}

#news h2 {
  color: #9AD2D3;
  font-size: 22px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 30px;
}
#news h3 {
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  color: #F5AC5B;
  margin-bottom: 12px;
}
#news {
  background: white;
}
#news {
  background: white;
}

  /* フッター */
  footer {
    margin-top: 30px;
  }
  footer h2 {
    font-size: 20px;
    /* font-weight: 700; */
    text-align: center;
  }
  footer a {
    display: block;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: black;
    margin: 30px auto 0;
  }
  footer .copyright {
    background: #9ad2d3;
    color: white;
    font-size: 12px;
    padding: 8px 0;
    text-align: center;
    margin-top: 40px;
  }
}
