:root {
  --base-color: #ffffff;
  --accent-color: #C1AF5D;
  --font-color: #231F1E;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

/* 背景装飾（左右余白） */
body {
  margin: 0;
  background-color: #688999; /* ベース背景 */
  background-repeat: no-repeat;
  background-position: left;
  display: flex;
  justify-content: center; /* 中央寄せ */
}

/* 背景装飾（ロゴ画像） */
.bg-logo {
  position: fixed;   /* 背景っぽく固定 */
  top: 10px;
  left: 50px;
  z-index: -1;        /* 中身より下に置くなら 0 */
  opacity: 0;
  transform: translateX(-50px); /* 左にオフセット */
  transition: opacity 1s ease, transform 1s ease;
  text-decoration: none; /* リンクの下線を消す */
}

.bg-logo.show {
  opacity: 1;
  transform: translateX(0); /* 元の位置に */
}

.bg-logo img {
  width: 500px;   /* サイズ調整 */
  height: auto;
  display: block;
}

@media (max-width: 1024px) {  /* iPad含めたいなら 1024px 以下 */
  .bg-logo {
    display: none !important;
  }
}

/* レコード背景 */
.bg-record {
  position: fixed;
  bottom: -100px;   /* 下に少しはみ出させる */
  right: -50px;    /* 右に少しはみ出させる */
  width: 600px;     /* サイズ調整（画面に対して2/3くらい見える大きさに） */
  height: 600px;
  z-index: -1;      /* 背景扱い */
  overflow: hidden;
  transform: translateX(3000px); /* 左にオフセット */
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.bg-record.show {
  opacity: 1;
  transform: translateX(0); /* 元の位置に */
}

.bg-record img {
  width: 100%;
  height: auto;
  animation: spin 20s linear infinite; /* 回転アニメーション */
  transform-origin: center center;     /* 中心で回転 */
}

@media (max-width: 1024px) {
  .bg-record { display: none; }
}

/* 回転アニメーション */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* カラーレコード背景 */
.bg-color_records {
  position: fixed;
  bottom: 0;
  left: 50px;
  z-index: -3;      /* 背景扱い */
  overflow: hidden;
  opacity: 0;
  transform: translateY(300px); /* 右にオフセット */
  transition: opacity 2.0s ease, transform 2.0s ease;
}

.bg-color_records.show {
  opacity: 1;
  transform: translateX(0); /* 元の位置に */
}

.bg-color_records img {
  width: 55%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .bg-color_records { display: none; }
}

/* 背景ステッカー */
.bg-stecker2 {
  position: fixed;
  top: 50px;
  right: -600px;
  z-index: -2;      /* 背景扱い */
  overflow: hidden;
  opacity: 0;
  transform: translateX(3000px); /* 右にオフセット */
  transition: opacity 2.0s ease, transform 2.0s ease;
}

.bg-stecker2.show {
  opacity: 1;
  transform: translateX(0); /* 元の位置に */
}

.bg-stecker2 img {
  width: 50%;
  height: auto;
  display: block;
  animation: bg-stecker2 0.6s infinite;
}

@keyframes bg-stecker2 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 1024px) {
  .bg-stecker2 { display: none; }
}

.bg-stecker4 {
  position: fixed;
  top: 300px;
  right: -150px;
  z-index: -2;      /* 背景扱い */
  overflow: hidden;
  opacity: 0;
  transform: translateX(3000px); /* 右にオフセット */
  transition: opacity 2.0s ease, transform 2.0s ease;
  animation: bg-stecker4 1s ease forwards;
}

.bg-stecker4.show {
  opacity: 1;
  transform: translateX(0); /* 元の位置に */
}

.bg-stecker4 img {
  width: 30%;
  height: auto;
  display: block;
}

@keyframes bg-stecker4 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-20deg); } /* ← 反時計回りに10度 */
}

@media (max-width: 1024px) {
  .bg-stecker4 { display: none; }
}

/* 中身の横幅固定（モバイル特化） */
.site-wrapper {
  width: 100%;
  max-width: 450px;
  background-color: var(--base-color); /* コンテンツ背景 */
  color: var(--font-color);
  min-height: 100vh;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* これでスマホは画面幅に合わせて縮む */
/* @media (min-width: 451px) {
  .site-wrapper {
    border-left: 1px solid #C1AF5D; /* 左右境界に装飾可能 */
    border-right: 1px solid #C1AF5D;
  }
} */

/* Google fonts */
.rubik-dirt-regular {
  font-family: "Rubik Dirt", system-ui;
  font-weight: 400;
  font-style: normal;
}

.barriecito-regular {
  font-family: "Barriecito", system-ui;
  font-weight: 400;
  font-style: normal;
}

.container {
  margin-inline: auto;
  padding: 0 16px;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-top: 30px;
}
.header-inner {
  align-items: center;
  text-align: center;
  height: 50px;
}

.logo-anim {
  text-align: center;
  gap: 4px; /* 文字の間隔 */
  font-size: 2.0rem;
  font-family: Rubik Dirt;
}

.logo-anim span {
  display: inline-block;
  animation: floatUpDown 1.5s ease-in-out infinite;
}

/* 上下にふわっと動く */
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 1文字ずつタイミングをずらす */
.logo-anim span:nth-child(1) { animation-delay: 0s; }
.logo-anim span:nth-child(2) { animation-delay: 0.1s; }
.logo-anim span:nth-child(3) { animation-delay: 0.2s; }
.logo-anim span:nth-child(4) { animation-delay: 0.3s; }
.logo-anim span:nth-child(5) { animation-delay: 0.4s; }
.logo-anim span:nth-child(6) { animation-delay: 0.5s; }
.logo-anim span:nth-child(7) { animation-delay: 0.6s; }
.logo-anim span:nth-child(8) { animation-delay: 0.7s; }
.logo-anim span:nth-child(9) { animation-delay: 0.8s; }
.logo-anim span:nth-child(10){ animation-delay: 0.9s; }
.logo-anim span:nth-child(11){ animation-delay: 1s; }
.logo-anim span:nth-child(12){ animation-delay: 1.1s; }
.logo-anim span:nth-child(13){ animation-delay: 1.2s; }

