/* 基本スタイル */
body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  margin-top: 0;
  padding: 0;
  background-image: url(../images/bg.gif);
  background-repeat: repeat;
  font-size: 12px;
}

/* タイポグラフィ */
h1,
h2,
.button {
  font-family: "Roboto Flex", sans-serif;
}

h1 {
  font-weight: 600;
  letter-spacing: -1px;
  font-size: 2rem;
  margin: 0;
}

h2 {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

ul {
  list-style-type: disc;
  padding-left: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

.company-name {
  font-size: 1.25rem;
  letter-spacing: -2px;
}

/* リンク */
a {
  color: #b51919;
  text-decoration: none;
  cursor: pointer;
}

a:visited {
  color: #6e0e0e;
}

a:hover {
  text-decoration: underline;
}

/* レイアウト */
.app {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 768px;
  margin: 0 auto;
  padding: 24px 48px;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.24) 0 0 16px;
  box-sizing: border-box;
}

.content {
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 100%;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* グリッドシステム */
.grid {
  display: grid;
  flex-wrap: wrap;
  justify-content: space-between;
}

.grid-column-1 {
  grid-template-columns: 1fr;
}
.grid-column-2 {
  grid-template-columns: 1fr 1fr;
}
.grid-column-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* 間隔ユーティリティ */
.gap-4 {
  gap: 4px;
}
.gap-8 {
  gap: 8px;
}
.gap-1rem {
  gap: 1rem;
}

/* コンポーネント：ナビゲーション */
.nav-spacer {
  display: block;
  width: 100%;
  height: 32px;
  background-repeat: repeat-x;
  background-image: url(../images/circle.svg);
  background-size: 24px 32px;
  background-position: left top;
}

/* コンポーネント：フッター */
.footer {
  font-family: "M PLUS Rounded 1c", serif;
  font-weight: 500;
  font-style: normal;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* コンポーネント：ボタン */
.button {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 1.5rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.button:link,
.button:visited {
  color: black;
}

.button:hover {
  color: #b51919;
  text-decoration: none;
}

/* コンポーネント：セクション */
.section {
  margin: 1rem 0.5rem;
  font-size: 0.8rem;
}

/* ユーティリティクラス */
.bg-default {
  background-color: #cac3bc;
  color: black;
}

.caption {
  margin-top: 4px;
  font-weight: 600;
  text-align: center;
  font-size: 0.9rem;
}

.item-center {
  align-items: center;
}

.item-center > * {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.width-70px {
  width: 85px;
  height: auto;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.width-100px {
  width: 100px;
  height: auto;
}

/* アーティスト写真：正方形クロップ（上揃え）＋表示幅100px */
.artist-photo {
  width: 100px;
  height: 100px; /* 300x300相当のクロップを100x100で表示 */
  object-fit: cover; /* 余白なくトリミング */
  object-position: top center; /* 上揃え */
  display: block;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* 既存の演出に合わせる */
}

/* ヘッダー固有のスタイル */
h1 a {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

h1 a:link,
h1 a:visited,
h1 a:hover {
  color: rgba(24, 24, 16);
  text-decoration: none;
}

h1 a span {
  transform: scaleX(0.95);
  transform-origin: left bottom;
}

h1 a img {
  width: 96px;
  height: 74px;
}

/* ホバーエフェクト */
.hover-effect {
  position: relative;
  display: inline-block;
}

/* 画像の輝度アップ（うっすら） */
.hover-effect img {
  transition: filter 0.18s ease-in-out;
}

.hover-effect:hover img {
  filter: brightness(1.08);
}

/* 画像スワップ機能（未使用のため無効化） */
.hover-effect[data-hover-src]::before {
  display: none;
}

/* レスポンシブスタイル */
@media (max-width: 740px) {
  .container {
    width: 100%;
    max-width: 360px;
    padding: 0;
  }

  .content,
  .nav-spacer,
  .footer {
    width: 100%;
  }

  .content {
    padding: 1rem;
  }

  .grid {
    grid-template-columns: 1fr !important;
  }

  .footer {
    flex-direction: column;
    align-items: center;
  }

  h1 a {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  h1 a img {
    margin-top: 0.5rem;
  }

  .button {
    font-size: 1.2rem;
    padding: 0.6rem 0;
  }
}
