/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  overflow-x: hidden; /* 横スクロールを防止 */
  position: relative; /* Safariでの表示の安定性向上 */
}

body {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #ffeffb;
}

.zen-maru-gothic-light {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 300;
  font-style: normal;
}

/* 基本の最大幅1366pxに合わせる */
.wrapper {
  max-width: 1366px;
  margin: 0 auto; /* 中央寄せ */
  width: 100%;
}

/* 各セクション間の隙間をなくす */
header,
.info-bar,
.news,
.content,
.komekami,
.character,
.staff,
.partner,
.sns,
footer {
  margin: 0;
  padding: 0;
}

/* ヘッダーエリア */
header {
  width: 100%;
  text-align: center; /* 中央寄せ */
}

.header-image {
  width: 100%;
  max-width: 1366px;
  height: auto;
  display: block;
  margin: 0; /* 余白をなくす */
}

/* テキスト情報エリア */
.info-bar {
  background-color: #ee7793;
  text-align: center;
  padding: 10px 0;
  width: 100%;
}

.info-bar p {
  font-size: 1.2em;
  color: #fff;
}

/* Newsエリア */
.news {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0;
}

.news-title {
  width: 100%;
  background-image: url("./img/news_bg.png");
  background-size: cover;
  background-position: center;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-title img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin-top: -20px;
}

.news-box {
  background-color: white;
  border-radius: 15px;
  max-width: 1320px;
  margin: 20px auto;
  padding: 20px;
}

.news-content {
  width: 700px;
  max-width: 100%; /* モバイル表示に対応 */
  margin: 0 auto;
  background-color: #ffffff;
  padding: 20px;
}

.news-content ul {
  list-style-type: none;
  padding-left: 0;
}

.news-content li {
  padding: 10px 0;
  font-size: 100%;
  display: flex;
  justify-content: space-between;
  border-bottom: solid 1px #ee7793;
  align-items: center;
}

.news-date {
  color: #ee7793;
  margin-right: 60px;
  white-space: nowrap;
}

.news-text {
  color: gray;
  flex-grow: 1;
  text-align: left;
}

/* コンテンツエリア */
.content {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f4f4f4;
  text-align: center;
}

.content h2 {
  margin-bottom: 20px;
}

.texts {
  padding: 10px;
  color: #5e5e5e;
}

/* komekamiエリア */
.komekami {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  position: relative;
}

.komekami-bg {
  background-image: url("./img/komekami_BG.png");
  background-size: cover;
  background-position: center;
  padding-bottom: 20px;
}

.komekami-title {
  padding: 20px 0;
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.komekami-content {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  margin: 0 auto;
  width: 80%;
  max-width: 700px;
  text-align: center;
}

.komekami-bg-under {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: 61px;
  position: relative;
  top: 0;
}

/* characterエリア */
.character {
  max-width: 1366px;
  margin: 0 auto;
  padding: 10px 20px 40px 20px;
  text-align: center;
}

.character-title {
  padding: 10px 0;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.character-label {
  position: relative;
  width: 329px;
  height: 98px;
  margin-left: 0;
}

.character-label img {
  width: 100%;
  height: auto;
}

.character-label2 {
  position: relative;
  width: 305px;
  height: 94px;
  margin-left: 0;
}



.character-text {
  position: absolute;
  left: 115px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  font-weight: bold;
  color: white;
}

.character-text2 {
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  font-weight: bold;
  color: white;
}

.character-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
  max-width: 1366px;
  margin-left: auto;
  margin-right: auto;
}
.character-box2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  max-width: 1366px;
  margin-left: auto;
  margin-right: auto;
}


