/* ==========================================================================
   清水桂太 個人サイト
   AIを、もっと身近に。
   ========================================================================== */

/* ----- Variables ----- */
:root {
  /* Color */
  --bg-base: #f7fafd;
  --bg-elevated: #ffffff;
  --bg-section-alt: #eef4fb;
  --border-subtle: rgba(20, 50, 95, 0.10);
  --border-soft: rgba(20, 50, 95, 0.05);

  --text-primary: #102a4d;        /* deep navy */
  --text-secondary: #4d6585;       /* mid blue-gray */
  --text-muted: #8a99b1;

  --accent-bright: #59A9EF;        /* メインの爽やかな青 */
  --accent-light: #8ACAFC;         /* 明るい水色 */
  --accent-navy: #1f4172;          /* 紺色（深いアクセント） */
  --accent-deep: #0d2a55;          /* 最も濃い紺 */

  /* Typography */
  --font-sans: "Meiryo", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", system-ui, -apple-system, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "Meiryo", serif;
  --font-en-serif: "Cormorant Garamond", "Hiragino Mincho ProN", serif;
  --font-mono: "DM Mono", "SF Mono", "Menlo", monospace;

  /* Spacing */
  --section-py: clamp(80px, 12vw, 160px);
  --container-max: 1240px;
  --container-px: clamp(20px, 5vw, 60px);

  /* Transition */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-quick: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }

ul, ol { list-style: none; }

button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

::selection { background: var(--accent-bright); color: #ffffff; }

/* ----- Layout ----- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-px);
  position: relative;
}

.section {
  padding-block: var(--section-py);
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--border-soft);
}

/* ----- Section head ----- */
.section-head {
  margin-bottom: clamp(40px, 6vw, 80px);
  max-width: 700px;
}

.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: none;
  gap: 24px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
  margin-bottom: 14px;
  position: relative;
  padding-left: 28px;
}

.section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--accent-bright);
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
}

.section-desc {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 2;
}

.section-head-link {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.section-head-link:hover {
  color: var(--accent-bright);
  gap: 14px;
}


/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
  background: transparent;
}

.nav.scrolled {
  background: rgba(247, 250, 253, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 20px rgba(31, 65, 114, 0.04);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.nav-logo-jp {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.nav-logo-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--accent-bright);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover { color: var(--accent-bright); }
.nav-links a:hover::after { width: 100%; }

.nav-menu-btn {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 110;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  margin: 6px auto;
  transition: all 0.3s var(--ease);
}

.nav-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.nav-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(85vw, 360px);
  height: 100vh;
  background: var(--bg-elevated);
  z-index: 105;
  padding: 100px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu ul { display: flex; flex-direction: column; gap: 24px; }

.mobile-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text-primary);
}

.mobile-link span {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 42, 77, 0.4);
  z-index: 102;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }


/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* コンテンツを上寄りに置き、下側に賑わい（写真の一番いい部分）を見せる */
  padding: 130px var(--container-px) 30vh;
  background: #0d2a55;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 背景写真 */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.08);
  will-change: transform;
  /* 顔が判別できない程度に軽くぼかす（賑わいはしっかり残す） */
  filter: blur(3px) saturate(1.08);
}
/* 上は読みやすく、下にいくほど薄くして賑わいを見せるヴェール */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(247,250,253,0.86) 0%,
      rgba(247,250,253,0.80) 24%,
      rgba(247,250,253,0.66) 44%,
      rgba(247,250,253,0.30) 66%,
      rgba(247,250,253,0.10) 100%);
}

/* 既存の幾何模様・グリッドは写真版では非表示にしてスッキリ */
.hero-wash, .hero-bg-grid, .hero-halo { display: none; }

