/* styles.css */
/* グローバルリセットとボックスサイズ調整 */
*, *::before, *::after {
  box-sizing: border-box;
  background-color: #ffffff;
}
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 横スクロール防止 */
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;                     /* 変更：アンカーリンクを滑らかに */
  scroll-padding-top: calc(60px + 300px);      /* 変更：固定ヘッダー＋アー写分のオフセット */

  
}
body {
  padding-top: calc(60px + 600px); /* ← 300px → 400px に変更 */
  margin: 0;
background-color: #f9f9f9;
}

/* ヘッダー */
header {
  position: fixed;           /* ヘッダーを画面上部に固定 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;             /* 常に最前面 */
  display: flex;             /* ヘッダー内を左右に並べる */
  justify-content: space-between;  /* 左右に要素を配置 */
  align-items: center;       /* 垂直方向中央揃え */
  background: #ffffff;
  color: rgb(134, 134, 134);
  height: 60px;              /* 固定高さ（調整可） */
  padding: 0 1em;            /* 左右にパディング */
  border-bottom: solid 1px #797979;
  
}
header h1 {
  margin: 0;       /* デフォルトマージンをリセット */
  order: 0;        /* 左側に配置 */
  
}
/* ロゴ画像化した場合のサイズ調整 */
#site-title img {
  max-height: 25px;  /* ヘッダー高さに合わせる */
  width: auto;
  vertical-align: middle;
}

nav {
  order: 1;        /* 右側に配置 */
    display: flex;
    
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 22px;
  justify-content: space-between;
  z-index: 1100;
  margin-left: auto;
}

.hamburger span {
  display: block;
  height: 3px;
  background: rgb(134, 134, 134);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

nav ul {
  display: flex;
  justify-content: flex-end;  /* ナビを右寄せ */
  list-style: none;
  padding: 0;
  margin: 0;                  /* 不要な余白をリセット */
  
}

nav img:hover{
  opacity: 0.5;
  transition-duration: 0.4s;
}
nav img{
  width: 14px;
  height: 14px;
  vertical-align:  middle;
}

nav li {
  margin: 0 1em;
}
nav a {
  color: rgb(134, 134, 134);
  text-decoration: none;
   transition: color 0.3s ease, background-color 0.3s ease;
}

nav a:hover {
  /* 文字色をゴールドに */
  color: #23b6fa;
  /* 背景色も変えたい場合はコメントを外して調整 */
  /* background-color: rgba(255, 255, 255, 0.1); */
}

/* アー写セクションを固定 */
#artist {
  position: fixed;    /* アー写をヘッダー下に固定 */
  top: 60px;          /* ヘッダーの高さ分だけ下げる */
  left: 0;
  width: 100%;
 height: auto;      /* 固定高さ（調整可） */
  text-align: center;
  background-color: #f9f9f9; /* お好みで背景色 */
  overflow: hidden;  /* 内部のはみ出しを隠す */
  padding: 0 0;       /* 内側余白 */
  object-fit: cover; /* アスペクト比を維持しつつ、枠に合わせてトリミング */
  z-index: 100; 
  top: 90px;

}

#artist img {
  z-index: 1;        /* 表示順 */
  display: block;
  margin: 0 auto;
  width: 90%;         /* 横幅は親の90% */
  height: auto;
  max-width: 1500px;   /* 最大幅指定 */

  object-fit: cover;
  border-radius: 0;   /* 角丸（お好みで） */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  object-fit: cover; /* アスペクト比を維持しつつ、枠に合わせてトリミング */

}

/* レスポンシブ幅に合わせるスライダー */
.slider {
  z-index: 900;                   /* 常に前面 */
  width: 100%;                    /* ページ幅にフィット */
  overflow: hidden;               /* はみ出し非表示 */
  position: relative;

}

.slider-container {
    position: flex;
  }
  .slide-btn {
    position: absolute;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #f9f9f9;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: rotate(45deg);
    background-color:#23b6fa(255, 0, 0, 5);
 
    


  }
/* スライドボタンを上下方向に上げる例 */
#prev-slide {
  left: 18%;
  top: 50%;  /* ここを40%→30%に変更 */
  font-size: 0;
  border-left: 4px solid #ffffff;
  border-bottom: 4px solid #fff;   
}

#next-slide {
  right: 18%;
  top: 50%;  /* ここを40%→30%に変更 */
  font-size: 0;
  border-right: 4px solid #fff;
  border-top: 4px solid #fff;
}


  
/* スライド群を横並び */
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* 各スライドはスライダー幅に合わせる */
.slide {
  flex: 0 0 100%;  /* 1枚ずつ表示 */
}

