body {
  margin: 0;
  font-family: sans-serif;
  line-height: 1.6;
  color: #191a1c;
  line-break:strict;
}

body::before{
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background-repeat:no-repeat;
  background-position:50% 100%;
  background-image:url(../images/mv.webp);
  background-size:cover;
}

@media screen and (max-width: 1000px) {
  body{
    background-image: url(../images/mv_sp.webp);
  }
}

html{
  scroll-behavior: smooth;
  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  font-weight: 500;
}

b{
  font-weight: 700;
}


a{
  text-decoration: none;
  color: #fff;
}

img{
  max-width: 100%;
}

/* ローディング画面 */
#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #173149;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.spinner {
  width: 100px;
  height: 100px;
  margin: 200px auto;
  background-color: #fff;
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}

/* ローディングアニメーション */
@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.loaded {
  opacity: 0;
  visibility: hidden;
}









a:hover{
    opacity: 0.8;
    transition: opacity .4s;
}

h1{
    font-size: 2rem;
    margin-block: 0.67em;
}

@media screen and (max-width: 1000px) {
  h1{
    font-size: 1.5rem;
    margin-block: 0.67em;
  }
}

h2{
  margin-bottom: 40px;
  margin-top: 0;
  text-shadow:1px 1px 0 #191a1c, -1px -1px 0 #191a1c,
              -1px 1px 0 #191a1c, 1px -1px 0 #191a1c,
              0 1px 0 #191a1c,  0-1px 0 #191a1c,
              -1px 0 0 #191a1c, 1px 0 0 #191a1c;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.5rem;
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
  padding: 0 55px;
}

h2:before, h2:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 2px;
  background-color: #fff;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
}

h2:before {
  left:0;
}
h2:after {
  right: 0;
}

@media screen and (max-width: 1000px) {
  h2{
    letter-spacing: normal;
    font-size: 1.5rem;
  }
}

h3{
  font-weight: 900;
}


/* header */
.header {
  position: relative;
  height: 0;
}

.sw2-logo{
  background-color: #e60013;
  width: 100%;
  text-align: center;
}

.sw2-logo img{
  max-height: 9vh;
  margin-top: 1vh;
}





/* ===== 共通 ===== */

.menu-wrapper {
  position: fixed;
  top: 1.1vh;
  right: 2vh;
  z-index: 1100; /* navより上 */
}

.menu-btn {
  font-size: 22px;
  cursor: pointer;
  padding: 2vh 3vh;
  color: #fff;
  border: rgba(255,255,255,0.3) 1px solid;
  box-shadow: 0.5px 0.5px 4px 0.5px black,
  2px 2px 8px 2px rgba(255,255,255,0.1) inset;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7),
    rgba(27, 27, 27, 0.7)
  );
  border-radius: 14px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* メニュー初期状態 */
.nav {
  position: absolute;
  top: -1.1vh;
  right: -2vh;
  padding: 10px 14px;
  z-index: 1000;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  height: 100vh;
  width: 50vw;
  border: rgba(255,255,255,0.3) 1px solid;
  box-shadow: 0.5px 0.5px 4px 0.5px black,
  2px 2px 8px 2px rgba(255,255,255,0.1) inset;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.9),
    rgba(27, 27, 27, 0.9)
  );
}

/* 表示状態 */
.nav.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
}

.nav li {
  margin: 30px 0;
  text-align: center;
  font-size: 1.8rem;
}

.nav a {
  white-space: nowrap;
}

@media screen and (max-width: 1000px) {
  .nav {
    width: 100vw;
    position: fixed;
    margin: 0;
    transform: translateY(-10px);
  }

  .nav ul {
    display: flex;
    flex-direction: column;
  }

  .nav a {
    font-size: 20px;
  }
}

.menu-btn {
    position: relative;
    z-index: 1200;
}



/* ===== 矢印付きリンク共通 ===== */

.btn,
.more-link a,
.external-link-btn {
  position: relative;
  padding-right: 2.5em; /* 矢印分の余白 */
}