/* soft drifting color washes in the periphery (kept away from center text) */
.hero-wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.hero-wash-1 { width: 42vw; height: 42vw; left: -8%; top: -6%;
  background: radial-gradient(circle, #9fd0ff 0%, transparent 70%);
  animation: heroFloat1 20s ease-in-out infinite; }
.hero-wash-2 { width: 46vw; height: 46vw; right: -10%; top: -4%;
  background: radial-gradient(circle, #bfe2ff 0%, transparent 70%);
  animation: heroFloat2 24s ease-in-out infinite; }
.hero-wash-3 { width: 40vw; height: 40vw; right: -6%; bottom: -12%; opacity: 0.4;
  background: radial-gradient(circle, #c9c4ff 0%, transparent 72%);
  animation: heroFloat3 28s ease-in-out infinite; }
.hero-wash-4 { width: 36vw; height: 36vw; left: -4%; bottom: -10%; opacity: 0.4;
  background: radial-gradient(circle, #a7f0e6 0%, transparent 72%);
  animation: heroFloat1 30s ease-in-out infinite reverse; }

@keyframes heroFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8%,6%) scale(1.1); } }
@keyframes heroFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6%,7%) scale(1.08); } }
@keyframes heroFloat3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5%,-6%) scale(1.12); } }

/* glow that follows the cursor (kept subtle so text stays crisp) */
.hero-spot {
  position: absolute;
  left: 0; top: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0;
  transition: opacity 0.6s ease;
  background: radial-gradient(circle, rgba(89,169,239,0.28) 0%, rgba(138,202,252,0.14) 40%, transparent 70%);
  will-change: transform;
}
.hero-spot.on { opacity: 0.85; }

/* bright readable halo behind the text */
.hero-halo {
  position: absolute;
  left: 50%; top: 46%;
  width: 80vw; height: 64vh;
  max-width: 1200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(247,250,253,0.96) 0%, rgba(247,250,253,0.7) 40%, rgba(247,250,253,0.2) 65%, transparent 78%);
}

/* soft brand glow directly behind the headline for a stronger first impression */
.hero-title-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 60vw; height: 38vh;
  max-width: 820px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,0.55) 0%,
    rgba(138,202,252,0.22) 45%,
    transparent 72%);
  filter: blur(20px);
  opacity: 0;
  animation: heroGlowIn 1.6s var(--ease) 0.2s forwards;
}

@keyframes heroGlowIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hero-bg-grid {
  position: absolute;
  inset: -10% 0;
  background-image:
    linear-gradient(rgba(31, 65, 114, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 65, 114, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 18%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 18%, transparent 82%);
  will-change: transform;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 48px;
  padding: 8px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
}

.hero-location-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-navy);
  box-shadow: 0 0 12px var(--accent-navy);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-copy {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(48px, 9vw, 116px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
  color: var(--accent-deep);
  text-shadow: 0 8px 30px rgba(31, 65, 114, 0.08);
}

.hero-copy-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.hero-copy-line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroKinetic 1.05s var(--ease) forwards;
}

.hero-copy-line:nth-child(1) > span { animation-delay: 0.22s; }
.hero-copy-line:nth-child(2) > span { animation-delay: 0.40s; }

.hero-copy-line-accent > span {
  background: linear-gradient(110deg, var(--accent-light) 0%, var(--accent-bright) 30%, var(--accent-navy) 55%, var(--accent-bright) 80%, var(--accent-light) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroKinetic 1.05s var(--ease) forwards, heroSheen 6s linear 1.2s infinite;
}

@keyframes heroKinetic {
  to { transform: translateY(0); }
}

@keyframes heroSheen {
  to { background-position: -220% 0; }
}

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-location-sub {
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .hero-wash,
  .hero-spot,
  .hero-copy-line-accent > span { animation: none !important; }
  .hero-copy-line > span { transform: none; animation: none; }
  .hero-title-glow { opacity: 1 !important; animation: none !important; transform: translate(-50%, -50%) !important; }
  .hero-sub, .hero-meta, .hero-cta, .hero-scroll { opacity: 1 !important; animation: none !important; }
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(17px, 2.1vw, 22px);
  font-weight: 600;
  line-height: 1.95;
  /* 写真の上でもくっきり読めるよう、濃いネイビーに */
  color: var(--accent-deep);
  margin-bottom: 56px;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease) 0.7s forwards;
}

/* 写真が透けるテキストに、白い下地のにじみで可読性をしっかり確保 */
.hero-sub,
.hero-name-jp,
.hero-name-en,
.hero-role-primary,
.hero-role-sub {
  text-shadow:
    0 0 4px rgba(255,255,255,1),
    0 0 10px rgba(255,255,255,0.95),
    0 1px 12px rgba(247,250,253,1),
    0 2px 22px rgba(247,250,253,0.95);
}

