/* =============================================
   竹内健人 オフィシャルサイト
   Black × White × Gold アクセント
============================================= */

:root {
  --black:      #0a0a0a;
  --black-mid:  #141414;
  --black-soft:  #1c1c1c;
  --gray-dark:  #2a2a2a;
  --gray:       #888888;
  --gray-light: #b0b0b0;
  --white:      #f5f5f5;
  --white-pure: #ffffff;
  --gold:       #C9A030;
  --gold-light: #E8C864;
  --gold-pale:  rgba(201,160,48,0.12);
  --font-en:    "Helvetica Neue", "Arial", sans-serif;
  --font-ja:    "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --shadow:     0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.5);
  --radius:     4px;
  --radius-lg:  8px;
  --transition: 0.3s ease;
  --max-width:  1100px;
}

/* =========== Reset & Base =========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ja);
  color: var(--white);
  background: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

.inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========== ヘッダー =========== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-name {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}
.header-name span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gray);
  margin-top: 1px;
}

/* ナビゲーション */
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.btn-contact {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--gold);
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.btn-contact:hover {
  background: var(--gold-light);
  color: var(--black) !important;
}

/* モバイルメニュー */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* =========== ヒーロー =========== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.45);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 33, 55, 0.5);
}
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 80px;
  width: 100%;
}
.hero-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white-pure);
  margin-bottom: 8px;
}
.hero-title-ja {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--gray-light);
  margin-bottom: 24px;
}
.hero-tagline {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 560px;
}
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0.3); transform-origin: top; }
}

/* =========== セクション共通 =========== */
section { padding: 100px 0; }
.section-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.section-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 32px;
}
.section-desc {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.9;
  max-width: 640px;
}

/* =========== プロフィール =========== */
#profile { background: var(--black-mid); }
.profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}
.profile-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.profile-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
}
.profile-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10,10,10,0.6), transparent);
}
.profile-name {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.profile-name-ja {
  font-size: 14px;
  color: var(--gray-light);
  margin-bottom: 6px;
}
.profile-ranking {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-light);
  margin-bottom: 12px;
}
.ranking-num {
  font-size: 18px;
  font-weight: 800;
  color: #e85050;
}
.profile-titles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.profile-titles .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(201,160,48,0.3);
  color: var(--gold-light);
  background: var(--gold-pale);
}
.profile-bio {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
}
.profile-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.info-block h4 {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.info-block p, .info-block li {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
}
.info-block ul { padding: 0; }
.info-block li {
  padding-left: 16px;
  position: relative;
}
.info-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

/* =========== 資格・免許 =========== */
/* 経歴テーブル */
.career-history-table {
  width: 100%;
  border-collapse: collapse;
}
.career-history-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.career-history-table tr:last-child {
  border-bottom: none;
}
.career-history-table td {
  padding: 10px 0;
  font-size: 13px;
  color: var(--gray-light);
  vertical-align: top;
}
.ch-org {
  font-weight: 600;
  color: var(--white);
  padding-right: 16px;
}
.ch-role {
  font-size: 12px;
  color: var(--gray-mid);
  padding-right: 16px;
  white-space: nowrap;
}
.ch-period {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
}

.profile-credentials {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-dark);
}
.credentials-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.credential-group h5 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.credential-group ul {
  padding: 0;
  list-style: none;
}
.credential-group li {
  font-size: 13px;
  color: var(--gray-light);
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}
.credential-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--gold);
}
.cert-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cert-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-dark);
  text-align: center;
  background: var(--black-mid);
}
.cert-card img {
  width: 100%;
  object-fit: contain;
  background: var(--black-mid);
  padding: 8px;
}
.cert-card span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-light);
  padding: 6px 4px;
}

/* =========== 実績 =========== */
#career { background: var(--black); }
.career-timeline {
  position: relative;
  padding-left: 32px;
}
.career-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,160,48,0.1));
}
.career-item {
  position: relative;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.career-item:last-child { border-bottom: none; margin-bottom: 0; }
.career-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,160,48,0.15);
}
.career-year {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.career-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.career-detail {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
}
.career-highlight {
  color: var(--gold-light);
  font-weight: 600;
}
.career-silver {
  color: #b0b8c8;
  font-weight: 700;
}

/* =========== 表彰写真 =========== */
.career-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.career-photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}
.career-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.85);
}
.career-photo:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}
.career-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 0.04em;
}

/* =========== ギャラリー =========== */
#gallery { background: var(--black-mid); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  font-size: 12px;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* =========== 活動内容 =========== */
#activities { background: var(--black); }

/* 活動ブロック（テキスト＋写真の横並び） */
.act-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
.act-block:last-child { margin-bottom: 0; }
.act-block--reverse { direction: rtl; }
.act-block--reverse > * { direction: ltr; }
.act-heading {
  font-family: var(--font-en), var(--font-ja);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 12px;
}
.act-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.act-desc {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.9;
  margin-bottom: 16px;
}
.act-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.act-link:hover { color: var(--gold-light); }

