/* ==========================================================================
   Sho T Personal Website Stylesheet
   Design Concept: Minimal Editorial x Subtle Tech Grid (v3.3 - Alternating Theme)
   Inspired by: abc style & SANDOW
   ========================================================================== */

:root {
  /* Colors */
  --bg-color: #F8F8F5;       /* Main warm off-white */
  --bg-white: #FFFFFF;
  --bg-subtle: #F3F3F0;      /* Subtle gray block */
  
  --text-color: #141413;     /* Soft slate black */
  --text-muted: #666666;
  --border-color: #E2E2DF;   /* Ultra-thin border */
  
  --dark-bg: #0B0D12;        /* Dark background color */
  --dark-text: #FFFFFF;
  --dark-text-muted: #888899;
  --dark-border: #222530;

  --accent-blue: #315CFF;
  --accent-purple: #8A5CFF;
  --accent-cyan: #00A6B8;
  
  /* Fonts */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-serif: Georgia, yumincho, "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
  --font-mono: ui-monospace, SFMono-Regular, SF Mono, Menlo, Monaco, Consolas, monospace;
  
  /* Layout Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4.5rem;
  --spacing-xl: 7.5rem;
  
  --max-width: 1100px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.mono-text {
  font-family: var(--font-mono);
}

.serif-text {
  font-family: var(--font-serif);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  display: block;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.button-primary {
  background-color: var(--text-color);
  color: var(--bg-white);
  border: 1px solid var(--text-color);
}

.button-primary:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #FFFFFF;
}

.button-secondary {
  border: 1px solid var(--border-color);
  background-color: transparent;
}

.button-secondary:hover {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: var(--text-color);
}

/* ==========================================================================
   Header & Navigation (ライト)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 248, 245, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-color);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-link:hover {
  color: var(--text-color);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-left: 1px solid var(--border-color);
  padding-left: 1.25rem;
}

.lang-btn {
  color: var(--text-muted);
}

.lang-btn.is-active {
  color: var(--text-color);
  font-weight: 700;
}

/* ==========================================================================
   Hero Section (ダーク・上下余白の適度なゆとり調整)
   ========================================================================== */

.hero-section {
  padding: 3rem 0 1rem 0;      /* 上部は3remのゆとり、下部は1remに詰めてギャラリーに近づける */
  border-bottom: 1px solid #1C1E24;
  position: relative;
  background-color: #000000;    /* 完全なブラックベース */
  background-image: url('hero_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 40vh;            /* 縦幅を40vhに微調整 */
  display: flex;
  align-items: center;
}

/* ダークテーマ用オーバーレイ */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

/* ダークテーマ用の微細な白いグリッドオーバーレイ */
.hero-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-md);
  align-items: center;
  width: 100%;
}

.hero-text-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-name {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #FFFFFF;              /* 白文字 */
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

.hero-name-jp {
  font-size: 1.85rem;
  font-weight: 700;
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-reading {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #888899;              /* 薄いグレー */
  margin-top: 0.25rem;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background-color: var(--accent-blue); /* アクセントブルーの仕切り線 */
  margin: var(--spacing-sm) 0;
}

.hero-copy {
  font-size: 1.45rem;
  color: rgba(255, 255, 255, 0.95); /* 白に近い文字 */
  margin-bottom: var(--spacing-md);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* ダーク背景に映えるボタン定義 */
.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-cta .button-primary {
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
}

.hero-cta .button-primary:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #FFFFFF;
}

.hero-cta .button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  background-color: transparent;
}

.hero-cta .button-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
}

/* 右側：人物像エリア */
.hero-image-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-profile-img {
  max-width: 100%;
  max-height: 280px;           /* 最大高さを280pxに設定 */
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(255, 255, 255, 0.05));
}

/* ==========================================================================
   Kinetic Gallery Section (本物画像がスクロールなしで見えるよう最適化・アスペクト比維持)
   ========================================================================== */

.gallery-section {
  padding: 0.75rem 0;           /* 余白をさらに縮小 */
  border-bottom: 1px solid #1C1E24;
  overflow: hidden;
  background-color: #0B0D12;    /* 少し明るい黒（極暗ネイビーグレー） */
}

.gallery-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.gallery-row {
  display: flex;
  width: 100%;
  margin-bottom: var(--spacing-xs);
}

.gallery-row:last-child {
  margin-bottom: 0;
}

