
/* =============================
   ベース設定
   - 背景色や文字色の基本設定
   - 全体のフォント
============================= */
:root {
  --bg: #181818;          /* ページ全体の背景色 */
  --text: #eaeaea;        /* メインの文字色 */
  --muted: #b7b7b7;       /* サブの文字色（補助的に使用） */
  --accent: #bfbfbf;      /* 境界線やアクセントに使う色 */
  --maxw: 1100px;         /* コンテンツ幅の最大値 */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

.cursive {
  font-family: 'Great Vibes', 'Brush Script MT', 'Lucida Handwriting', cursive;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.serif {
  font-family: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'MS PMincho', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.7;
}
/* =============================
   ヘッダー
   - ページ上部に固定されるバー
   - 左にロゴ、右にナビゲーション
============================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12,12,12,.6); /* 透け感を強める */
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-wrap {
  margin-left: auto; /* ロゴの右に大きな余白を入れてナビを右端へ */
}

.logo img {
  height: 32px;
  width: auto;
  display: block; /* ロゴ画像 */
}

.logo img {
  transition: opacity 0.2s ease; /* フワッと変化させる */
}

.logo img:hover {
  opacity: 0.7; /* ホバー時に70%の濃さに */
}


/* =============================
   ナビゲーション
   - PC表示：横並び
   - SP表示：ハンバーガーメニュー
============================= */
.menu-btn {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-icon {
  position: relative;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .26s ease, top .26s ease, opacity .2s ease;
}

.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }

.nav {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  transition: color .25s ease;
}

/* ホバー時の下線アニメーション */
.nav a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
  opacity: .9;
}

.nav a:hover {
  color: #c7c7c7;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a .en {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
}

.nav a .jp {
  font-size: 10px;
  color: var(--muted);
}

/* スマホ時のナビ開閉 */
@media (max-width:960px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    width: min(92vw, 360px);
    background: rgba(20, 20, 20, .96);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    transform-origin: top right;
    transform: scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .site-header[data-open="true"] .nav {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .site-header[data-open="true"] .menu-icon { background: transparent; }
  .site-header[data-open="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }
  .site-header[data-open="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

/* =============================
   ヒーロー（スライドショー）
============================= */
.hero {
  position: relative; /* 子要素のabsolute配置の基準に */
}

.hero-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16/6;
  overflow: hidden;
}

/* 直下の子（<picture> でも <img> でもOK）をレイヤー化 */
.hero-slideshow > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* 画像は常にカバーで表示 */
.hero-slideshow picture img,
.hero-slideshow > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 表示中 */
.hero-slideshow > *.active { opacity: 1; z-index: 1; }

@media (max-width: 768px) {
  .hero-slideshow { aspect-ratio: 9 / 16; } /* 縦長 */
}

/* スクロールインジケータ */
.scroll-indicator {
  position: absolute;
  bottom: 20px;   /* 画像の下端から20px上 */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 70px;
  background: transparent;
  overflow: hidden;
  z-index: 5;     /* ヘッダーや画像より前面に出す */
}

.scroll-indicator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white; /* 白い線 */
  animation: scroll-line 3s infinite;
}

@keyframes scroll-line {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* =============================
   Biography セクション
============================= */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px 18px;
}

.biography {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.section h2 {
  text-align: center;
  margin: 36px 0 40px;
  font-size: 28px;
  letter-spacing: .12em;
}

.bio-left h3 {
  text-align: center;
  margin: 8px 0 18px;
  font-size: 24px;
  letter-spacing: .1em;
  font-weight: 700;
}

.bio-left p {
  margin: 0 0 50px;
  color: #ffffff;
  font-size: 15px;       /* お好みで 15〜16px くらい */
  line-height: 1.9;      /* 行間をゆったりめに */
  font-weight: 400;      /* 太さを標準に固定（太くなりすぎ防止） */
}

.bio-left p.small {
  font-size: 14px;
  color: var(--muted);
}

.bio-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.furigana {
  font-size: 0.7em;
  color: var(--muted);
  letter-spacing: -0.1em;
}

@media (max-width: 768px) {
  .biography {
    grid-template-columns: 1fr;  /* 1カラムにする */
  }

  .bio-photo {
    order: 1;  /* 写真を先に */
  }

  .bio-left {
    order: 2;  /* テキストを後に */
  }
}

/* =============================
   Mix 専用 追記
============================= */

/* Apple Music 埋め込みのブロック */
.white-section .playlist-embed{
  max-width: 760px;
  margin: 10px auto 40px;
  padding: 0 18px;
  text-align: center;
}

/* WORKS 表（白背景用） */
.white-section .works-table{
  max-width: 980px;
  margin: 10px auto 80px;
  padding: 0 18px;
}

.white-section .works-table table{
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid rgba(0,0,0,.16);
}

.white-section .works-table th,
.white-section .works-table td{
  border: 1px solid rgba(0,0,0,.16);
  padding: 12px 14px;
  color: #222;
  vertical-align: top;
  line-height: 1.7;
}

.white-section .works-table thead th{
  background: #f7f7f7;
  text-align: left;
  font-weight: 700;
}

.white-section .works-table td:first-child {
  word-break: keep-all;
  white-space: normal;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 640px){
  .white-section .works-table th, .white-section .works-table td{
    padding: 10px 12px;
  }
}

/* =============================
   フッター
============================= */
footer {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 18px 60px;
  text-align: center;
}

.socials {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 8px 0 16px;
}

.socials a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, .06);
}

.copyright {
  color: var(--muted);
  font-size: 12px;
}

/* ===== スクロール表示（reveal） ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
  /* 任意の遅延を渡せるカスタムプロパティ */
  transition-delay: var(--delay, 0s);
}

/* 表示状態 */
.reveal.show {
  opacity: 1;
  transform: none;
}

/* 動きを好まないユーザー配慮 */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 共通ボタン */
.btn-primary {
  display: inline-block; padding: 12px 22px; border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px; color: var(--text); text-decoration: none;
  transition: background-color .3s ease, transform .3s ease;
}
.btn-primary:hover { background: rgba(255,255,255,.08); transform: scale(1.03); }

.center { text-align: center; }
.right { text-align: right; }

/* ページトップへ戻るボタン（上矢印） */
.to-top{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--text, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background-color .25s ease;
}
.to-top:hover { background: rgba(255,255,255,.16); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* 小さめ画面の微調整 */
@media (max-width: 480px){
  .page-hero__inner{ padding: 28px 14px; }
  .lesson-flex{ gap: 24px 20px; }
}


/* =============================
   Lessons 専用 追記
============================= */

/* ページタイトル帯 */
.page-hero {
  background: var(--bg, #0c0c0c);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.page-hero__inner {
  max-width: var(--maxw, 1100px);
  margin: 0 auto;
  padding: 36px 18px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'MS PMincho', serif;
  font-weight: 700;      /* 太めに */
  letter-spacing: 0.05em; /* ちょい上品に */
  margin: 0 0 4px;
}
.page-hero .sub { margin: 0; color: rgba(255,255,255,.75); }

/* 背景白*/
.white-section { background: #fff; color: #222; width: 100%; }
.white-section .section { padding: 10px 20px; }
.white-section h2,
.white-section h3,
.white-section p,
.white-section li,
.white-section th,
.white-section td { color: #222; }

/* レッスン一覧 */
.lesson-flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 28px;
  max-width: 1200px;
  margin: 40px auto;
  padding-inline: 16px;
}

   .lesson-card {
    flex: 1 1 calc(33.333% - 28px);
    max-width: calc(33.333% - 28px);
    box-sizing: border-box;
  }
  
  /* タブレット: 2列 */
  @media (max-width: 1023px) {
    .lesson-card {
      flex: 1 1 calc(50% - 28px);
      max-width: calc(50% - 28px);
    }
  }
  
  /* SP: 1列 */
  @media (max-width: 599px) {
    .lesson-card {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }

/* 画像はカード幅にフィット */
.lesson-card__thumb img{
  display:block; width:100%; height:auto;
  object-fit:cover; border-radius:12px;
}

.lesson-card h3{ margin:12px 0 6px; font-size:18px; font-weight:700; }
.lesson-card .desc{ margin:0; color:#444; line-height:1.7; }

/* 料金テーブル */
.price-table{ max-width: 400px; margin: 26px auto 48px;}
.price-table table{ width: 100%; border-collapse: collapse; }
.price-table tr {
  height: 60px;
}
.price-table th, .price-table td{
  border: 1px solid rgba(0,0,0,.22);
  padding: 14px 16px;
  text-align: left; vertical-align: middle; color: #222;
}
.price-table th{   width: 32%;
  white-space: nowrap;}
  @media (max-width: 768px) {
    .price-table th {
      width: auto;
    }
  }
.price-table .small, .price-table .note{ color: #666; }

.price-text h3{
  margin: 12px 0 6px;
}
.price-text p {
  margin-bottom: 36px; 
}
/* 料金表：数字・円・税込の整形 */
.price-table td {
  white-space: nowrap; /* 折り返さない */
}

/* 数字（6,500）を強調 */
.price-table .price {
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
  min-width: 70px;
  text-align: right;
}

/* 円の位置を固定幅にして揃える */
.price-table .yen {
  display: inline-block;
  width: 24px;
  text-align: left;
}

/* 税込を小さく */
.price-table .tax {
  font-size: 0.85em;
  color: #666;
  margin-left: -4px;
}

/* 白背景用のボタン */
.white-section .btn-primary{
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  background: #0c0c0c;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  border: none;
  margin-bottom: 48px;
}
.white-section .btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.1);
  transition: left .4s ease;
}

.white-section .btn-primary:hover::after {
  left: 0; 
}

.white-section .btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

/* フッターは黒に戻す*/
footer{
  background: var(--bg, #0c0c0c);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner{
  max-width: var(--maxw, 1100px);
  margin: 0 auto;
  padding: 28px 18px 60px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; text-align: center;
}
.socials{ display: flex; gap: 12px; flex-wrap: wrap; }
.socials a{
  display: inline-flex; width: 42px; height: 42px; border-radius: 999px;
  align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.28);
  transition: background-color .25s ease, transform .25s ease;
}
.socials a:hover{ background: rgba(255,255,255,.12); transform: scale(1.06); }

/* =============================
   Singer 専用 追記
============================= */
/* ヒーロー画像 */
.singer-hero {
  max-width: var(--maxw, 1100px);
  margin: 24px auto 0;
  padding: 0 18px;
  position: relative;
}

.singer-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

/* 左右を溶け込ませるグラデーション */
.singer-hero::before,
.singer-hero::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  pointer-events: none;
}

.singer-hero::before {
  left: 0;
  background: linear-gradient(to right, #181818 0%, transparent 100%);
}

.singer-hero::after {
  right: 0;
  background: linear-gradient(to left, #181818 0%, transparent 100%);
}
/* リード文 */
.singer-main{ background: var(--bg, #0c0c0c); } 
.singer-copy-wrap{ max-width: 760px; margin: 48px auto 48px; padding: 0 18px; }
.singer-copy{
  text-align: center;
  color: rgba(255,255,255,.82);
  letter-spacing: .04em;
  line-height: 1.8;
  font-size: 16px;
}

/* LinkCore 埋め込み（レスポンシブ） */
.singer-embed{ margin: 18px 0 60px; }
.embed-linkcore{
  max-width: 420px;   /* デザインのカード幅に合わせる */
  margin: 10px auto 0;
  padding: 0 18px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.35));
}
.embed-linkcore iframe{
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #111;   /* 読み込み中の背景 */
}

/* =============================
   Contact 専用 追記
============================= */
.contact-main{
  background: #fff;
  color: #222;
  padding: 36px 0 64px;
}
.contact-main h2 {
  font-family: sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block; /* ← 文字幅に合わせるため必須！ */
  padding-bottom: 5px;   /* 文字と線の間の余白 */
}
.contact-main h2::after {
  content: "";
  position: absolute;
  left: -5px;     /* ← 左に5pxはみ出す */
  bottom: 0;
  width: calc(100% + 10px);  /* ← 全体を10px広げる */
  height: 4px;
  background: #9e9e9e;
}
/* リード文 */
.contact-lead{
  max-width: 820px;
  margin: 0 auto 22px;
  padding: 0 18px;
  text-align: center;
  color: #333;
  line-height: 1.9;
  letter-spacing: .06em;
}
.br-sp{ display:none; }
@media (max-width: 600px){ .br-sp{ display:inline; } }

.contact-form-block p.small {
  font-size: 14px;
  color: #555;
}

/* SNS */
.contact-sns{ margin: 22px auto 50px; text-align: center; }
.contact-sns h2{ margin: 0 0 10px; font-size: 20px; letter-spacing: .12em; }
.sns-list{
  list-style:none;
  padding:0;
  margin: 8px 0 0;
  display:flex;          /* ← inline-flex を flex に変更 */
  flex-direction:column;
  gap:10px;
}
.sns-list a{
  color:#222; text-decoration:none; display:inline-flex; gap:10px;
  align-items:center; padding:6px 10px; border-radius:8px;
  transition: background-color .25s ease, transform .25s ease;
}
.sns-list a:hover{
  background: rgba(0,0,0,.06);
  transform: translateY(-1px);
}
.sns-label{ opacity:.8; }
.sns-id{ font-weight:600; }

/* フォームブロック */
.contact-form-block{
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px;
  text-align: center;
}
.contact-form-block h2{ margin: 10px 0 8px; font-size: 22px; letter-spacing: 0.01.em; }
.contact-form-block .note{
  color: #555;
}

/* Googleフォーム埋め込み（Contact） */
.contact-form-block .form-embed {
  max-width: 640px;
  margin: 0 auto;
}

/* PC版：スクロールを出さない（高さを十分に確保） */
.contact-form-block .form-embed iframe {
  width: 100%;
  height: 1800px; /* ← 1500 だと不足しやすいので 1800 に増やす */
  border: 0;
  overflow: hidden; /* 念のため */
}

/* SP版：高さをもっと増やす（スマホは縦が長くなる） */
@media (max-width: 768px) {
  .contact-form-block .form-embed iframe {
    height: 2000px; /* 必要なら2100〜2400にも調整OK */
  }
}

/* 白背景用のアウトラインボタン */
.btn-ghost{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  color: #222;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.35);
  transition: background-color .25s ease, transform .25s ease, border-color .25s ease;
}
.btn-ghost:hover{
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.5);
  transform: translateY(-2px);
}

/* =============================
   Remake / 準備中ページ
============================= */
.coming-main {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg, #181818);
  color: var(--text, #eaeaea);
}

.coming-main .section {
  text-align: center;
}

.coming-title {
  font-size: 40px;
  margin: 0 0 18px;
  letter-spacing: 0.12em;
}

.coming-text {
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(234,234,234,.9);
}

/* SPで少しサイズ調整 */
@media (max-width: 768px) {
  .coming-title {
    font-size: 32px;
  }
  .coming-text {
    font-size: 14px;
    padding: 0 8px;
  }
}
/* =============================
   Composer / Arranger page
============================= */
.composer-page {
  background: #fff;
  color: #222;
}

.composer-intro {
  padding-top: 44px;
}

.composer-lead {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.9;
  color: #333;
}

.applemusic-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.works-table-inner {
  overflow-x: auto;
}

.works-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid rgba(0,0,0,.14);
}

.works-table th,
.works-table td {
  border: 1px solid rgba(0,0,0,.14);
  padding: 12px 14px;
  color: #222;
  line-height: 1.75;
  vertical-align: top;
  text-align: left;
}

.works-table thead th {
  background: #f7f7f7;
  font-weight: 700;
}

.works-table th:nth-child(1),
.works-table td:nth-child(1) {
  min-width: 220px;
}

.works-table th:nth-child(2),
.works-table td:nth-child(2) {
  width: auto;
  white-space: nowrap;
}

.works-table th:nth-child(3),
.works-table td:nth-child(3) {
  text-align: center;
}

.composer-cta {
  padding-top: 10px;
  padding-bottom: 72px;
}

.composer-cta-text {
  margin-bottom: 20px;
  color: #444;
  line-height: 1.9;
}
.work-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.music-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity .2s ease, transform .2s ease;
  text-decoration: none;
}

.music-link:hover {
  opacity: 1;
  transform: scale(1.15);
}

.music-icon {
  width: 100%;
  height: 100%;
  fill: #a967d4;
}
.music-link::after {
  content: "Listen";
  position: absolute;
  bottom: -10px;
  font-size: 10px;
  color: #666;
  opacity: 0;
  transition: opacity .2s ease;
}

.music-link:hover::after {
  opacity: 1;
}
@media (max-width: 768px) {
  .works-table th,
  .works-table td {
    padding: 10px 12px;
    font-size: 14px;
  }

  .applemusic-wrap iframe {
    height: 420px;
  }

  .music-link {
    transform: scale(1.15);   /* ←ホバー状態を再現 */
    opacity: 1;
  }

  .music-link::after {
    opacity: 1;              /* ←常に表示 */
    display: block;
    margin-top: 2px;
    text-align: center;
  }
  
}
@media (max-width: 768px) {
  .works-table th,
  .works-table td {
    padding: 10px 12px;
    font-size: 14px;
  }

  .applemusic-wrap iframe {
    height: 420px;
  }

  .music-link {
    transform: scale(1.15);
    opacity: 1;
  }

  .music-link::after {
    opacity: 1;
    display: block;
    margin-top: 2px;
    text-align: center;
  }
}

/* =============================
   Keyboardist collage gallery
============================= */
.keyboardist-gallery {
  width: 100%;
  padding: 18px 18px 0;
  box-sizing: border-box;
}

.keyboardist-filmstrip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 54px;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.tile {
  position: relative;
  overflow: hidden;
  background: #111;
  margin: 0;
}

.tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(.9);
  transition: transform .45s ease, filter .3s ease;
}

.tile:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* レイアウト */
.t1  { grid-column: span 2; grid-row: span 2; }
.t2  { grid-column: span 3; grid-row: span 3; }
.t3  { grid-column: span 2; grid-row: span 4; }
.t4  { grid-column: span 3; grid-row: span 3; }
.t5  { grid-column: span 2; grid-row: span 4; }
.t6  { grid-column: span 4; grid-row: span 3; }
.t7  { grid-column: span 5; grid-row: span 3; }
.t8  { grid-column: span 3; grid-row: span 2; }
.t9  { grid-column: span 3; grid-row: span 2; }
.t10 { grid-column: span 2; grid-row: span 3; }
.t11 { grid-column: span 4; grid-row: span 3; }
.t12 { grid-column: span 3; grid-row: span 2; }

/* 画像ごとの見せ位置 */
.t1 img  { object-position: center 42%; }
.t2 img  { object-position: center 40%; }
.t3 img  { object-position: center 28%; }
.t4 img  { object-position: center 34%; }
.t5 img  { object-position: center 40%; }
.t6 img  { object-position: center 38%; }
.t7 img  { object-position: center 52%; }
.t8 img  { object-position: center 55%; }
.t9 img  { object-position: center 30%; }
.t10 img { object-position: center 38%; }
.t11 img { object-position: center 48%; }
.t12 img { object-position: center 24%; }

/* タブレット */
@media (max-width: 960px) {
  .keyboardist-filmstrip {
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: 48px;
    gap: 7px;
  }

  .t1, .t2, .t3, .t4, .t5, .t6, .t7, .t8, .t9, .t10, .t11, .t12 {
    grid-column: span 2;
  }

  .t2, .t4, .t6, .t11 {
    grid-column: span 4;
  }

  .t3, .t5 {
    grid-row: span 3;
  }
}

/* スマホ */
@media (max-width: 640px) {
  .keyboardist-gallery {
    padding: 14px 12px 0;
  }

  .keyboardist-filmstrip {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 56px;
    gap: 6px;
  }

  .t1, .t8, .t9, .t10, .t12 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .t2, .t4, .t6, .t11 {
    grid-column: span 4;
    grid-row: span 3;
  }

  .t3, .t5, .t7 {
    grid-column: span 2;
    grid-row: span 3;
  }
}