.hero-meta {
  margin-bottom: 56px;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease) 0.9s forwards;
}

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
}

.hero-name-jp {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.hero-name-yomi {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-left: 4px;
}

.hero-name-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero-roles {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}

.hero-role-primary {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}

.hero-role-divider {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.hero-role-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 0.06em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease) 1.1s forwards;
}


/* ----- 常時表示の相談CTA（画面下中央のフローティングピル） ----- */
.consult-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consult-bar a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent-bright) 0%, var(--accent-navy) 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 30px rgba(89,169,239,0.38);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.consult-bar a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(89,169,239,0.5);
}
.consult-bar-icon {
  display: inline-flex;
  font-size: 16px;
}
.consult-bar-sub {
  font-weight: 400;
  font-size: 12px;
  opacity: 0.85;
  letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  .consult-bar a { padding: 12px 20px; font-size: 13px; }
  .consult-bar-sub { display: none; }
}


/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-label {
  display: inline-block;
  font-size: 14px;
}

.btn-sub {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 11px;
  font-weight: 300;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.btn-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s var(--ease);
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-bright) 0%, var(--accent-navy) 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(89, 169, 239, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(89, 169, 239, 0.40);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--border-subtle);
  box-shadow: 0 4px 12px rgba(31, 65, 114, 0.06);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--accent-bright);
  box-shadow: 0 8px 20px rgba(89, 169, 239, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 16px 20px;
  flex-direction: row;
  align-items: center;
}

.btn-ghost:hover {
  color: var(--accent-bright);
}

.btn-ghost:hover .btn-arrow {
  transform: translateX(6px);
}


/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease) 1.4s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent-bright), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-light);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}


/* ============================================================
   About
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-visual {
  position: sticky;
  top: 120px;
}

.about-image-wrap {
  position: relative;
}

.about-image-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(138, 202, 252, 0.18), rgba(89, 169, 239, 0.08));
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.about-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 30px 60px -30px rgba(15, 42, 85, 0.35);
}

.about-image-caption {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.about-lead {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
}

.about-body {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.about-body strong {
  color: var(--text-primary);
  font-weight: 500;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 14px 0;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--accent-bright);
  border-bottom: 1px solid var(--accent-bright);
  transition: gap 0.3s var(--ease);
}

.about-link:hover { gap: 18px; }


/* ============================================================
   Activities
   ============================================================ */
.activities-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
  margin: 0 0 72px;
  max-width: 760px;
}

.activity-photo {
  position: relative;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #0d2a55;
  box-shadow: 0 24px 50px -28px rgba(15, 42, 85, 0.4);
}

.activity-photo-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}

.activity-photo-cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.activity-photo-cap-tag {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #8ACAFC;
}

.activity-photo-cap-text {
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media (max-width: 720px) {
  .activities-photos { max-width: 100%; }
  .activity-photo-img { aspect-ratio: 3 / 4; }
}

.activities-sub {
  margin-bottom: 80px;
}

.activities-sub:last-child {
  margin-bottom: 0;
}

.activities-sub-title {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--accent-deep);
}

.activities-sub-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-bright);
  letter-spacing: 0.15em;
}

.activities-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.activity-card {
  position: relative;
  padding: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(31, 65, 114, 0.05);
}

.activity-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent-navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.activity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(89, 169, 239, 0.3);
  box-shadow: 0 18px 38px rgba(31, 65, 114, 0.10);
}

.activity-card:hover::before { transform: scaleX(1); }

.activity-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 4px 10px;
  background: rgba(89, 169, 239, 0.08);
  border-radius: 2px;
}

.activity-card-title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.8vw, 28px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
}

.activity-card-lead {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.activity-card-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.activity-card-meta li {
  display: grid;
  grid-template-columns: 60px 1fr;
  font-size: 13px;
  color: var(--text-secondary);
}

.activity-card-meta li span {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding-top: 3px;
}

.activity-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--accent-bright);
  transition: gap 0.3s var(--ease);
}

.activity-card-link:hover { gap: 14px; }


.activities-list {
  display: flex;
  flex-direction: column;
}

.activities-list-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.3s var(--ease);
}