.btn,
.external-link-btn  {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 10px;
  width: 300px;
  transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
  border-radius: 14px;
  border: rgba(255,255,255,0.3) 1px solid;
  box-shadow: 0.5px 0.5px 4px 0.5px black,
  2px 2px 8px 2px rgba(255,255,255,0.1) inset;
  background-size: 200% 100%;
}

@media screen and (max-width: 1000px) {
  .btn,
    .external-link-btn  {
    width: 90%;
  }
}


.btn{
  background: linear-gradient(90deg, rgba(29, 115, 188, 0.9) 0%, rgba(65, 147, 217, 0.9) 60%, rgba(24, 85, 137, 0.9) 80%);
}


.btn::after,
.more-link a::after,
.external-link-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}


.external-link-btn{
  background: linear-gradient(90deg, rgba(72, 133, 41, 0.9) 30%, rgba(86, 148, 55, 0.9) 70%);
}


.external-link-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1.25em;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-60%) rotate(0deg);
  transition: transform 0.2s ease;
}

/* 斜め方向を強調（↗︎らしさ） */
.external-link-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 1.2em;
  width: 15px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%) rotate(-45deg);
}

@media screen and (max-width: 1000px) {
  .external-link-btn {
    font-size: 18px;
  }
}




/* fade-in */

.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}



