/* カモメレコーズ 共通CSS */

/* フォント読み込み制御 */
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Roboto+Flex:opsz,wght@8..144,100..1000&family=Roboto:ital,wght@0,100..900;1,100..900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=block");

.font-loading .content {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.font-loaded .content {
  opacity: 1;
}

/* 基本スタイル */
* {
  box-sizing: border-box;
}

body {
  font-family: "M PLUS Rounded 1c", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  font-size: 12px;
  color: #333333;
  line-height: 1.6;
}

.text-right {
  text-align: right !important;
}

/* モダンレイアウト用コンテナ */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-image: url(../images/bg.png);
  background-repeat: repeat;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content {
  background-color: #4393c1;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  overflow: hidden;
}

/* ヘッダー */
.header {
  position: relative;
}

.header-image {
  width: 100%;
  height: auto;
  display: block;
}

/* メニュー */
.text-menu {
  display: flex;
  background-color: #4393c1;
  height: 69px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.text-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: bold;
  font-size: 24px;
  text-decoration: none;
  transition: background-color 0.3s;
  flex: 1;
  height: 69px;
}

.text-menu a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.menu-demo {
  flex: 0 0 auto !important;
  padding: 0 !important;
}

.menu-demo img {
  display: block;
  height: 69px;
  width: auto;
}

/* メインコンテンツエリア */
.main-content {
  background-color: #ffffff;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

/* コンテンツセクション */
.content-section {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
}

.content-columns {
  display: flex;
  flex-direction: row;
  flex: 1;
  padding: 10px 10px 10px 10px;
}

.news-section {
  width: 220px;
  flex-shrink: 0;
  padding: 0px 10px 10px 10px;
}

.news-section .date {
  text-align: right;
  font-style: italic;
  color: #666666;
  font-size: 11px;
  display: block;
}

.main-section {
  flex: 1;
  padding: 0px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* アーティストグリッド */
.artist-grid-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  margin-bottom: 20px;
}

.artist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.artist-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.artist-card.empty {
  visibility: hidden;
}

.artist-card img {
  width: 120px !important;
  height: 120px !important;
  border-radius: 6px;
  object-fit: cover;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  margin-bottom: 10px;
}

.artist-card img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.artist-name {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-top: 5px;
}

/* ニュースセクション */
.news-section {
  width: 220px;
  font-size: 12px;
  line-height: 1.8;
  background-color: #ffffff;
}

.news-section h2 {
  margin: 0 0 15px 0;
  padding: 0;
}

.main-section h2 {
  margin: 0 0 15px 0;
  padding: 0;
}

.news-section strong {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.news-section .date {
  font-style: italic;
  color: #888;
  text-align: right;
  display: block;
  margin-bottom: 15px;
}

/* ニュース項目 */
.news-item {
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.news-item strong {
  display: block;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.news-item .date {
  display: block;
  margin-bottom: 0;
  line-height: 1.2;
}

.news-section a {
  color: #0099ff;
  text-decoration: none;
  font-size: 12px;
}

.news-section a:visited {
  color: #6b46c1;
}

.news-section a:hover {
  text-decoration: underline;
}

/* フッター */
.footer {
  font-family: "M PLUS Rounded 1c", serif;
  font-weight: 500;
  font-style: normal;
  display: flex;
  justify-content: end;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-right: 1rem;
  font-size: 12px;
  color: #666;
}
/* セクションタイトル */
.section-title {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-weight: normal;
  font-style: italic;
  font-size: 24px;
  color: #333;
  margin: 0 0 15px 0;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-section > .section-title {
  align-self: flex-start;
  width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .app {
    padding: 10px;
  }

  .container {
    max-width: 100%;
    margin: 0;
  }

  .content-columns {
    flex-direction: column;
  }

  .news-section {
    width: 100%;
    margin-bottom: 20px;
  }

  .artist-grid-row {
    gap: 20px;
    margin-bottom: 15px;
  }

  .artist-card img {
    width: 100px !important;
    height: 100px !important;
  }

  .text-menu {
    flex-wrap: wrap;
    height: auto;
  }

  .text-menu a {
    font-size: 18px;
    height: 50px;
    min-width: calc(50% - 2px);
  }

  .menu-demo img {
    height: 50px;
  }
}

/* アーティストリンク用スタイル */
.artist-links a {
  color: #0099ff;
  text-decoration: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.artist-links a:hover {
  text-decoration: underline;
}

.artist-links img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 6px;
  object-fit: cover;
}

/* 各ページ用スタイル */
.style1 {
  color: #000000;
}
.style2 {
  font-size: 12px;
  font-weight: bold;
}
.style3 {
  font-size: 24px;
}
.style4 {
  font-size: 12px;
}
.style5 {
  font-size: 12px;
}
.style6 {
  font-size: 12px;
}

/* プロフィールページ用スタイル */
.profile-section {
  margin-bottom: 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.section-header img {
  max-width: 100%;
  height: auto;
}

.profile-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.profile-image-wrapper {
  flex: 0 0 auto;
}

.profile-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.profile-info {
  flex: 1;
  padding-left: 1rem;
}

.profile-info h2 {
  font-size: 24px;
  margin: 0 0 0.5rem 0;
  color: #333;
}

.profile-info p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.discography-section {
  margin-bottom: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.album-item {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.album-image {
  flex: 0 0 auto;
}

.album-image img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.album-info {
  flex: 1;
  padding-left: 1rem;
}

.album-info h3 {
  font-size: 18px;
  margin: 0 0 0.5rem 0;
  color: #333;
}

.tracklist {
  background-color: #f8f8f8;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.shop-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem;
  background-color: #f0f8ff;
  border-radius: 4px;
}

.shop-link img {
  max-height: 25px;
  width: auto;
}

.shop-link span {
  font-size: 12px;
  color: #666;
}

/* レスポンシブ対応 */
@media (min-width: 780px) {
  .profile-content,
  .album-item,
  .discography-section {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .profile-content,
  .album-item {
    flex-direction: column;
    gap: 1rem;
  }

  .profile-info,
  .album-info {
    padding-left: 0;
  }
}