.activities-list-item:hover {
  padding-inline: 12px;
}

.activities-list-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  text-transform: uppercase;
  padding-top: 5px;
}

.activities-list-body h5 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-deep);
}

.activities-list-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.activities-list-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-bright);
}

.activities-list-link span {
  transition: transform 0.3s var(--ease);
}

.activities-list-link:hover {
  color: var(--accent-navy);
  gap: 9px;
}

.activities-list-link:hover span {
  transform: translateX(3px);
}

/* LP制作エントリー内の制作物ミニカード */
.activities-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.activities-work {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 4px 14px rgba(31,65,114,0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.activities-work:hover {
  transform: translateY(-3px);
  border-color: var(--accent-light);
  box-shadow: 0 12px 28px rgba(89,169,239,0.18);
}
.activities-work-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-section-alt);
}
.activities-work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.activities-work:hover .activities-work-media img {
  transform: scale(1.04);
}
.activities-work-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}
.activities-work-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.activities-work-desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.activities-work-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-bright);
}
.activities-work:hover .activities-work-link {
  color: var(--accent-navy);
}

/* ============================================================
   Works (制作実績)
   ============================================================ */
.works {
  background: var(--bg-section-alt);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.work-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-bright);
  box-shadow: 0 18px 40px rgba(31, 65, 114, 0.14);
}

.work-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef3f8;
}

.work-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-card-media img {
  transform: scale(1.05);
}

.work-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.work-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-navy);
  padding: 4px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: rgba(89, 169, 239, 0.06);
}

.work-card-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 10px;
}

.work-card-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.work-card-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-navy);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

.work-card-link span {
  transition: transform 0.3s var(--ease);
}

.work-card-link:hover {
  color: var(--accent-bright);
  gap: 10px;
}

.work-card-link:hover span {
  transform: translate(2px, -2px);
}

/* Activity card photo (主宰カード上部) */
.activity-card-photo {
  margin: -40px -40px 28px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef3f8;
}

.activity-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.activity-card:hover .activity-card-photo img {
  transform: scale(1.04);
}

/* Activities list thumb (その他活動のサムネ) */
.activities-list-thumb {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #eef3f8;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(31, 65, 114, 0.08);
}

.activities-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.activities-list-item:hover .activities-list-thumb img {
  transform: scale(1.04);
}


/* ============================================================
   Gallery
   ============================================================ */
.gallery {
  background: #f3f8fd;
}

.gallery .section-desc {
  margin-top: 12px;
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #eef3f8;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(31, 65, 114, 0.06);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(13, 42, 85, 0.85) 0%, rgba(13, 42, 85, 0) 100%);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-tall {
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item-tall { grid-row: span 2; }
  .gallery-item-wide { grid-column: span 2; }
  .activities-list-thumb {
    max-width: 100%;
    aspect-ratio: 16 / 10;
  }
  .activity-card-photo {
    margin: -32px -28px 22px;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-auto-rows: 150px;
  }
  .gallery-item figcaption {
    opacity: 1;
    transform: translateY(0);
    font-size: 11px;
    padding: 10px 12px 8px;
  }
}


/* ============================================================
   Events
   ============================================================ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.event-card {
  padding: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(31, 65, 114, 0.05);
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: rgba(89, 169, 239, 0.35);
  box-shadow: 0 16px 32px rgba(31, 65, 114, 0.10);
}

.event-card-date {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.event-card-tag {
  display: inline-block;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}

.event-card-title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--accent-deep);
}

.event-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  flex: 1;
}

.event-card-link {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease);
}

.event-card-link:hover { gap: 14px; }


/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  padding: 36px 30px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  position: relative;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(31, 65, 114, 0.05);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-bright);
  background: linear-gradient(180deg, var(--bg-elevated), rgba(138, 202, 252, 0.08));
  box-shadow: 0 18px 38px rgba(31, 65, 114, 0.10);
}

.service-card-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 36px;
  color: var(--border-subtle);
  transition: color 0.3s var(--ease);
}

.service-card:hover .service-card-num { color: rgba(89, 169, 239, 0.3); }

.service-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 3px 8px;
  background: rgba(89, 169, 239, 0.08);
  border-radius: 2px;
}

.service-card-title {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--accent-deep);
}

.service-card-desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 22px;
  flex: 1;
}

.service-card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px dashed var(--border-subtle);
  margin-bottom: 22px;
}

.service-card-features li {
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.service-card-features li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-bright);
}

.service-card-cta {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.service-card-cta:hover {
  color: var(--accent-bright);
  gap: 14px;
}


/* ============================================================
   Achievements
   ============================================================ */