.nav-toggle {
  background: none;
  border: none;
  color: var(--font-color);
  font-size: 1.5rem;
}
.nav[hidden] { display: none; }
.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav a {
  display: block;
  padding: 12px 0;
  color: var(--font-color);
  text-decoration: none;
}
.nav a:hover {
  color: var(--accent-color);
}

/* スライダー */
.slider {
  height: 280px;
}
.slide-items {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slide-items img {
  width: 100%;
  object-fit: cover;
}

/* slick ドットの位置と色を調整 */
.slick-dots {
  bottom: 0px;  /* 位置を調整 */
}

.slick-dots li button:before {
  font-size: 20px;      /* ドットサイズ */
  color: #C1AF5D;       /* さし色 */
  opacity: 1;
}

.slick-dots li.slick-active button:before {
  color: #231F1E;       /* アクティブ時の色 */
}

/* NEWS */
.news {
  margin-top: 60px;
}

.news-animation {
  font-family: "Oi", serif;
  font-size: 2.5rem;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  animation: news-animation 4s infinite;
  color: #000066;
}

@keyframes news-animation {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.news-item {
  padding: 0 16px;
}

/* NEW RELEASE */
.newrelease-marquee span {
  color: var(--font-color);
  font-family: Barriecito;
  font-size: 2.5rem;
  text-align: center;
  display: inline-block;
  animation: newrelease-marquee 30s linear infinite; /* 無限スクロール */
}

.newrelease-marquee {
  width: 100%;             /* 横幅いっぱい */
  overflow: hidden;        /* はみ出し非表示 */
  white-space: nowrap;     /* 折り返し禁止 */
  box-sizing: border-box;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

@keyframes newrelease-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* .release-list { */

.release-item {
  margin-top: 30px;
  margin-bottom: 30px;
}
.release-item img {
  width: 100%;
  display: block;
}
.release-item h3 {
  margin: 8px 0 4px;
}

.release-item h4 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.release-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* トグル */
.artist-list {
  max-height: 0;               /* 最初は折りたたむ */
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding-left: 10px;
  margin: 0;
  list-style: none;
}

.artist-list li {
  padding-bottom: 5px;
}

.artist-list.open {
  max-height: 2000px;           /* 高さを十分大きくして開く */
}

.artist-toggle {
  cursor: pointer;     /* クリックできるように */
  font-weight: bold;
  margin-bottom: 5px;
}

.artist-toggle:hover {
  opacity: 0.7;
}


.toggle-icon {
  display: inline-block;
  transition: transform 0.5s ease; /* 回転アニメーション */
}

.artist-toggle.active .toggle-icon {
  transform: rotate(180deg); /* 下向き→上向きに */
}

/* ボーダーライン */
.border-line {
  border: none;
  border-top: 2px solid #000; /* 上に線を引く */
  margin: 1em 0;
}


/* jacketスライダー */
.test__container {
  padding-top: 30px;
  padding-bottom: 30px;
}

.jacket-slick {
    width: 100%;
    max-width: 500px;
    margin: 15px auto;
    @include breakpoint(500px) {
        margin: 5% auto;
    }
}

.jacket-slick__item {
    margin-right: 5px;
    margin-left: 5px;
}

.jacket-slick__item img {
    height: auto;
    width: 100%;
}

.jacket-slick2 {
    width: 100%;
    max-width: 500px;
    margin-right: auto;
    margin-left: auto;
    @include breakpoint(500px) {
        margin: 5% auto;
    }
}

.jacket-slick2__item {
    margin-right: 5px;
    margin-left: 5px;
}

.jacket-slick2 .slick-track {
    transform: unset !important;
}

.jacket-slick2__item img {
    height: auto;
    width: 100%;
    opacity: .4;
    transition: opacity .5s; 
}

.jacket-slick2__item.slick-current img {
    opacity: 1;
}

.jacket-prev:before, .slick-next:before {
    color: #000066;
}

.jacket-slick__item,
.jacket-slick2__item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.jacket-slick__item img,
.jacket-slick2__item img {
  max-width: 100%;
  height: auto;          /* 縦サイズは画像比率に従う */
  object-fit: contain;   /* はみ出さず収める */
}

.artist-name {     /* クリックできるように */
  font-weight: bold;
    margin-bottom: 5px;
}

/* about */
.about {
  padding: 0 16px;
}

.about img {
  width: 100%;
  max-width: 500px;
  text-align: center;
  display: block;
}

.about_title {
  font-family: "Notable", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--font-color);
  font-size: 2.5rem;
  text-align: center;
    margin-bottom: 30px;
}

.about h4 {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.5rem;
}

.about p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.name {
  margin-top: 15px;
  font-size: 1rem;
  text-align: right;
}

/* バナー */
.banner{
  padding: 0 16px;
  margin-top: 3rem;
  margin-bottom: 2rem;
}
.banner img {
  margin: 0 auto;
  width: 100%;
  padding-bottom: 10px;
}

/* フッター */
.site-footer {
  background: #1a1716;
  padding: 1rem 0;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer p {
  color: #ffffff;
}

/* PC用レイアウト */
@media (min-width: 768px) {
  .release-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .nav {
    display: block !important;
  }
  .nav-toggle {
    display: none;
  }
}
