/* ============================================================
   哈尔滨国际传播中心 — 日本語版 Home
   テーマ：明るいブルー＋深いブルー文字
   ============================================================ */

:root {
  /* カラー */
  --color-bg:           #ffffff;
  --color-bg-blue:      #4a64cc;     /* ヘッダー / フッターのブルー */
  --color-bg-blue-2:    #5b76d9;     /* 少し明るいブルー */
  --color-bg-blue-3:    #3d56bd;     /* ホバー時の深いブルー */
  --color-card:         #ffffff;
  --color-border:       rgba(10, 26, 58, 0.10);
  --color-border-2:     rgba(10, 26, 58, 0.18);
  --color-text:         #1a3a7a;     /* メインテキスト（深いブルー） */
  --color-text-soft:    #5a6d96;
  --color-text-on-blue: #ffffff;     /* ブルー背景上の文字 */
  --color-primary:      #1e88e5;

  /* サイズ */
  --container-w:        1200px;
  --header-h:           70px;
  --radius-sm:          6px;
  --radius-md:          10px;
  --radius-lg:          16px;

  /* フォント */
  --font-jp:            'Noto Sans SC', 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-en:            'Poppins', var(--font-jp);

  /* 動き */
  --ease:               cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, /* 固定ヘッダー分のアンカーずれ補正 */
html { scroll-padding-top: var(--header-h); }

body { margin: 0; padding: 0; }
body {
  font-family: var(--font-jp);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-primary); }
button {
  font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit;
}
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: 0.02em; }

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


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;              /* absolute だとスクロールで流れて消えるため fixed に変更 */
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, #739dff, #4377ef);
  color: var(--color-text-on-blue);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}

.site-header.is-scrolled {
  background: linear-gradient(to bottom, #739dff, #4377ef);
  box-shadow: 0 2px 14px rgba(26, 58, 122, .18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  width: 200px;
}
.logo-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 9px; letter-spacing: 0.04em; }
.logo-en { font-weight: 600; color: rgba(255,255,255,.95); font-family: var(--font-en); }
.logo-cn { font-size: 11px; font-weight: 600; color: #fff; margin-top: 2px; }

.main-nav { flex: 1; }
.main-nav ul {
  display: flex; align-items: center; justify-content: center; gap: 40px;
}
.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.88);
  border-bottom: 2px solid transparent;
  transition: all .2s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a.active {
  color: #fff;
  border-bottom-color: #fff;
}

/* 多言語ドロップダウン（高さをナビ揃え） */
.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.lang-btn:hover { color: #fff; }
.lang-globe { flex-shrink: 0; opacity: .9; }
.lang-caret { flex-shrink: 0; transition: transform .25s var(--ease); }
.lang-dropdown.open .lang-btn { color: #fff; border-bottom-color: #fff; }
.lang-dropdown.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 156px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease);
  z-index: 200;
}
.lang-dropdown.open .lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-soft);
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.lang-menu a:hover { background: var(--color-bg-blue); color: #fff; }
.lang-menu a.active { color: var(--color-primary); font-weight: 700; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  margin-top: var(--header-h);
  /* height: 480px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center; */
}
.hero-bg {
  width: 100%;
  /* position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  background-color: #6b8fd6;
  background-image:
    linear-gradient(135deg, #6b8fd6 0%, #95b3e5 50%, #d6e2f3 100%); */
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  color: #fff;
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,.75);
  margin: 0 0 12px;
}
.hero-title {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
  margin: 0;
}


/* ============================================================
   NEWS CARD
   ============================================================ */
.news-card-section {
  margin-top: -20px;
  position: relative;
  z-index: 3;
  padding-bottom: 50px;
}
.news-card-head {
  margin: auto 0;
}
.news-card-head:hover {
  transform: translateY(-4px);
}
.news-card-head:hover  a{
  color: #fff;
}
.news-card {
  margin: 0 auto;
  background: #4377ef;
  width: 100%;
  max-width: 1100px;
  border-radius: 10px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 20px;
  color: #fff;
  box-shadow: 0 12px 40px rgba(74,100,204,.30);
}
.news-card-title {
  font-size: 50px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.news-card-sub {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin: 0;
}
.news-card-list li {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 8px;
  border-bottom: 1px solid rgba(255,255,255);
}

.news-card-list li span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  text-align: right;
}

.nc-title {
  display: block;
  grid-row: 1;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  overflow: hidden;
  white-space: nowrap;            /* 長いタイトルは折り返さない */
  text-overflow: ellipsis;        /* はみ出し分は「…」で省略 */
  min-width: 0;                   /* grid/flex 子要素の縮小を許可 */
}
/* 保留两行 */
/* white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical; */

.nc-title:hover {
  color: #000;                    /* ホバー時は黒 */
}



/* ============================================================
   ビデオ
   ============================================================ */
