:root {
  --site-navy: #0d1b2a;
  --site-navy-light: #1b263b;
  --primary-accent: #3a86ff;
  --text-dark: #0b1220;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Navbar */
.site-navbar {
  background-color: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(10px);
}

/* Hero Section */
.hero-header {
  background: 
    linear-gradient(rgba(13, 27, 42, 0.2), rgba(13, 27, 42, 0.2)),
    url('images/moai-statue-564-2000x1339.jpg');
  background-size: cover;
  background-position: center bottom;
  /* パララックス効果風 */
  background-attachment: scroll;
}

/* Content Cards */
.content-card {
  position: relative;
  height: 240px;
  border-radius: 1rem;
  overflow: hidden;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(0,0,0,0.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  transition: opacity 0.3s ease;
}

.card-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.content-card:hover .card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 100%);
}

/* Visual Section */
.image-frame {
  overflow: hidden;
  border-radius: 1rem;
  background: white;
}

.image-frame img {
  transition: transform 0.5s ease;
}

.image-frame:hover img {
  transform: scale(1.02);
}

/* Footer / Dark Sections */
#about {
  background-color: var(--site-navy) !important;
}

/* Utility */
.badge {
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ロゴ画像の微調整 */
.logo-img {
  /* 画像の角を少し丸くする場合や、縁取りをしたい場合に便利 */
  border-radius: 4px; 
  /* 垂直方向の配置がしっくりこない時に数ピクセル上下させる */
  margin-top: -2px; 
  /* 画像がボケないようにする（特にドット絵や細かいロゴの場合） */
  image-rendering: -webkit-optimize-contrast;
}

/* ホバー時にロゴを少し透過させる、または拡大する演出 */
.navbar-brand:hover .logo-img {
  opacity: 0.8;
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

/* ナビゲーションバー内のアイコン調整 */
.navbar-brand i {
  font-size: 1.25rem; /* アイコンの大きさを文字に合わせる */
  color: rgba(255, 255, 255, 0.85); /* 少しだけ透明度を下げて馴染ませる */
  line-height: 0; /* 垂直方向のズレを抑える */
}