/* 画像をスライド枠にフィット */
.slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 各コンテンツセクション（NEWS, LIVE, ABOUT, CONTACT） */
section {
  position: relative;
  padding: 2em;
  text-align: center;
  background-color: #ffffff;
  z-index: 800;
  top: 290px;
}
section#news{
  padding-left: 350px;
  padding-right: 350px;
}

/* NEWSセクション：リスト項目をボーダーで区切る */
#news ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#news li {
  border-bottom: 1px solid #ccc;
}


/* ニュース項目のレイアウト */
.news-item {
  display: flex;
  align-items: center;
  padding: 0.75em 0;
}

/* 日付（最小サイズ） */
.news-date {
  font-size: 0.75em;
  color: #999;
  flex-shrink: 0;
  margin-right: 1em;
}

/* タイトル（最大サイズ） */
/* NEWSアイテムをグリッドレイアウトに切り替え */
.news-item {
  display: grid;
  grid-template-columns: max-content 1fr;  /* 左列に日付の幅、自動で決定 */
  grid-template-areas:
    "news-date news-title"
    "news-date news-snippet";
  column-gap: 1em;      /* 日付と本文の横間隔 */
  row-gap: 0.25em;      /* 行間 */

}

/* 各要素にエリア名を指定 */
.news-date {
  grid-area: news-date;
  font-size: 0.75em;
  color: #999;
}

.news-title {
  grid-area: news-title;
  font-size: 1em;
  font-weight: bold;
  color: #222;
  text-align: left;
}

.news-snippet {
  grid-area: news-snippet;
  font-size: 0.9em;
  color: #555;
  white-space: normal;    /* 折り返しを許可 */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

/* リンク全体をブロック化してクリックしやすく */
#news a {
  display: block;
  text-decoration: none;
  transition: background-color 0.3s;
  padding: 0 0.5em;
}
#news a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* 区切り線はそのまま */
#news li {
  border-bottom: 1px solid #ccc;
}

section.slider{
  padding: 25em;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

section#contact{
  position: relative;
  padding: 10px;
  text-align: center;
  background-color: #ffffff;
  z-index: 400;
}

#contact p {
  color: rgb(0, 0, 0);          /* 文字色を黒にする */
  background-color: rgb(255, 255, 255);
}

#contact a {
  text-decoration: none; /* 下線を消す */
}

/* フッター */
footer {
  position: relative;
  background: #222;
  color: white;
  text-align: center;
  padding: 1em;
  z-index: 800;
  top: 290px;
}

footer p{
  background-color: #222;
}

/* PC表示（幅769px以上）のときだけ非表示 */
@media screen and (min-width: 769px) {
  nav ul > li.MOVILE_SNS {
    display: none;
  }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: calc(60px + 150px);
  }

  body {
    padding-top: calc(30px + 24px);
  }

  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    flex-direction: column;
    height: auto;
    padding: 0.5em 1em;
    text-align: center;
    align-items: flex-start;
    background: #ffffff;
  }

  #site-title img {
    max-height: 20px;
  }

  nav {
    width: 100%;
  }


  nav ul{
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 53px;
    right: 0;
    background: white;
    width: 100%;
    border-top: solid 1px #ccc;
    z-index: 1000;
  }

  nav ul.active {
    display: flex;
  }

  nav ul.active > li.MOVILE_SNS {
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5em;
  }

  nav li {
    margin: 1em;
    text-align: center;
  }

  /*ここから下が中身*/
  section{
    position: relative;
    top: 0px;
    padding: 5px;
    z-index: 900;
  }
  
  /*▼スライダー非表示*/
  section.slider{
    display: none;
  }
  #artist{
    position: relative;
    top: 0px;
    z-index: 1;
  }
  .news-section {
    width: 100%;
    padding: 1rem 0.5rem;
    border-radius: 0;
  }

  .news-title {
    font-size: 1.2rem;
  }

  .news-subtitle {
    font-size: 1rem;
  }

  section#news{
  padding-left: 0px;
  padding-right: 0px;

}

  .news-content {
    font-size: 0.9rem;
  }

  iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }

  footer {
    font-size: 0.9rem;
    position: relative;
    top: 0px;
  }

.hamburger {
    display: block;
    /* 例：右上に固定するなら… */
    position: absolute;
    top: 1em;
    right: 1em;
  }
  .hamburger span {
    display: block;
    width: 25px; height: 3px;
    margin: 4px 0;
    background: #333;
  }

  .hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/*メニューを開いたら後ろが薄黒くなるよ*/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}
}