/* 写真グリッド（メイン1枚＋サブ2枚） */
.act-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}
.act-photo {
  border-radius: var(--radius);
  overflow: hidden;
}
.act-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.9);
}
.act-photo:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}
.act-photo.main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.act-photo.sub {
  aspect-ratio: 4 / 3;
}
.act-photo--logo {
  background: var(--black-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.act-photo--logo img {
  object-fit: contain;
  filter: brightness(1);
}
.act-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

/* 活動ブロック内の動画 */
.act-videos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.act-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9 / 16;
}
.act-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 音声トグルボタン */
.video-sound-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}
.video-sound-btn:hover { background: rgba(0,0,0,0.85); }
.video-sound-btn .icon-unmuted { display: none; }
.video-sound-btn.unmuted .icon-muted { display: none; }
.video-sound-btn.unmuted .icon-unmuted { display: block; }

.act-video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 0.04em;
}

/* =========== お問い合わせ =========== */
#contact {
  background: var(--black-mid);
  border-top: 1px solid rgba(255,255,255,0.04);
}
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-content .section-label,
.contact-content .section-title,
.contact-content .section-divider {
  text-align: center;
}
.contact-content .section-divider { margin: 0 auto 32px; }
.contact-desc {
  font-size: 15px;
  color: var(--gray-light);
  line-height: 1.9;
  margin-bottom: 40px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  background: var(--gold);
  padding: 16px 40px;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.04em;
}
.btn-primary-lg:hover {
  background: var(--gold-light);
  color: var(--black) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,160,48,0.3);
}
.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 36px;
  border-radius: var(--radius);
  transition: all var(--transition);
  letter-spacing: 0.04em;
}
.btn-outline-lg:hover {
  border-color: var(--gold);
  color: var(--gold-light) !important;
}

/* =========== フッター =========== */
#footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 20px;
  color: var(--gray);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-copy {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.footer-bottom {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-academy {
  font-size: 13px;
  color: var(--gray);
}
.footer-academy a {
  color: var(--gold);
  font-weight: 600;
}

/* =========== メディア掲載・出演 =========== */
.media-sub-heading {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  color: var(--white);
}
.media-lead {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ニュースカード */
.media-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.media-news-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--black-soft);
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--white);
  transition: border-color var(--transition), transform var(--transition);
}
.media-news-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.media-news-year {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.media-news-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--gold-pale);
  color: var(--gold-light);
  letter-spacing: 0.04em;
}
.media-news-badge--gold {
  background: var(--gold);
  color: var(--black);
}
.media-news-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.media-news-detail {
  font-size: 13px;
  color: var(--gray-light);
  line-height: 1.7;
}
.media-news-source {
  font-size: 12px;
  color: var(--gray);
  margin-top: auto;
  padding-top: 4px;
}
.media-news-card:hover .media-news-source {
  color: var(--gold-light);
}

/* YouTube */
.media-yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.media-yt-card {
  display: block;
  background: var(--black-soft);
  border: 1px solid var(--gray-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}
.media-yt-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.media-yt-thumb {
  position: relative;
  overflow: hidden;
}
.media-yt-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--transition);
}
.media-yt-card:hover .media-yt-thumb img {
  transform: scale(1.03);
}
.media-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(0,0,0,0.7);
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  padding-left: 3px;
  transition: background var(--transition), border-color var(--transition);
}
.media-yt-card:hover .media-yt-play {
  background: rgba(201,160,48,0.85);
  border-color: var(--gold-light);
}
.media-yt-info {
  padding: 16px 20px 20px;
}
.media-yt-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 6px;
}
.media-yt-channel {
  font-size: 12px;
  color: var(--gray);
}

/* =========== アニメーション =========== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========== レスポンシブ =========== */
@media (max-width: 900px) {
  .media-news-grid { grid-template-columns: 1fr; }
  .media-yt-grid { grid-template-columns: 1fr; }
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .profile-photo {
    max-width: 320px;
  }
  .act-block {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .credentials-grid { grid-template-columns: 1fr; }
  .cert-images { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  /* モバイルナビ */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transition: right var(--transition);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 14px; }
  .mobile-toggle { display: flex; z-index: 1001; }
  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }
  .mobile-overlay.open { display: block; }

  #hero { min-height: 75vh; }
  .hero-content { padding: 0 0 48px; }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profile-photo { max-width: 260px; }
  .profile-info-grid { grid-template-columns: 1fr; }
  .career-history-table td { display: block; padding: 2px 0; }
  .career-history-table tr { padding: 10px 0; display: block; }
  .ch-period { text-align: left; }

  .act-block {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }
  .act-block--reverse { direction: ltr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 1; }

  .career-timeline { padding-left: 24px; }
  .career-item::before { left: -28px; }
  .career-photos { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .header-name { font-size: 15px; }
  .header-name span { font-size: 9px; }
  #hero { min-height: 70vh; }
  .hero-content { padding: 0 24px 40px; }
}