.achievements-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.achievements-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-primary);
  transition: padding 0.3s var(--ease), color 0.3s var(--ease);
}

.achievements-list li::before {
  content: "—";
  color: var(--accent-bright);
  flex-shrink: 0;
}

.achievements-list li:hover {
  padding-inline: 12px;
  color: var(--accent-bright);
}


/* ============================================================
   Voices
   ============================================================ */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.voice-card {
  position: relative;
  padding: 36px 30px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(31, 65, 114, 0.05);
}

.voice-card::before {
  content: "”";
  position: absolute;
  top: 8px;
  left: 24px;
  font-family: var(--font-en-serif);
  font-size: 70px;
  color: rgba(89, 169, 239, 0.2);
  line-height: 1;
}

.voice-text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.voice-meta {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
}


/* ============================================================
   News
   ============================================================ */
.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-subtle);
}

.news-item {
  display: grid;
  grid-template-columns: 140px 100px 1fr;
  gap: 30px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.3s var(--ease);
}

.news-item:hover { padding-inline: 12px; }

.news-item-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.news-item-cat {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--accent-bright);
}

.news-item-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
}


/* ============================================================
   Contact
   ============================================================ */
.contact {
  background: var(--bg-section-alt);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(31, 65, 114, 0.08) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-sans);
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 16px 0 24px;
  color: var(--accent-deep);
}

.contact-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 56px;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-option {
  padding: 28px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.4s var(--ease);
  text-align: left;
  box-shadow: 0 4px 18px rgba(31, 65, 114, 0.05);
}

.contact-option:hover {
  transform: translateY(-3px);
  border-color: var(--accent-bright);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(89, 169, 239, 0.15);
}

.contact-option-primary {
  background: linear-gradient(120deg, var(--accent-bright), var(--accent-navy));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(89, 169, 239, 0.28);
}

.contact-option-primary:hover {
  background: linear-gradient(120deg, var(--accent-light), var(--accent-navy));
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(89, 169, 239, 0.40);
}

.contact-option-label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.contact-option-sub {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 12px;
  opacity: 0.75;
  letter-spacing: 0.05em;
}


/* ============================================================
   Links / QR
   ============================================================ */
.links {
  background: var(--bg-base);
}

.links .section-title {
  margin-bottom: 8px;
}

.links .section-desc {
  margin-bottom: 48px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 22px 16px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.qr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(31, 65, 114, 0.12);
  border-color: var(--accent);
}

.qr-img-wrap {
  width: 100%;
  max-width: 180px;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}

.qr-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.qr-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: 0.02em;
}

.qr-label small {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
  letter-spacing: 0.04em;
}

.qr-sub {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .qr-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .qr-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .qr-card {
    padding: 16px 10px 14px;
  }
  .qr-label {
    font-size: 13px;
  }
  .qr-sub {
    font-size: 11px;
  }
}


/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-section-alt);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--accent-deep);
}

.footer-copy {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-nav h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover { color: var(--accent-bright); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}


/* ============================================================
   Profile Page
   ============================================================ */
.page-profile {
  background: var(--bg-base);
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Profile Hero */
.profile-hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #eef5fc 0%, #f7fafd 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.profile-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.profile-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  opacity: 0.18;
  filter: saturate(1.05);
}

.profile-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(238, 245, 252, 0.7) 0%, rgba(247, 250, 253, 0.92) 100%);
}

.profile-hero .container,
.profile-hero .profile-back {
  position: relative;
  z-index: 1;
}

.profile-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  /* 写真撤去のため一時的に1カラム化（元: 1fr 280px） */
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.profile-hero-photo {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(31, 65, 114, 0.18);
  aspect-ratio: 4 / 5;
}

.profile-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.profile-back:hover {
  color: var(--accent);
}

.profile-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.profile-hero-title {
  margin: 18px 0 28px;
  line-height: 1.1;
}

