/* ============================================
   Харбин (RU) — тёплая закатная тема
   ============================================ */

:root {
  /* 主色：深暖橙红渐变 */
  --color-bg:          #0f0604;
  --color-bg-blue:     #2a1208;     /* тёмно-коричневый (header) */
  --color-bg-blue-2:   #3a1a0c;
  --color-bg-blue-3:   #2e4fc1;
  --color-primary:     #4476ef;     /* акцентный оранжевый */
  --color-primary-2:   #c44e1c;     /* глубокий красно-оранжевый */
  --color-text:        #2a1810;
  --color-text-on-blue:#f5e8d8;     /* 暖米色（俄文站专用，比纯白柔和） */
  --color-border:      #e0d0c0;
  --color-text-muted:  #8a7868;

  /* шрифты */
  --font-sans: 'Poppins', 'Noto Sans SC', 'Noto Sans KR', 'Noto Sans JP', Arial, sans-serif;

  /* размеры */
  --header-h:          72px;
  --container-w:       1200px;
  --radius-sm:         6px;
  --radius-md:         12px;
  --radius-lg:         20px;

  /* анимация */
  --ease:              cubic-bezier(.4, 0, .2, 1);
}

/* фикс заголовка — анкоры не скрываются */
html { scroll-padding-top: var(--header-h); }

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: linear-gradient(60deg, #0f1120, #3d3037 40%, #d49864 70%, #f7ce98 100%);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }
h1, h2, h3, p { margin: 0; }

.container {
  width: 100%;
  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: var(--color-bg-blue);
  color: var(--color-text-on-blue);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(42, 18, 8, .97);  /* = --color-bg-blue */
  box-shadow: 0 2px 14px rgba(0,0,0,.35);
  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 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.25;
  color: rgba(245,232,216,.85);
}

.main-nav { flex: 1;}
.main-nav ul { display: flex; align-items: center; justify-content: center; gap: 30px; }
.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(245,232,216,.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: var(--color-primary);
  font-weight: 600;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 言語切替（下拉） */
.lang-dropdown { position: relative; flex-shrink: 0; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;              /* = .main-nav a */
  font-size: 13px;                /* = .main-nav a */
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;               /* = .main-nav a */
  color: rgba(245,232,216,.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: var(--color-primary); }
.lang-dropdown.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  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,.25);
  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 li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--color-text);
  border: 0;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.lang-menu li a:hover { background: rgba(232,112,42,.08); color: var(--color-primary-2); }
.lang-menu li a.active { color: var(--color-primary-2); font-weight: 700; }

.menu-toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--color-text-on-blue);
  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); }

/* ============================================
   HERO (大图 + 左下文字)
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  margin-top: var(--header-h);
  /* height: 540px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center; */
}
.hero-bg {
  width: 100%;
  /* position: absolute; 
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02); */
}
.hero-overlay {
  position: absolute; inset: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  margin: auto 0;
  color: #fff;
}
.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  letter-spacing: .01em;
}
.hero-arrow {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(232,112,42,.35);
  border: 1px solid rgba(255,255,255,.3);
  z-index: 3;
  animation: heroBounce 1.6s ease-in-out infinite;
}
@keyframes heroBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   NEWS FEATURED: 1 big + 4 list
   ============================================ */
