/*
Theme Name: Nikoland Japan
Theme URI: https://nikolandjapan.com
Author: Antigravity AI
Description: Official corporate theme for Nikoland Japan — luxury natural gemstone jewelry brand.
Version: 1.0.8
Text Domain: nikoland
*/

/* ===================================================
   IMPORTS — Google Fonts
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@200;300;400&display=swap');

/* ===================================================
   CSS CUSTOM PROPERTIES
=================================================== */
:root {
  --color-black:   #0d0d0d;
  --color-white:   #ffffff;
  --color-offwhite:#f8f7f5;
  --color-gray:    #888888;
  --color-rule:    #e0ddd8;
  --color-gold:    #b09a6b;

  --font-serif:    'Cormorant Garamond', 'Georgia', serif;
  --font-sans:     'Jost', 'Helvetica Neue', Arial, sans-serif;

  --header-h:      80px;
  --max-w:         1100px;
  --max-w-narrow:  720px;
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ===================================================
   TYPOGRAPHY
=================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.1rem; font-weight: 400; letter-spacing: 0.08em; }

p {
  font-size: 0.92rem;
  color: #444;
  line-height: 2.0;
}

/* ===================================================
   LAYOUT UTILITIES
=================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: var(--max-w-narrow);
}

.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--color-offwhite);
}

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

.rule {
  border: 0;
  border-top: 1px solid var(--color-rule);
  margin: 60px 0;
}

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-block;
  padding: 13px 34px;
  border: 1px solid var(--color-black);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-black);
  background: transparent;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}

.btn:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn--white {
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--white:hover {
  background: var(--color-white);
  color: var(--color-black);
}

/* ===================================================
   HEADER & NAVIGATION
=================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-white);
  white-space: nowrap;
}

.site-logo span {
  color: var(--color-gold);
}

.main-nav ul {
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--color-white);
}

.header__ext {
  display: flex;
  gap: 22px;
  align-items: center;
}

.header__ext a {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.header__ext a:hover { color: var(--color-white); }

.header__ext .btn-shop {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 0;
  color: var(--color-white);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}

.header__ext .btn-shop:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
  z-index: 2000;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===================================================
   HERO — FULL-HEIGHT
=================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--color-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.75;
  animation: heroScale 14s ease-in-out infinite alternate;
}

@keyframes heroScale {
  from { transform: scale(1.0); }
  to   { transform: scale(1.05); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.25) 0%, rgba(13,13,13,0.55) 100%);
}

.hero__content {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  color: var(--color-white);
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
  display: block;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--color-white);
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 200;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 44px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================================
   BRAND INTRO SECTION
=================================================== */
.brand-intro {
  padding: 120px 0;
  text-align: center;
}

.brand-intro__label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 30px;
  display: block;
}

.brand-intro__heading {
  max-width: 700px;
  margin: 0 auto 30px;
}

.brand-intro__text {
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 0.9rem;
  color: #666;
  line-height: 2.2;
}

/* ===================================================
   SPLIT SECTION (Image + Text)
=================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.split--reverse .split__image { order: 2; }
.split--reverse .split__text  { order: 1; }

.split__image {
  overflow: hidden;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.split__image:hover img { transform: scale(1.03); }

.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 70px;
  background: var(--color-offwhite);
}

.split__label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 22px;
  display: block;
}

.split__text h2 {
  margin-bottom: 24px;
}

.split__text p {
  margin-bottom: 36px;
}

/* ===================================================
   NEWS / POSTS SECTION
=================================================== */
.news-section {
  padding: 100px 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-header h2 { font-size: 1.5rem; letter-spacing: 0.05em; }

.section-header a {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gray);
  border-bottom: 1px solid var(--color-rule);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.section-header a:hover {
  color: var(--color-black);
  border-color: var(--color-black);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.news-card {
  border-top: 1px solid var(--color-rule);
  padding-top: 24px;
  margin-top: 32px;
  position: relative;
}

.news-card__date {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--color-gray);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.news-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 14px;
  transition: color 0.2s;
}

.news-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.news-card:hover .news-card__title { color: var(--color-gold); }

.news-card__excerpt,
.news-card__excerpt p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.9;
  margin: 0;
}

