/* tcgpro.co.jp /company/ — minimal typography-forward style (my-best inspired) */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Noto+Sans+JP:wght@500;700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "Meiryo", sans-serif;
  color: #111;
  line-height: 1.9;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
}
a { color: inherit; text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .5; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: .01em; line-height: 1.35; margin: 0; color: #111; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

/* Container */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.wrap--wide { max-width: 1160px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.site-header__inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.site-header__logo-mark {
  display: block;
  width: 22px;
  height: 30px;
  flex-shrink: 0;
}
.site-header__logo-text {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic StdN", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", sans-serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .08em;
  color: #0F0F0F;
  line-height: 1;
}
.site-nav { display: flex; gap: 32px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
@media (max-width: 780px) {
  .site-nav { display: none; }
  .site-header__inner { padding: 16px 20px; }
}

/* Hero — large, text-only, generous whitespace */
.hero {
  padding: 160px 24px 140px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  overflow: hidden;
}

/* ----- Hero card (holo/pokeka-inspired) — light palette + dynamic motion ----- */
.hero-card {
  position: absolute;
  right: 6%;
  bottom: 48px;
  width: 150px;
  aspect-ratio: 5 / 7;
  transform: rotate(8deg);
  filter: drop-shadow(0 14px 36px rgba(0,0,0,0.12));
  pointer-events: none;
  opacity: 0;
  animation: cardIn 1.4s cubic-bezier(.2,.8,.2,1) 1.6s forwards,
             cardDance 5s ease-in-out 3s infinite;
  will-change: transform, opacity;
}
.hero-card__svg { width: 100%; height: 100%; display: block; }

/* holographic color cycling — faster, wider swing */
.hero-card__holo {
  animation: holoShift 3.5s linear infinite;
  transform-origin: center;
}

/* shimmer sweep — multiple passes with offset */
.hero-card__shimmer {
  animation: shimmerSweep 2.2s ease-in-out infinite;
}
.hero-card__shimmer--delay {
  animation: shimmerSweep 2.2s ease-in-out 1.1s infinite;
}

/* sparkles */
.hero-card__sparkle {
  transform-origin: center;
  animation: sparklePulse 1.8s ease-in-out infinite;
}
.hero-card__sparkle--2 { animation-delay: .6s; }
.hero-card__sparkle--3 { animation-delay: 1.2s; }

@keyframes cardIn {
  0%   { opacity: 0; transform: rotate(-6deg) translateY(60px) scale(.8); }
  60%  { opacity: 1; transform: rotate(14deg) translateY(-18px) scale(1.04); }
  100% { opacity: 1; transform: rotate(8deg)  translateY(0)    scale(1); }
}

/* card dance — wider rotation + bob + subtle scale pulse */
@keyframes cardDance {
  0%   { transform: rotate(8deg)  translateY(0)    scale(1); }
  25%  { transform: rotate(14deg) translateY(-16px) scale(1.02); }
  50%  { transform: rotate(4deg)  translateY(-4px)  scale(1); }
  75%  { transform: rotate(12deg) translateY(-12px) scale(1.03); }
  100% { transform: rotate(8deg)  translateY(0)    scale(1); }
}

/* mobile: card dances below text, centered */
@media (max-width: 780px) {
  @keyframes cardIn {
    0%   { opacity: 0; transform: translateX(-50%) rotate(-6deg) translateY(60px) scale(.8); }
    60%  { opacity: 1; transform: translateX(-50%) rotate(14deg) translateY(-18px) scale(1.04); }
    100% { opacity: 1; transform: translateX(-50%) rotate(8deg)  translateY(0)    scale(1); }
  }
  @keyframes cardDance {
    0%   { transform: translateX(-50%) rotate(8deg)  translateY(0)    scale(1); }
    25%  { transform: translateX(-50%) rotate(14deg) translateY(-14px) scale(1.02); }
    50%  { transform: translateX(-50%) rotate(4deg)  translateY(-4px)  scale(1); }
    75%  { transform: translateX(-50%) rotate(12deg) translateY(-10px) scale(1.03); }
    100% { transform: translateX(-50%) rotate(8deg)  translateY(0)    scale(1); }
  }
}

@keyframes holoShift {
  0%   { filter: hue-rotate(0deg)   saturate(1.2) brightness(1.02); }
  25%  { filter: hue-rotate(90deg)  saturate(1.4) brightness(1.05); }
  50%  { filter: hue-rotate(180deg) saturate(1.2) brightness(1.02); }
  75%  { filter: hue-rotate(270deg) saturate(1.4) brightness(1.05); }
  100% { filter: hue-rotate(360deg) saturate(1.2) brightness(1.02); }
}

@keyframes shimmerSweep {
  0%   { transform: translateX(-140%); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateX(140%);  opacity: 0; }
}

@keyframes sparklePulse {
  0%, 100% { opacity: 0; transform: scale(.5) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1.2) rotate(45deg); }
}

@media (max-width: 1100px) {
  .hero-card { width: 120px; right: 24px; bottom: 24px; }
}
@media (max-width: 780px) {
  .hero-card { width: 96px; right: auto; left: 50%; bottom: 36px; transform: translateX(-50%) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-card { animation: none; opacity: 1; transform: rotate(8deg); }
  .hero-card__holo, .hero-card__shimmer, .hero-card__shimmer--delay, .hero-card__sparkle { animation: none; }
}
.hero__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .3em;
  color: #111; margin-bottom: 32px;
  text-transform: uppercase;
}
.hero__title {
  font-size: 56px;
  line-height: 1.3;
  margin-bottom: 40px;
  letter-spacing: .02em;
}
.hero__sub {
  font-size: 16px;
  line-height: 2;
  color: #333;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 780px) {
  .hero { padding: 100px 20px 200px; }
  .hero__title { font-size: 32px; line-height: 1.4; }
  .hero__sub { font-size: 15px; }
}

/* Page head (non-hero) */
.page-head {
  max-width: 960px; margin: 0 auto;
  padding: 120px 24px 60px;
  border-bottom: 1px solid #111;
}
.page-head__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .3em;
  color: #111; margin-bottom: 24px;
}
.page-head__title {
  font-size: 48px;
  letter-spacing: .02em;
}
@media (max-width: 780px) {
  .page-head { padding: 72px 20px 32px; }
  .page-head__title { font-size: 28px; }
}

/* Section — full-width horizontal divider style */
.section {
  max-width: 960px; margin: 0 auto;
  padding: 100px 24px;
}
.section--tight { padding: 60px 24px; }
.section + .section { border-top: 1px solid #e5e5e5; }
@media (max-width: 780px) {
  .section { padding: 72px 20px; }
}

.section__heading {
  font-size: 32px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid #111;
  letter-spacing: .02em;
}
.section__lead {
  font-size: 17px;
  line-height: 2.1;
  color: #333;
}
@media (max-width: 780px) {
  .section__heading { font-size: 22px; margin-bottom: 32px; }
  .section__lead { font-size: 15px; }
}

/* Numbered / titled sub-blocks (my-best culture pattern) */
.block {
  padding: 40px 0;
  border-bottom: 1px solid #e5e5e5;
}
.block:last-child { border-bottom: none; }
.block__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #111;
  margin-bottom: 12px;
}
.block__title {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.block__sub {
  font-size: 13px;
  color: #666;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.block__body {
  font-size: 16px;
  line-height: 2.1;
  color: #333;
}
.block__body + .block__body { margin-top: 20px; }
@media (max-width: 780px) {
  .block__title { font-size: 19px; }
  .block__body { font-size: 15px; }
}

/* Profile table */
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td {
  padding: 28px 16px;
  text-align: left; vertical-align: top;
  border-bottom: 1px solid #e5e5e5;
  font-size: 15px;
  line-height: 1.9;
}
.profile-table tr:first-child th, .profile-table tr:first-child td {
  border-top: 1px solid #111;
}
.profile-table th { width: 200px; font-weight: 700; color: #111; }
.profile-table td { color: #333; }
.profile-table td a { border-bottom: 1px solid #bbb; padding-bottom: 1px; transition: border-color .2s; }
.profile-table td a:hover { border-bottom-color: #111; opacity: 1; }

/* 役員 inline layout — 岸田と甲斐を密接して並べる */
.officer {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-right: 28px;
  white-space: nowrap;
}
.officer:last-child { margin-right: 0; }
.officer__role {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  letter-spacing: .04em;
}
@media (max-width: 780px) {
  .officer { display: flex; margin-right: 0; margin-bottom: 10px; }
  .officer:last-child { margin-bottom: 0; }
}
@media (max-width: 780px) {
  .profile-table th, .profile-table td { display: block; width: 100%; padding: 8px 0; border-bottom: none; }
  .profile-table tr { display: block; padding: 20px 0; border-bottom: 1px solid #e5e5e5; }
  .profile-table tr:first-child th, .profile-table tr:first-child td { border-top: none; }
  .profile-table tr:first-child { border-top: 1px solid #111; }
  .profile-table th { font-size: 12px; color: #666; font-weight: 600; letter-spacing: .04em; margin-bottom: 4px; }
}

/* News list */
.news-list {}
.news-item {
  display: flex; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #e5e5e5;
  align-items: baseline;
}
.news-item:first-child { border-top: 1px solid #111; }
.news-item__date { flex: 0 0 120px; font-size: 13px; color: #666; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.news-item__tag { flex: 0 0 auto; display: inline-block; padding: 4px 12px; font-size: 11px; font-weight: 700; background: #f5f5f5; color: #333; letter-spacing: .06em; }
.news-item__title { font-size: 15px; line-height: 1.8; }
@media (max-width: 780px) {
  .news-item { flex-wrap: wrap; gap: 8px; }
  .news-item__date { flex: 0 0 100%; }
}

/* Timeline (career history) */
.timeline { padding: 0; }
.timeline__item {
  display: flex; gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
  align-items: baseline;
}
.timeline__item:first-child { border-top: 1px solid #111; }
.timeline__year {
  flex: 0 0 120px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #111;
}
.timeline__body {
  font-size: 15px;
  line-height: 2;
  color: #333;
}
@media (max-width: 780px) {
  .timeline__item { flex-wrap: wrap; gap: 8px; padding: 20px 0; }
  .timeline__year { flex: 0 0 100%; font-size: 14px; color: #666; }
}

/* SNS links — minimal, text-only */
.sns-links {}
.sns-link {
  display: flex; align-items: baseline; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
}
.sns-link:first-child { border-top: 1px solid #111; }
.sns-link__label { font-size: 18px; font-weight: 700; letter-spacing: .04em; flex: 0 0 160px; }
.sns-link__handle { font-size: 14px; color: #666; flex: 1; }
.sns-link__arrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; }

/* Breadcrumb */
.breadcrumb {
  max-width: 960px; margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 12px; color: #666;
  letter-spacing: .04em;
}
.breadcrumb a { color: #666; }
.breadcrumb span { margin: 0 10px; color: #ccc; }

/* Quote / emphasized text block — thin left rule, no bg */
.quote {
  border-left: 3px solid #111;
  padding: 8px 0 8px 32px;
  margin: 48px 0;
  font-size: 17px;
  line-height: 2.1;
  color: #111;
}

/* Signature (代表挨拶) */
.signature {
  margin-top: 72px;
  text-align: right;
  font-size: 14px;
  line-height: 2;
  color: #333;
  letter-spacing: .04em;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 60px 24px 48px;
  font-size: 13px;
  color: #666;
}
.site-footer__inner { max-width: 1160px; margin: 0 auto; }
.site-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid #e5e5e5; }
.site-footer__brand { font-weight: 700; color: #111; font-size: 15px; letter-spacing: .06em; }
.site-footer__links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; }
.site-footer__copy { padding-top: 24px; font-size: 12px; color: #999; letter-spacing: .04em; }

/* Filled-bar section heading (記事カード用) */
.section__heading--filled {
  background: #111;
  color: #fff;
  display: block;
  padding: 18px 24px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  border: none;
  margin-bottom: 32px;
  line-height: 1.4;
}
@media (max-width: 780px) {
  .section__heading--filled { font-size: 17px; padding: 14px 18px; }
}

/* Article card list */
.article-list { display: grid; gap: 20px; }
.article-card {
  display: block;
  padding: 26px 32px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  background: #fff;
}
.article-card:hover {
  opacity: 1;
  border-color: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.article-card__thumb {
  flex: 0 0 136px;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
}
.article-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card__body { flex: 1; min-width: 0; }
.article-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.55;
  color: #111;
}
.article-card__excerpt {
  font-size: 13.5px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__source {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
.article-card__source::before { content: "🔖"; filter: grayscale(1); opacity: .5; font-size: 11px; }

/* Synthetic hatena-blog-style placeholder thumb */
.synthetic-thumb {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 10px 8px 6px;
  text-align: center;
  background: #fff;
  border: 1px solid #d4dbe3;
  box-sizing: border-box;
}
.synthetic-thumb__header {
  background: #1e2b4c;
  color: #fff;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: .04em;
  padding: 3px 0;
  margin: -10px -8px 8px;
  font-family: "Space Grotesk", sans-serif;
}
.synthetic-thumb__title {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  color: #1e2b4c;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.3;
  padding: 4px 2px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.synthetic-thumb__source {
  color: #1e2b4c;
  font-size: 7.5px;
  border-top: 1px solid #1e2b4c;
  padding-top: 4px;
  line-height: 1.3;
}

@media (max-width: 780px) {
  .article-card { padding: 20px 22px; }
}

/* Utilities */
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }
.text-small { font-size: 14px; color: #666; }

/* ==================================================
   Motion — anycolor-inspired character stagger & reveal
   ================================================== */

/* Hero title: per-character reveal */
[data-split] .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  transition:
    opacity 0.7s cubic-bezier(.2,.8,.2,1),
    transform 0.9s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--i, 0) * 35ms);
  will-change: opacity, transform;
}
[data-split].is-loaded .char {
  opacity: 1;
  transform: translateY(0);
}

/* Hero subtitle / tag: delayed fade-in */
.hero__tag {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(.2,.8,.2,1) 0.15s forwards;
}
.hero__sub {
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(.2,.8,.2,1) 0.9s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal — fade up on IntersectionObserver hit */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children when container carries [data-reveal-stagger] */
[data-reveal-stagger] > [data-reveal] {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* Nav link underline grow on hover */
.site-nav a { position: relative; padding-bottom: 6px; }
.site-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: #111;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* "Read more" underline link hover */
.link-underline {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  padding-bottom: 6px;
  position: relative;
}
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: #111;
  transform-origin: right;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.link-underline:hover { opacity: 1; }
.link-underline:hover::after {
  transform: scaleX(0);
  transform-origin: left;
}

/* SNS link hover — shift arrow */
.sns-link { transition: background .3s ease, padding .4s ease; }
.sns-link__arrow { transition: transform .4s cubic-bezier(.2,.8,.2,1); display: inline-block; }
.sns-link:hover { opacity: 1; padding-left: 8px; }
.sns-link:hover .sns-link__arrow { transform: translateX(6px); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-split] .char,
  [data-reveal],
  .hero__tag,
  .hero__sub,
  .site-nav a::after,
  .link-underline::after,
  .sns-link,
  .sns-link__arrow {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