/* float bannar */
.float{
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 100;
  padding: 0 50px;
  background: linear-gradient(85deg, #e60013 30%, rgba(255, 64, 55, 1) 70%);
  background-color: #fff;
  border: #fff solid;
  box-sizing: border-box;
  text-align: center;
  border-radius: 16px 0 0 0;
  box-shadow: 0.5px 0.5px 4px 0.5px black;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.float p{
  margin-bottom: 3px;
  margin-top: 10px;
}

.caption{
  background-color: #fff;
  color: #e60013;
  font-size: 1rem;
  border-radius: 15px;
  margin: 0 auto 10px auto;
  width: auto;
}


@media screen and (max-width: 400px) {
  .float{
    width: 100%;
    border-radius: 0;
    padding: 0;
  }

  .caption{
    margin: 0 20% 10px 20%;
  }
}




/* main */


section {
  text-align: center;
  padding: 50px 0;
}

.main-visual {
  height: 95vh;
  display: flex;
  justify-content: center;
  align-items: center;
    padding: 10vh 0;
}

.main-visual-inner img{
  width:60vh;
  margin-top:-20vh;
}

.main-visual-inner p{
  margin: 0;
  font-size: 1.4rem;
  text-align: center;
  color: #fff;
  -webkit-text-stroke: 3px black;
  text-stroke: 3px black;
  paint-order: stroke;
}

.release{
  font-size: 1.7rem !important;
}

@media screen and (max-width: 1000px) {
    .main-visual-inner img{
      width:45vh;
    }
    .main-visual-inner p{
      font-size: 1.2rem;
    }
}

.a40-logo{
  position: absolute;
  top: 13vh;
  right: 20px;
}

@media screen and (max-width: 1000px) {
  .a40-logo{
    width: 23vw;
    max-width: 120px;
  }
}


.bannar-inner,
.catch-innar,
.game-innar,
.news-innar,
.movie-innar,
.info-innar,
.footer-innar{
  max-width:  1000px;
  margin: auto;
}

@media screen and (max-width: 1000px) {
    .bannar-inner,
    .catch-innar,
    .game-innar,
    .news-innar,
    .movie-innar,
    .info-innar,
    .footer-innar{
      width: 90%;
    }
}

/* ===== banner ===== */

.banner{
  margin: -38vh auto 0vh auto;
}

.bannar-inner{
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.bannar-inner img{
    box-shadow: 0.5px 0.5px 4px 0.5px black;
    border-radius: 14px;
}

@media screen and (max-width: 1000px) {
  .bannar-inner {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

}

/* ===== catch ===== */

.catch{
  position: relative;
  box-shadow: 0.5px -1px 4px 0.5px black;
  border-top: #191a1c solid 8px;
  border-bottom: #191a1c solid 8px;
}

.catch video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.catch:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.catch-innar{
  position: relative;
  z-index: 10;
  color: #fff;
}

p{
  font-size: 1.2rem;
}

@media screen and (max-width: 1000px) {
    p{
      font-size: 1rem;
    }
}

/* ===== game ===== */

.game{
  background-image: url(../images/bg_ss1.webp);
  background-attachment: scroll;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height:auto;
}

/* 2カラム */
.game-columns {
  display: flex;
  gap: 36px;
  margin: 40px 0;
  align-items: center;
}

.game-columns.reverse {
  flex-direction: row-reverse;
}

/* 左：画像 */
.game-columns .left img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0.5px 0.5px 4px 0.5px black;
}


/* カラム比率（画像を少し大きめ） */
.game-columns .left {
  flex: 5;
}

.game-columns .right {
  flex: 5;
  text-align: left;
}

@media screen and (max-width: 1000px) {
  .game-columns,
  .game-columns.reverse {
    flex-direction: column; /* ← reverse を完全に無効化 */
    gap: 16px;
    margin:40px 0 0 0;
  }

  .game-columns .left {
    order: 1; /* 画像 */
  }

  .game-columns .right {
    order: 2; /* テキスト */
    font-size: 14px;
  }
}



.detail-buttons {
  display: flex;
  justify-content: space-between;
  gap:18px;
}

@media screen and (max-width: 1000px) {
  .detail-buttons {
    flex-direction: column;
    gap: 16px;
      align-items: center;
  }
}

.detail-buttons a{
    margin-top: 0;
}

/* ===== お知らせ・動画 共通 ===== */

.news-movie {
  background-image: url(../images/bg1.webp);
  background-size: cover;
  box-shadow: 0.5px 3px 4px 0.5px black;
  border-bottom:  #173149 solid 8px;
  border-top:  #173149 solid 8px;
}


@media screen and (max-width: 1000px) {
  .news-movie {
    padding: 60px 0;
  }
}



/* ===== お知らせ ===== */

.news-innar h2{
  color: #fff;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1000px;
}

.news-card {
  display: block;
  padding: 20px;
  border-radius: 6px;
  border: rgba(255,255,255,0.3) 1px solid;
  background-color: rgba(255,255,255,0.7);
  border-radius: 6px;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.news-card time {
  display: block;
  font-size: 0.8rem;
  color: #173149;
  margin-bottom: 10px;
}

.news-card p{
  font-size: 1rem;
  margin: 10px 0;
}

/* ===== 動画 ===== */

.movie-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 60px auto 0 auto;
  gap: 18px;
}

@media screen and (max-width: 1000px) {
  .movie-list {
    width: 100%;
  }
}

.movie-item {
  width: calc(33.33% - 12px);
}

@media screen and (max-width: 1000px) {
  .movie-item {
    width: 100%;
    margin-bottom: 10px;
  }
}

.movie-item iframe {
  width: 321px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
}

@media screen and (max-width: 1000px) {
  .movie-item iframe {
    width:100%;
  }
}


/* ===== info ===== */

.info{
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255,255, 0.3);
    color: #191a1c;
}

.info-innar h2{
  margin-bottom: 0;
}


/* 2カラム */
.info-columns {
  display: flex;
  gap: 36px;
  margin: 40px 0;
  align-items: center;
}

@media screen and (max-width: 1000px) {
  .info-columns {
    flex-direction: column;
    gap: 18px;
  }
}


/* 左：画像 */
.info-columns .left img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

@media screen and (max-width: 1000px) {
  .pk_small {
    max-height: 200px;
  }

  .info-columns .left img{
    max-width: 400px;
  }

}



/* カラム比率（画像を少し大きめ） */
.info-columns .left {
  flex: 3;
}

.info-columns .right {
  flex: 7;
  text-align: left;
  width: 100%;
}

/*table*/
.custom-table {
  border-collapse: collapse;
  margin: 0 auto;
  width:100%;
  }

@media screen and (max-width: 1000px) {
    .custom-table {
      border-spacing: 0;
      margin: 10px auto;
    }
}

.custom-table tr{
  border-bottom: 1px solid rgba(17, 17, 17, 0.5);
}

.left-cell, .right-cell {
  padding: 5px 0;
  text-align: left;
}

@media screen and (max-width: 1000px) {
    .left-cell, .right-cell {
      width: 100%;
      display: block;
      padding: 0;
    }
}

.left-cell {
  width: 180px;
  font-weight: bold;
}

.left-cell span{
  font-weight: normal;
}

@media screen and (max-width: 1000px) {
    .left-cell {
      margin-top: 10px;
      width: 100%;
    }
  }








.pagetop {
    height: 60px;
    width: 60px;
    border: rgba(255,255,255,0.3) 1px solid;
  box-shadow: 0.5px 0.5px 4px 0.5px black,
  2px 2px 8px 2px rgba(255,255,255,0.1) inset;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7),
    rgba(27, 27, 27, 0.7)
  );
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    margin: 100px auto 20px auto;
    text-decoration: none;
    flex-direction: column;
}