/* ===================================================
   PAGE CONTENT (固定ページ)
=================================================== */
.page-hero {
  padding-top: var(--header-h);
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding-bottom: 70px;
  padding-top: calc(var(--header-h) + 70px);
}

.page-hero__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.page-content {
  padding: 90px 0 120px;
}

.page-content .entry-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 2.1;
  color: #444;
}

.page-content .entry-content h2,
.page-content .entry-content h3 {
  margin-top: 50px;
  margin-bottom: 20px;
  color: var(--color-black);
}

.page-content .entry-content h3 {
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.page-content .entry-content p { margin-bottom: 1.5em; }

.page-content .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.page-content .entry-content table th,
.page-content .entry-content table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-rule);
  font-size: 0.88rem;
  vertical-align: top;
}

.page-content .entry-content table th {
  width: 28%;
  color: var(--color-gray);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.page-content .entry-content a {
  color: var(--color-black);
  border-bottom: 1px solid var(--color-rule);
  transition: border-color 0.2s;
}

.page-content .entry-content a:hover { border-color: var(--color-black); }

/* Full-width block utility for page content */
.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

/* ===================================================
   SINGLE POST
=================================================== */
.post-hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 50px;
  text-align: center;
  border-bottom: 1px solid var(--color-rule);
  margin-bottom: 70px;
}

.post-hero__meta {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gray);
  margin-bottom: 22px;
  display: block;
}

.post-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 400;
}

/* ===================================================
   FOOTER
=================================================== */
#site-footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.5);
  padding: 70px 0 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 16px;
  display: block;
}

.footer__tagline {
  font-size: 0.75rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.4);
}

.footer__col-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.footer__col a:hover { color: var(--color-white); }

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

.footer__copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

.footer__legal {
  display: flex;
  gap: 28px;
}

.footer__legal a {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ===================================================
   ARCHIVE (お知らせ一覧)
=================================================== */
.archive-list {
  padding: 60px 0 100px;
}

.archive-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-rule);
  align-items: start;
  transition: background 0.2s;
  position: relative;
}

.archive-item:hover { background: var(--color-offwhite); }

.archive-item__date {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-gray);
  padding-top: 4px;
}

.archive-item__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.archive-item__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.archive-item:hover .archive-item__title { color: var(--color-gold); }

.archive-item__excerpt {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.9;
}

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__image { order: 1; }
  .split--reverse .split__text  { order: 2; }
  .split__image { min-height: 380px; }
  .split__text { padding: 60px 32px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .section { padding: 70px 0; }
  .brand-intro { padding: 80px 0; }
}

@media (max-width: 640px) {
  .main-nav, .header__ext { display: none; }
  .main-nav.is-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13,13,13,0.98);
    z-index: 1500;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .main-nav.is-open ul {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .main-nav.is-open a {
    font-size: 1.2rem;
  }
  .hamburger { display: flex; }
  .news-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .archive-item { grid-template-columns: 1fr; gap: 8px; }
  .hero__title { font-size: 2.8rem; }
  .section { padding: 60px 0; }
}


/* ===================================================
   POST THUMBNAILS
=================================================== */
.post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--color-black);
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .post-thumb img, .archive-item:hover .post-thumb img {
  transform: scale(1.05);
}
.post-thumb__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.archive-item .post-thumb {
  margin-bottom: 0;
  aspect-ratio: 1 / 1;
}
.post-hero__thumb {
  width: 100%;
  max-width: var(--max-w);
  margin: 40px auto 0;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--color-black);
}
.post-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero__thumb .post-thumb__fallback {
  font-size: 2rem;
}

.footer__legal ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