.gallery-track {
  display: flex;
  width: max-content;
  gap: var(--spacing-xs);
}

.gallery-track-left {
  animation: scroll-left 50s linear infinite;
}

.gallery-track-right {
  animation: scroll-right 50s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  height: 120px;               /* 高さを120pxに統一 */
  width: auto;                 /* 横幅はアスペクト比に応じて可変 */
  background-color: rgba(255, 255, 255, 0.02); /* 薄い透過背景 */
  border: 1px solid rgba(255, 255, 255, 0.08); /* 繊細な白い境界線 */
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img {
  height: 100%;                /* 高さいっぱいに表示 */
  width: auto;                 /* 幅は自動（比率維持） */
  object-fit: contain;         /* トリミングせず全体を表示（顔切れ防止） */
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track {
    animation: none;
    overflow-x: auto;
    width: 100%;
  }
}

/* ==========================================================================
   Dark Section Common Utility (交互色分け用共通クラス)
   ========================================================================== */

.dark-section {
  background-color: #0A0B0E !important;  /* 交互に敷く黒背景 */
  color: #FFFFFF !important;
  border-bottom: 1px solid #1C1E24 !important;
}

.dark-section .section-title {
  color: #FFFFFF !important;
}

.dark-section .section-tag {
  color: #888899 !important;
}

/* ==========================================================================
   Profile & Biography Section (ライト)
   ========================================================================== */

.profile-section {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-white);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: var(--spacing-lg);
}

/* 肩書きリスト */
.profile-meta-pane {
  display: flex;
  flex-direction: column;
}

.profile-roles {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-roles li {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.profile-roles li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-roles .role-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.01em;
}

.profile-roles .role-org {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* プロフィール長文 */
.profile-body-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-color);
  text-align: justify;
}

.profile-body-text p {
  margin-bottom: 1rem;
}

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

.profile-body-text strong {
  font-weight: 700;
}

/* ==========================================================================
   Future View Section (ダーク・2カラムスプリット & 補足文章削除に伴う極薄箇造書きリスト化)
   ========================================================================== */

.future-view-section {
  padding: var(--spacing-lg) 0;
}

.future-view-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-lg);
  align-items: center;
  width: 100%;
}

.future-text-side {
  width: 100%;
}

.future-timeline-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--spacing-sm);
  border-top: 1px solid #1C1E24;
}

.future-timeline-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  padding: 0.75rem 0;           /* パディングをさらに小さく引き締め（薄型化） */
  border-bottom: 1px solid #1C1E24;
  align-items: center;          /* 垂直方向の中央に配置 */
}

.future-timeline-item:last-child {
  border-bottom: none;
}

.future-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #315CFF;              /* 番号を目立たせるアクセントブルー */
  line-height: 1;
}

.future-timeline-item:hover .future-num {
  color: #FFFFFF;
}

.future-content {
  display: flex;
  flex-direction: column;
}

.future-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.future-timeline-item:hover .future-title {
  color: #FFFFFF;
}

/* 右側：ダイヤグラム画像エリア */
.future-image-side {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.future-diagram-img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08); /* 透過白の繊細な枠線 */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);   /* 高級感あるシャドウ */
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.future-diagram-img:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Career & Roles Section (ライト・タイムライン)
   ========================================================================== */

.career-section {
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-color);
}

.career-timeline {
  margin-top: var(--spacing-md);
  position: relative;
  padding-left: 2rem;
}

/* タイムラインの縦線 */
.career-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 1px;
  background-color: var(--border-color);
}

.career-timeline-item {
  display: grid;
  grid-template-columns: 1.1fr 1.7fr; /* 時間軸を大きくしたため、カラム幅比率を微調整 */
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.career-timeline-item:last-child {
  border-bottom: none;
}

/* タイムラインのドット */
.career-timeline-item::before {
  content: '';
  position: absolute;
  left: -21px;
  top: 2.3rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--border-color);
  border: 2px solid var(--bg-color);
  z-index: 2;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.career-timeline-item:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.career-timeline-item:hover::before {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.career-meta-box {
  display: flex;
  flex-direction: column;
}

.career-period {
  font-family: var(--font-mono);
  font-size: 1.35rem;           /* オプションA：文字サイズを程よく小さく調整 */
  font-weight: 800;             /* 極太ウェイト */
  letter-spacing: -0.02em;
  color: rgba(20, 20, 19, 0.26);  /* オプションA：その分灰色を少し濃くする */
  line-height: 1.1;
  margin-bottom: 0.5rem;
  display: block;
}

.career-org-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-color);
  font-family: Futura, "Trebuchet MS", Arial, sans-serif;
}