.pagetop__arrow {
   display: block;
    height: 10px;
    width: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(20%) rotate(-45deg) scale(1.6);
    margin-top: 18px;
}

.pagetop p{
  font-size: 0.7rem;
  color: #fff;
  margin: 5px auto;
}







/* ===== 外部リンク ===== */

.links {
  padding: 80px 20px;
  text-align: center;
  background-image: url(../images/qv.webp);
  background-position: bottom;
  background-size: cover;
  color: #fff;
  border-top: 5px solid #fff;
  box-shadow: 0.5px -1px 4px 0.5px black;
  background-attachment: fixed;
}

.links h2{
  margin-bottom: 10px;
}

.ajp{
  width: 300px;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 1000px) {
  .ajp{
    max-width: 300px;
    width: 70%;
  }
}


/* ボタン並び */
.link-list {
  display: flex;
  gap: 18px;
  max-width: 1000px;
  margin: 20px auto;
}

@media screen and (max-width: 1000px) {
  .link-list {
    flex-direction: column;
    gap: 16px;
      align-items: center;
      width: 100%;
  }
 .link-list a{
      margin-top: 10px;
    }
}



footer {
  background-color: #191a1c;
  width: 100%;
  padding: 30px 0;
  text-align: center;
}

.artdink_logo{
  margin: 20px auto;
}

@media screen and (max-width: 1200px) {
.artdink_logo img{
    width: 150px;
  }
}

.sns_icon {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 10px auto;
    padding: 0;
}

.sns_icon li{
  margin: 0 10px;
}

.sns_icon li:hover{
  opacity: 0.7;
}

.footer-link {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
  margin: 20px auto;
  padding: 0;
  gap: 18px;
  justify-content: space-between;
}

@media screen and (max-width: 1200px) {
  .footer-link {
  display: block;
  margin: 0 auto;
  }
}

.footer-link li a {
  font-weight: 500;
  transition: color 0.3s ease;
  color:#c1c1b5;
  text-decoration:none;
  padding: 10px 40px;
  display: inline-block;
}

@media screen and (max-width: 1200px) {
  .footer-link li{
    text-align: center;

  }
}

.footer-innar .copy{
  margin: 30px auto 0 auto;
  color:#c1c1b5;
  font-size: 0.7rem;
}




/* クリック可能に見せる */
.zoomable {
  cursor: zoom-in;
}

/* モーダル背景 */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2000;
}

/* 表示状態 */
.image-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* 拡大画像 */
.image-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.3s ease;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* アニメーション */
@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


.br-sp {
  display: none;
}

@media screen and (max-width: 1080px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline-block;
  }
}