/*
Theme Name: Miyazaki Nagano Premium LP
Theme URI: https://miyazakinagano.jp/
Author: Nagano Furniture
Description: 極上大人リビングプロデュース個別相談会 — 高級家具・インテリアコーディネート向けランディングページ（完全ハードコーディング）
Version: 1.0.2
License: GNU General Public License v2 or later
Text Domain: miyazakinagano-pz
*/

/* ==========================================================================
   Base & Typography (Tailwind CDN と併用)
   ========================================================================== */

:root {
  --color-base: #f8f7f5;
  --color-base-alt: #eeedeb;
  --color-charcoal: #1a1a1a;
  --color-charcoal-soft: #2d2d2d;
  --color-navy: #1e2a3a;
  --color-brown: #3d3229;
  --color-muted: #6b6b6b;
  --font-serif: "Noto Serif JP", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-charcoal-soft);
  background-color: var(--color-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
  overflow-x: clip;
  max-width: 100%;
}

main {
  overflow-x: clip;
  max-width: 100%;
}

/* グリッド・フレックス内の画像はみ出し防止 */
main img,
main video,
main picture {
  max-width: 100%;
  height: auto;
}

main .grid > *,
main .grid > article,
main [class*="grid-cols"] > * {
  min-width: 0;
}

/* エディトリアル左揃えグリッド — WP / Tailwind 競合を上書き */
main,
main section,
main .section-head,
main .section-head h2,
main .section-head p,
footer.mnpz-footer {
  text-align: left;
}

main .en-headline {
  text-align: left;
  display: block;
}

.font-serif {
  font-family: var(--font-serif);
}

/* 英字見出し + 日本語サブ */
.en-headline {
  font-family: var(--font-serif);
  letter-spacing: 0.12em;
  line-height: 1.05;
}

.ja-sub {
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Hero & Overlays
   ========================================================================== */

.hero-gradient {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.35) 45%,
    rgba(248, 247, 245, 0.92) 100%
  );
}

.section-dark {
  background-color: var(--color-charcoal);
  color: #f0efed;
}

/* ==========================================================================
   Buttons & CTA
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background-color: var(--color-navy);
  border: 1px solid transparent;
  transition: background-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.btn-primary:hover {
  background-color: var(--color-brown);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(30, 42, 58, 0.25);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 3px;
}

/* モバイル CTA — タップしやすいフル幅 */
.btn-primary--cta {
  min-height: 3.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

@media (min-width: 640px) {
  .btn-primary--cta {
    min-height: auto;
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   Editorial Components
   ========================================================================== */

.quote-block {
  border-left: 3px solid var(--color-charcoal);
  padding-left: 1.5rem;
}

.card-luxury {
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  overflow: visible;
}

.card-luxury:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Two Secrets — Tailwind カスタム色に依存せず文字を確実に表示 */
.secret-card {
  background: #fff;
  color: var(--color-charcoal-soft);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.secret-card .secret-num {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1;
  color: rgba(30, 42, 58, 0.35);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.secret-card .secret-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-charcoal);
  font-weight: 400;
}

@media (min-width: 640px) {
  .secret-card .secret-title {
    font-size: 1.25rem;
  }
}

.secret-card .secret-body {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--color-charcoal-soft);
}

@media (min-width: 640px) {
  .secret-card .secret-body {
    margin-top: 1.5rem;
    font-size: 1rem;
  }
}

/* 基準カード — 本文色を明示 */
.criteria-card {
  color: var(--color-charcoal-soft);
}

.criteria-card h3 {
  color: var(--color-charcoal);
}

.criteria-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(30, 42, 58, 0.12);
  font-weight: 300;
}

.divider-thin {
  height: 1px;
  background: linear-gradient(90deg, transparent, #c8c6c3, transparent);
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* 目次ナビ */
.toc-link {
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.toc-link:hover {
  color: var(--color-navy);
  padding-left: 0.5rem;
}

/* ==========================================================================
   WordPress 最小リセット
   ========================================================================== */

.wp-site-blocks,
.entry-content {
  margin: 0;
  padding: 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