.career-role-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: 0.25rem;
}

.career-details {
  display: flex;
  flex-direction: column;
}

.career-desc {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.7;
}

.career-desc a {
  border-bottom: 1px solid var(--text-muted);
}

.career-desc a:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* ==========================================================================
   Activities Section (ダーク・カード)
   ========================================================================== */

.activities-section {
  padding: var(--spacing-lg) 0;
}

.activities-intro-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid #1C1E24;
  padding-bottom: 2rem;
  margin-bottom: var(--spacing-md);
}

.activities-intro-text {
  max-width: 650px;
}

.activities-intro-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ダークセクション内のActivitiesボタン調整 */
.dark-section .activities-intro-box .button-primary {
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
}

.dark-section .activities-intro-box .button-primary:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #FFFFFF;
}

.featured-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
}

/* お洒落なダークカードUI */
.dark-section .activity-card {
  background-color: #14161F;    /* ダークグレー背景 */
  border: 1px solid rgba(255, 255, 255, 0.08); /* 透過白の細線境界 */
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.activity-card-image {
  height: 120px;
  position: relative;
}

.activity-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-meta-pane {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.activity-date {
  font-size: 0.8rem;
  color: #888899;
}

.dark-section .activity-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.05rem 0.4rem;
  border-radius: 2px;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.05);
}

.dark-section .activity-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.dark-section .activity-summary {
  font-size: 0.85rem;
  color: #A0A0AB;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.activity-link-wrapper {
  margin-top: auto;
}

.dark-section .activity-source-link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid #FFFFFF;
}

.dark-section .activity-source-link:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* ==========================================================================
   Decentralized Hosting / ICP Story Section (ライト化)
   ========================================================================== */

.hosting-section {
  background-color: var(--bg-white);
  color: var(--text-color);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--border-color);
}

.hosting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.hosting-info {
  max-width: 500px;
}

.hosting-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ライトテーマ用の表示ボックス調整 */
.hosting-box {
  background-color: #F3F3F0;     /* 薄いグレー背景 */
  border: 1px solid #E2E2DF;
  border-radius: 4px;
  padding: 2rem;
}

.hosting-box-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.hosting-canister-display {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hosting-canister-id {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #141413;
  background-color: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  border: 1px solid #E2E2DF;
  overflow-x: auto;
  white-space: nowrap;
}

.hosting-canister-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hosting-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid var(--text-muted);
  padding-bottom: 0.1rem;
}

.hosting-btn:hover {
  color: var(--text-color);
  border-color: var(--text-color);
}

.button-accent {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.button-accent:hover {
  color: var(--text-color);
  border-color: var(--text-color);
}

/* ==========================================================================
   Contact Section (ダーク化)
   ========================================================================== */

.contact-section {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.dark-section .contact-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.dark-section .contact-container .button-primary {
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
}

.dark-section .contact-container .button-primary:hover {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #FFFFFF;
}

/* ==========================================================================
   Footer (ダーク化)
   ========================================================================== */

.site-footer {
  border-top: 1px solid #1C1E24;
  padding: var(--spacing-md) 0;
  text-align: center;
}

.dark-section .footer-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #888899;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 900px) {
  :root {
    --spacing-xl: 5rem;
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .hosting-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .career-timeline-item {
    grid-template-columns: 1fr;
    gap: var(--spacing-xs);
  }

  .future-timeline-item {
    grid-template-columns: 1fr;
    gap: var(--spacing-xs);
  }

  .future-view-split {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .future-diagram-img {
    max-height: 240px;
  }
  
  .hero-content-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-md);
  }

  .hero-text-side {
    align-items: center;
  }

  .hero-divider {
    margin: var(--spacing-sm) auto;
  }

  .hero-cta {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .site-header {
    padding: 1rem 0;
  }
  
  .site-nav {
    display: none;
  }
  
  .hero-name {
    font-size: 2.5rem;
  }
  
  .hero-name-jp {
    font-size: 1.5rem;
  }
  
  .hero-copy {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
  }
  
  .activities-intro-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .activities-intro-box .button-link {
    width: 100%;
  }
  
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta .button-link {
    width: 100%;
  }
}