.profile-hero-name-jp {
  display: block;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.04em;
}

.profile-hero-name-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--accent);
  margin-top: 6px;
  letter-spacing: 0.06em;
}

.profile-hero-lead {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 2;
  color: var(--text-body);
  margin: 28px 0 36px;
  letter-spacing: 0.04em;
}

.profile-hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.profile-hero-roles span:not(.profile-hero-divider) {
  padding: 0 14px;
}

.profile-hero-roles span:first-child {
  padding-left: 0;
}

.profile-hero-divider {
  width: 1px;
  height: 12px;
  background: var(--border-subtle);
}

/* Profile Main */
.profile-main {
  padding-bottom: 40px;
}

.profile-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.profile-section:last-child {
  border-bottom: none;
}

.profile-section-alt {
  background: #f3f8fd;
}

.profile-section-head {
  margin-bottom: 36px;
}

.profile-section-num {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.profile-section-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.3;
}

.profile-section-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.profile-section-body p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-body);
  margin: 0 0 18px;
  letter-spacing: 0.04em;
}

.profile-section-body p:last-child {
  margin-bottom: 0;
}

.profile-section-body strong {
  color: var(--text-heading);
  font-weight: 600;
}

.profile-section-body-essay p {
  font-size: 17px;
}

.profile-section-divider {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 32px auto;
  opacity: 0.5;
}

/* Activity list */
.profile-activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.profile-activity-list li {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.profile-activity-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 65, 114, 0.10);
}

.profile-activity-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef3f8;
}

.profile-activity-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.profile-activity-list li:hover .profile-activity-photo img {
  transform: scale(1.04);
}

.profile-activity-text {
  padding: 18px 22px 22px;
  flex: 1;
}

.profile-activity-list li:not(.has-photo) .profile-activity-text {
  padding: 22px 24px;
}

.profile-activity-list h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}

.profile-activity-list h3 small {
  font-size: 11px;
  font-weight: 400;
  color: var(--accent);
  margin-left: 8px;
  letter-spacing: 0.1em;
}

.profile-activity-list p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* Figure (large photo with caption) */
.profile-figure {
  margin: 48px 0 0;
  overflow: hidden;
  border-radius: 14px;
  background: #eef3f8;
  box-shadow: 0 12px 30px rgba(31, 65, 114, 0.10);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.profile-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-figure-wide {
  max-width: 920px;
  margin-top: 0;
  margin-bottom: 40px;
  aspect-ratio: 16 / 9;
}

.profile-figure-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-figure figcaption {
  padding: 14px 20px;
  font-size: 12px;
  color: var(--text-muted);
  background: #fff;
  border-top: 1px solid var(--border-subtle);
  letter-spacing: 0.05em;
}

/* Fact list */
.profile-fact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 10px;
}

.profile-fact-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 15px;
  color: var(--text-body);
  letter-spacing: 0.03em;
}

.profile-fact-list li span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  align-self: center;
}

/* CTA */
.profile-cta {
  margin-top: 60px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.profile-cta-text {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
  margin: 0 0 28px;
  letter-spacing: 0.04em;
}

.profile-cta-text strong {
  color: var(--accent);
}

.profile-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .profile-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profile-hero-photo {
    max-width: 260px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 700px) {
  .profile-hero {
    padding: 110px 0 60px;
  }
  .profile-section {
    padding: 56px 0;
  }
  .profile-activity-list {
    grid-template-columns: 1fr;
  }
  .profile-fact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .profile-cta {
    padding: 28px 20px;
  }
  .profile-hero-roles {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .profile-hero-roles span:not(.profile-hero-divider) {
    padding: 0;
  }
  .profile-hero-divider {
    display: none;
  }
  .profile-figure-wide {
    aspect-ratio: 4 / 3;
  }
  .profile-figure {
    margin-top: 36px;
  }
}


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }

  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { position: static; }
  .about-image-placeholder { aspect-ratio: 4 / 3; max-width: 400px; }

  .activities-main-grid { grid-template-columns: 1fr; }

  .activities-list-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .activities-list-cat { font-size: 10px; }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 600px) {
  .hero { padding-top: 120px; padding-bottom: 80px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
}