.news-featured {
  padding: 60px 0 50px;
  color: var(--color-text-on-blue);
}
.news-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: stretch;
}
.news-feat-image {
  position: relative;
  display: block;
  overflow: hidden;
}
.carousel-item {
  position: absolute; inset: 0;
  /*background-size: cover;*/
  /*background-position: center;*/
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.carousel-item.active { opacity: 1; pointer-events: auto; }
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
.carousel-dots {
  position: absolute;
  bottom: 0;
  right: 16px;
  display: flex; gap: 6px;
  z-index: 10;
  align-items: center;
  padding: 10px 0;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s;
}
.dot.active { background: #fff; }
.news-feat-image:hover .carousel-caption { color: var(--color-primary); }

.news-feat-list {
  display: flex;
  flex-direction: column;
}
.news-feat-list li {
  border-bottom: 1px solid #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-feat-list li span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  text-align: right;
  margin-left: auto;
}
.news-feat-list li:first-child { border-top: 1px solid #fff; }
.news-feat-list li a {
  display: block;
  padding: 16px 4px;
  font-size: 14px;
  line-height: 1.55;
  color: #fff;
  position: relative;
  padding-left: 16px;
  transition: color .2s var(--ease);
}
.news-feat-list li a::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 700;
}
.news-feat-list li a:hover { color: var(--color-primary); }

/* ============================================
   VIDEO (3 cards)
   ============================================ */
.video-section {
  padding: 56px 0 24px;
  color: var(--color-text-on-blue);
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--color-primary);
  margin-bottom: 26px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  display: block;
  color: var(--color-text-on-blue);
  transition: transform .25s var(--ease);
}
.video-card:hover p { color: var(--color-primary); }
.video-thumb {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.video-thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  pointer-events: none;
}
.play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85);
  color: var(--color-primary-2);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: transform .2s var(--ease);
}
.video-card:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); }
.video-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px;
  font-size: 16px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
  background: rgba(0,0,0,.3);
}

.section-divider {
  text-align: center;
  margin-top: 28px;
  color: var(--color-primary);
  opacity: .7;
}

.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 (4 cards)
   ============================================ */
.photo-section {
  padding: 40px 0 24px;
  color: var(--color-text-on-blue);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.photo-card {
  display: block;
  overflow: hidden;
  transition: transform .25s var(--ease);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.photo-card:hover p { color: var(--color-primary); }
.photo-caption {
  font-size: 13px;
  color: #fff;
  margin-top: 6px;
}

/* ============================================
   QUICK LINKS (4 アイコン横並び)
   ============================================ */
.quick-links {
  padding: 50px 0;
  color: var(--color-text-on-blue);
}
.ql-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin: 0 auto;
}
.ql-card {
  display: flex;
  align-items: flex-start;    
  gap: 16px;
  padding: 12px;
  color: #fff;
}
.ql-card:hover { color: var(--color-primary); }
.ql-icon {
  width: 100px; height: 100px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: #cdd9ef;
}
.ql-row {
  flex: 1;
  padding: 20px 0 10px 0;
  border-bottom: 1px solid #fff;
  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: #fff;
  margin-left: auto;              /* 矢印を下線の右端に寄せる */
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.ql-card:hover .ql-row   { border-color: var(--color-primary); }
.ql-card:hover .ql-arrow {
  background: var(--color-primary);
  color: #fff;
  transform: translateX(2px);
}

/* ============================================
   WELCOME BANNER
   ============================================ */
.welcome {
  padding-bottom: 24px;
  color: var(--color-text-on-blue);
  text-align: center;
}
.welcome-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.welcome-sub {
  font-size: 16px;
  color: #fff;
  letter-spacing: .15em;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  color: var(--color-text-on-blue);
  padding: 0;
}
.footer-divider {
  border: 0; border-top: 1px solid #7c7c7c;
  margin: 0 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) auto;
  gap: 24px 32px;
  align-items: start;
  margin-bottom: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  letter-spacing: .12em;
  color: #fff;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--color-primary); }

.footer-right {
  grid-column: 6 / 7;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.footer-social {
  display: flex;
  gap: 30px;
  align-items: center;
}
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: rgba(245,232,216,.65);
  transition: all .2s var(--ease);
}
.footer-social a:hover {
  color: #fff;
  background: var(--color-primary);
}

.footer-btn {
  padding: 8px 28px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
  border-radius: 30px;
  letter-spacing: .04em;
  box-shadow: 0 4px 14px rgba(20,20,255,.2);
  transition: transform .2s var(--ease);
}
.footer-btn:hover { background: var(--color-bg-blue-3)}

.footer-skyline {
  color: rgba(245,232,216,.25);
  height: 60px;
  margin-top: 20px;
  overflow: hidden;
}
.footer-skyline svg { width: 100%; height: 100%; display: block; }

.footer-copyright {
  text-align: center;
  font-size: 11px;
  color: rgba(245,232,216,.35);
  margin-top: 14px;
  letter-spacing: .04em;
}


#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;
}