.media-block { padding-bottom: 50px; }
.block-title {
  font-size: 45px;
  font-weight: 900;
  color: #4576ef;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-left: 4px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.video-card a { display: block; }
.vc-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #cdd9ef;
  display: flex; align-items: center; justify-content: center;
}
.play-icon { transition: transform .2s var(--ease); }
.video-card:hover .play-icon { transform: scale(1.1); }
.video-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #2e2f31;
  padding: 14px 16px;
  margin: 0;
  transition: color .2s var(--ease);
}
.video-card:hover h3 {
  color: #4576ef;                 /* ホバー時タイトルを青に */
}
.slider-nav {
  display: flex; justify-content: center;
  margin-top: 20px;
}
.nav-arrow {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s var(--ease);
}
.nav-arrow:hover { background: var(--color-bg-blue-3); }


/* ============================================================
   写真
   ============================================================ */
.photo-block { padding-bottom: 80px; }
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
/* 大カード：画像＋下にキャプション */
.photo-main {
  display: flex; flex-direction: column;
  background: var(--color-card);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.photo-main:hover h3 { color: #4576ef; }
.pm-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #cdd9ef;
}
.pm-caption { padding: 2px; }
.pm-caption h3 {
  font-size: 18px; font-weight: 600; margin: 0 0 6px;
  color: #2e2f31;
}
.photo-loc {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; margin: 0;
  color: #000;
}
.photo-loc svg { flex-shrink: 0; }

/* 右側 2×2 サムネイル */
.photo-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;   /* 行高は内容に合わせ、余白を下に残さない */
}
.photo-sub {
  display: flex; 
  flex-direction: column;
  background: var(--color-card);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  padding-left: 20px;
}
.photo-sub:hover span { color: #4576ef; }
.ps-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #cdd9ef;
}
.photo-sub span {
  padding: 2px;
  font-size: 18px; 
  font-weight: 600;
  color: #2e2f31;
}

/* 下部の「もっと見る」丸ボタン */
.photo-more {
  display: flex; justify-content: center;
  margin-top: 0;
}
.more-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #4576ef;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(69,118,239,.35);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.more-btn:hover { background: #3a63d6; transform: translateY(-2px); }


/* ============================================================
   QUICK LINKS
   ============================================================ */
.quicklinks { padding-bottom: 60px; }
.ql-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
}
.ql-item {
  display: flex;
  align-items: flex-start;        /* タイトル行をサムネ上部に揃える */
  gap: 16px;
  padding: 12px;
  color: #2e2f31;
}
/* タイトル行の下に下線、矢印はその下の行（右寄せ） */
.ql-row {
  flex: 1;
  padding: 20px 0 10px 0;
  border-bottom: 1px solid #2e2f31;
  transition: border-color .2s var(--ease);
}
.ql-title {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color .2s var(--ease);
}
.ql-arrow {
  font-size: 16px;
  line-height: 1;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #2e2f31;
  margin-left: auto;              /* 矢印を下線の右端に寄せる */
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.ql-thumb {
  width: 100px; height: 100px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: #cdd9ef;
}
/* ホバー：文字・下線を青、矢印は青い円に白抜き */
.ql-item:hover .ql-title { color: #4576ef; }
.ql-item:hover .ql-row   { border-color: #4576ef; }
.ql-item:hover .ql-arrow {
  background: #4576ef;
  color: #fff;
  transform: translateX(2px);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding-top: 60px;
  padding-bottom: 0;
  background: #4377ef;
  color: var(--color-text-on-blue);
  position: relative;
  overflow: hidden;
}
.footer-divider {
  border: 0; border-top: 1px solid rgba(255,255,255,.85);
  margin: 0 0 28px;
}
.footer-head { text-align: center; padding-bottom: 24px; }
.footer-welcome {
  font-size: 50px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer-sub {
  font-size: 18px;
  font-weight: 500;
  color: #30322f;
  margin: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-bottom: 0;
  align-items: start;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 32px;
}
.fcol {
  display: flex; flex-direction: column; gap: 10px;
  min-width: 90px;
}
.fcol a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.04em;
}
.fcol a:hover { color: rgba(255,255,255,.35); }

.footer-social {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.social-icons { display: flex; gap: 30px; }
.sicon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
  border-radius: 50%;
  transition: all .2s var(--ease);
}
.sicon:hover { color: #fff; background: rgba(255,255,255,.15); }

.click-btn {
  display: inline-block;
  padding: 8px 32px;
  background: #fff;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 20px;
  transition: all .2s var(--ease);
}
.click-btn:hover { background: var(--color-bg-blue-3); color: #fff; transform: translateY(-1px); }

.city-skyline {
  width: 100%; height: 90px;
  opacity: 0.50;
  pointer-events: none;
}
.city-skyline svg { width: 100%; height: 100%; display: block; }

/* ============================================
   Hamburger menu (mobile only) - 3 spans
   ============================================ */
.header-right {
  margin-left: auto;            /* スマホ・デスクトップ共通で右端へ */
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;                 /* hidden on desktop */
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  order: 10;                     /* push to far right (same as RU version) */
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }



#pagearea a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 30px;
    height: 30px;
    background-color: #bbbbbb;
    color: white;
    font-size: 0.75rem !important;
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
}

#pagearea a:hover {
    background-color: #666666;
    color: white;
}

#pagearea .now {
    background-color: #666666;
    color: white;
}

#pagearea .disable {
    cursor: not-allowed;
}