.character-item {
  margin: 20px 20px 40px 20px;
  width: calc(50% - 40px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
}

.character-box-content-left {
  width: 490px;
  display: flex;
  flex-direction: column;
  justify-content: baseline;
  padding-top: 60px;
}

.character-box-content-left2 {
  width: 490px;
  display: flex;
  flex-direction: column;
  justify-content: baseline;
  padding-top: 20px;
}

.character-name {
  font-weight: bold;
  margin-bottom: 5px;
  text-align: left;
  font-size: 150%;
}

.cv-highlight {
  color: #ffde00; /* CV の色を ffde00 に設定 */
}

.cv-name {
  font-style: italic;
  margin-bottom: 10px;
  text-align: left;
}

.character-description {
  font-size: 0.9em;
  color: #666;
  text-align: left;
}

.character-box-content-right {
  width: 150px;
}

.character-image {
  width: 150px;
  height: 315px;
}

.character-icon {
  width: 50px;
  height: 82px;
  position: absolute;
  top: -40px;
  left: 20px;
}

/* Staffエリア */
.staff {
  background-color: #20bae0;
  max-width: 1366px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.staff-title {
  padding: 10px 0;
  max-width: 100%;
  height: auto;
}

.staff-box {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 15px;
  margin: 20px auto;
  padding: 20px;
  max-width: 1366px;
  text-align: center;
}

.staff-row {
  display: flex;
  justify-content: center; /* 境目を中央揃え */
  margin-bottom: 10px; /* 各行の間に余白を追加 */
}

.staff-left {
  text-align: right;
  font-weight: bold;
  color: #20bae0;
  width: calc(50% - 10px); /* 左右の幅を調整して間に余白を作る */
}

.staff-right {
  text-align: left;
  color: black;
  width: calc(50% - 10px); /* 左右の幅を調整して間に余白を作る */
  word-wrap: break-word; /* 長い場合は折り返しを許可 */
  margin-left: 20px; /* 左右の間隔を20pxに設定 */
}

/* Partnerエリア */
.partner {
  background-color: #fed900;
  max-width: 1366px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  position: relative; /* relativeにしてページトップボタンとの位置関係を制御 */
}

.partner-title {
  padding: 10px 0;
  max-width: 100%;
  height: auto;
}

.partner-box {
  background-color: white;
  border: 1px solid #44230b;
  border-radius: 15px;
  margin: 20px auto;
  padding: 20px;
  max-width: 1366px;
  text-align: center;
  color: #44230b; /* テキストカラー修正 */
}

/* SNSエリア */
.sns {
  background-color: white;
  padding: 40px 0;
  max-width: 1366px;
  margin: 0 auto;
  text-align: center;
  position: relative; /* relativeにしてページアップボタンの位置調整 */
}

.sns-logo {
  width: 190px;
  margin-bottom: 20px;
}

.sns-icons {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  gap: 20px;
}

.sns-icons img {
  width: 25px;
  height: auto;
  transition: all 0.3s ease; /* 変化をスムーズにする */
}

.sns-icons img:hover {
  opacity: 0.7; /* ホバー時に少し透過 */
  filter: brightness(0.8); /* 色を少し暗くする */
}

/* ページトップへ戻るボタン */
.page-up {
  position: absolute;
  top: -25px; /* sns-contentの最上部から-25pxの位置に配置 */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.page-up img {
  width: 50px;
  height: auto;
}

/* ハンバーガーメニュー */
.hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
}

.menu-icon {
  position: relative; /* ラベルをアイコン上に配置するためにrelative */
  width: 60px;
  height: 113px;
}

.menu-icon img {
  width: 100%;
  height: auto;
}

.menu-label {
  position: absolute; /* アイコンの上に重ねる */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-lines {
  font-size: 24px;
  line-height: 1;
  color: #000;
}

.menu-text {
  font-size: 14px;
  color: #000;
  margin-top: -3px;
}

/* スライドメニューが完全に非表示になるように設定 */
.slide-menu {
  position: fixed;
  top: 0;
  right: -300px; /* 初期状態は画面外に完全に隠す */
  width: 300px;
  height: 100%;
  background-color: rgba(47, 25, 9, 0.9); /* 背景色を80%透過の44230bに設定 */
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease;
  z-index: 999;
  padding-top: 100px;
  overflow: hidden; /* はみ出しを防止 */
  -webkit-overflow-scrolling: touch; /* Safariでのスクロールバウンスを防止 */
  clip-path: inset(0 0 0 0); /* 見切れ対策 */
}

/* メニューが表示されるとき */
.slide-menu.open {
  right: 0; /* メニューを表示 */
}
.slide-menu ul {
  list-style: none;
  padding: 0;
}

.slide-menu ul li {
  margin: 20px 0;
}

.slide-menu ul li a {
  text-decoration: none;
  font-size: 18px;
  color: #fff; /* テキスト色を白に設定 */
  padding-left: 15px; /* テキストの左側に15pxの余白を追加 */
}

/* フッターエリア */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

/* 資料ダウンロードボタン */
.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #34b798; /* ボタンの背景色 */
  color: #fff; /* テキスト色 */
  border-radius: 25px; /* 角丸 */
  text-decoration: none;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  margin-top: 10px; /* ダウンロードボタンの上に余白 */
}

.download-btn:hover {
  background-color: #2d9a89; /* ホバー時の色 */
}

.oubo-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ee7793; /* ボタンの背景色 */
  color: #fff; /* テキスト色 */
  border-radius: 25px; /* 角丸 */
  text-decoration: none;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
  margin-top: 10px; /* ダウンロードボタンの上に余白 */
}

.oubo-btn:hover {
  background-color: #ee7793; /* ホバー時の色 */
}

/* PC用のスタイル */
.audition-row {
  display: flex;
  justify-content: center; /* 中央に配置 */
  gap: 20px; /* ブロック間のスペース */
  margin: 20px 0; /* 上下に余白を追加 */
}

.audition-block {
  display: flex;
  flex-direction: column; /* 縦に要素を並べる */
  align-items: center; /* すべての要素を中央に揃える */
  text-align: center; /* テキストを中央揃え */
  max-width: 250px; /* 各ブロックの最大幅を設定して中央寄せ */
}

.audition-image {
  margin: 10px 0; /* 画像の上下に余白を追加 */
}
.auditioninfo {
  justify-content: center; /* 中央に配置 */
  margin: 20px 0; /* 上下に余白を追加 */
}
.auditioninfolabel {
  font-size: 100%;
  font-weight: bold;
  margin-bottom: 10px;
}
.auditioninfotxt {
  font-size: 90%;
  padding: 0 20px;
  margin: 0 auto;
}

/* Safariでの視覚バグ防止 */
@supports (-webkit-touch-callout: none) {
  .slide-menu {
    clip-path: inset(0 0 0 0); /* Safariのドロップシャドウ表示を抑制 */
  }
}

/* モバイル対応 */
@media screen and (max-width: 700px) {
  .info-bar {
    font-size: 80%;
  }

  .news-content {
    width: 100%;
    padding: 15px;
  }

  .character-label {
    display: flex; /* フレックスボックスを利用して中央揃え */
    justify-content: center; /* 横方向の中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    text-align: center;
    margin: 0 auto;
  }

.character-label2{
  background-color: blue;
}

  /* タイトルのサイズを80%に縮小 */
  .komekami-title {
    width: 60%; /* モバイル時の幅を80%に変更 */
    margin: 0 auto; /* 中央揃え */
  }
  .character-title {
    width: 40%; /* モバイル時の幅を80%に変更 */
    margin: 0 auto; /* 中央揃え */
  }
  .staff-title {
    width: 30%; /* モバイル時の幅を80%に変更 */
    margin: 0 auto; /* 中央揃え */
  }

  .character-item {
    flex-direction: column; /* モバイル時は縦並びに変更 */
    width: 100%; /* 横幅を100%に */
    margin-bottom: 30px; /* プラス10pxの余白を追加 */
  }

  .character-box-content-left,
  .character-box-content-left2,
  .character-box-content-right {
    width: 100%;
  }

  .character-box-content-right {
    margin-top: 10px;
  }

  .staff-box {
    flex-direction: column;
  }

  .staff-left {
    text-align: left;
    width: 100%;
    margin-bottom: 10px;
  }

  .staff-right {
    text-align: left;
    width: 100%;
    word-wrap: break-word; /* 長いテキストを折り返す */
  }

  .staff-row {
    display: block; /* モバイルでは縦並び */
    margin-bottom: 20px;
  }

  .sns-icons img {
    margin-bottom: 10px;
  }

  .slide-menu {
    width: 100%; /* モバイル時は全幅にスライド */
    right: -100%; /* 完全に画面外に隠れるように修正 */
  }

  .slide-menu.open {
    right: 0; /* 開いたときに画面いっぱいに表示 */
  }

  .audition-image {
    width: 90%;
  }
  .audition-row {
    flex-direction: column; /* モバイルでは縦並びに変更 */
    align-items: center;
  }
}
 .youtube-16-9{
 	width: 85%;
	height: auto;
	aspect-ratio: 16 / 9;
 }