/* ========================================
   Kz Labs K.K. — Corporate Website
   Aesthetic: Refined Japanese Editorial
   ======================================== */

:root {
  --navy: #0c1a2e;
  --navy-light: #162840;
  --gold: #b8935a;
  --gold-light: #d4b07a;
  --cream: #f8f6f1;
  --warm-white: #fdfcfa;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --text-muted: #9a9a9a;
  --border: #e5e0d8;
  --border-light: #f0ece6;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--gold);
}

/* Container */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-icon {
  height: 26px;
  width: auto;
  display: block;
}

.logo-text {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.logo-jp {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-left: 0.2rem;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.06em;
  position: relative;
  padding: 0.2rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* ========== Hero (Homepage) ========== */
.hero {
  background: var(--navy);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184, 147, 90, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(184, 147, 90, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.hero-kk {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.3rem;
}

.hero-divider {
  width: 40px;
  height: 1.5px;
  background: var(--gold);
  margin: 1.5rem auto;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ========== Page Hero (Subpages) ========== */
.page-hero {
  background: var(--navy);
  padding: 3.5rem 0 3rem;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(184, 147, 90, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.15em;
  margin-bottom: 0.4rem;
}

.page-hero-sub {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ========== Sections ========== */
.section {
  padding: 3.5rem 0;
}

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

.section-title {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.section-title-jp {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.1em;
}

.section-title-en {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========== Company Info ========== */
.info-list {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  width: 110px;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  padding-top: 0.1rem;
}

.info-row dd {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

/* ========== Notice Card Link ========== */
.notice-card {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
}

.notice-card:hover {
  border-color: var(--gold);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(12, 26, 46, 0.06);
  text-decoration: none;
}

.notice-card-label {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.08em;
}

.notice-card-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-left: 1rem;
}

.notice-card-arrow {
  margin-left: auto;
  font-size: 1.1rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.notice-card:hover .notice-card-arrow {
  transform: translateX(4px);
}

/* ========== Public Notice Page ========== */
.notice-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.notice-body p {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 1.2rem;
}

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

.notice-status {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: 0 6px 6px 0;
}

.notice-status-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.notice-status p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== Footer ========== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding: 2rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ========== Animations ========== */
.fade-in {
  animation: fadeIn 0.8s ease both;
}

.fade-in-up {
  animation: fadeInUp 0.7s ease both;
  animation-delay: 0.15s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Responsive ========== */
@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }

  .header-inner {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }

  .site-nav {
    gap: 1.5rem;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-kk {
    font-size: 0.95rem;
  }

  .page-hero {
    padding: 2.5rem 0 2rem;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .info-row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .info-row dt {
    width: auto;
    font-size: 0.78rem;
  }

  .notice-body {
    padding: 1.5rem;
  }

  .notice-card {
    padding: 1rem 1.25rem;
  }

  .notice-card-desc {
    display: none;
  }
}
