/* ============================================================
   essence.css — Premium Deep Scent Style (2026 Complete)
============================================================ */
:root {
  --color-bg: #003366;
  --color-nuance: #f8f7f3;
  --color-text: #e4e2d9;
  --color-accent: #d4af37;

  --navy-border: rgba(248, 247, 243, 0.08);
  --navy-surface: rgba(248, 247, 243, 0.03);

  --font-display: "Cormorant Garamond", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── 背景の静かな光 ── */
.sunset-glow-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.glow-orb-1 {
  position: absolute;
  width: 55vw;
  height: 55vw;
  top: -15%;
  right: -10%;
  background: radial-gradient(
    circle,
    rgba(230, 126, 34, 0.06) 0%,
    rgba(255, 179, 71, 0.02) 50%,
    transparent 70%
  );
  filter: blur(60px);
}
.glow-orb-2 {
  position: absolute;
  width: 45vw;
  height: 45vw;
  bottom: -10%;
  left: -5%;
  background: radial-gradient(
    circle,
    rgba(248, 247, 243, 0.04) 0%,
    transparent 60%
  );
  filter: blur(50px);
}
.grain-texture {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(0, 51, 102, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-border);
  transition: background 0.4s ease;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 2px;
}
.nav-logo span {
  background: linear-gradient(135deg, #00d4ff 0%, #003366 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-logo-icon {
  width: 28px;
  height: 28px;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(228, 226, 217, 0.7);
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #ffffff;
}
.nav-links a.active {
  color: var(--color-accent);
}
.nav-cta {
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: var(--color-accent) !important;
  padding: 7px 20px;
  border-radius: 20px;
  transition: background 0.2s ease !important;
}
.nav-cta:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* ── HERO（重なり防止の完全調整） ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 160px;
  z-index: 2;
}
.hero-content {
  max-width: 640px;
  margin-bottom: 40px;
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.eyebrow-text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--color-accent);
  text-transform: uppercase;
}
.eyebrow-line {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(212, 175, 55, 0.35);
}
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.title-ja {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: 3px;
  line-height: 1.3;
}
.title-gold {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 3px;
  line-height: 1.3;
  background: linear-gradient(
    135deg,
    #e0ba6a 0%,
    var(--color-accent) 60%,
    rgba(212, 175, 55, 0.6) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.title-en {
  font-family: var(--font-display);
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 3px;
  opacity: 0.4;
  margin-top: 8px;
}
.hero-desc {
  font-size: 15px;
  line-height: 2;
  opacity: 0.8;
  margin-bottom: 40px;
}
.hero-cta {
  display: inline-block;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 2px;
  padding: 14px 40px;
  border-radius: 32px;
  transition: all 0.3s ease;
}
.hero-cta:hover {
  background: var(--color-accent);
  color: #002244;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.hero-scroll-hint span {
  font-size: 9px;
  letter-spacing: 3px;
  opacity: 0.4;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── COMMON ── */
.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}
.section-lead {
  font-size: 14px;
  opacity: 0.8;
  line-height: 2;
  margin-bottom: 40px;
  max-width: 680px;
}

/* ── CONCEPT ── */
.concept {
  padding: 120px 0;
  border-top: 1px solid var(--navy-border);
  position: relative;
  z-index: 2;
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.concept-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  line-height: 1.4;
  margin-top: 8px;
}
.concept-title em {
  font-style: italic;
  color: var(--color-accent);
}
.concept-right p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 2;
  margin-bottom: 20px;
}
.concept-divider {
  width: 40px;
  height: 1px;
  background: rgba(212, 175, 55, 0.35);
  margin: 28px 0;
}
.concept-quote {
  font-family: var(--font-serif);
  font-size: 15px !important;
  line-height: 2 !important;
  font-weight: 400 !important;
}

/* ── PILLARS & HEALTHLOG PRICING ── */
.pillars {
  padding: 120px 0;
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  position: relative;
  z-index: 2;
}
.pillars-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--navy-border);
}
.pillar-card {
  background: #002b57;
  padding: 48px 36px;
  position: relative;
  transition: background 0.3s ease;
}
.pillar-card::before {
  content: attr(data-num);
  position: absolute;
  top: 36px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: rgba(248, 247, 243, 0.03);
  line-height: 1;
}
.pillar-card:hover {
  background: rgba(248, 247, 243, 0.05);
}
.pillar-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--navy-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(212, 175, 55, 0.5);
  margin-bottom: 28px;
}
.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 16px;
}
.pillar-card p {
  font-size: 13px;
  opacity: 0.75;
  line-height: 2;
}

/* HealthLog 料金ボックス */
.healthlog-pricing-box {
  margin-top: 40px;
  background: rgba(248, 247, 243, 0.04);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.healthlog-plan-tag {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--color-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.healthlog-plan-price {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
}
.healthlog-plan-price .tax {
  font-size: 13px;
  opacity: 0.6;
}
.healthlog-plan-note {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 4px;
}
.btn-trial {
  display: inline-block;
  background: var(--color-accent);
  color: #002244;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 32px;
  font-weight: 400;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
.btn-trial:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
}

/* ── PROCESS & DESIGN PRICE CARDS ── */
.process {
  padding: 120px 0;
  border-top: 1px solid var(--navy-border);
  position: relative;
  z-index: 2;
}
.process-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.process-steps {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--navy-border);
}
.process-step:last-child {
  border-bottom: 1px solid var(--navy-border);
}
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: rgba(212, 175, 55, 0.35);
  line-height: 1;
  padding-top: 4px;
}
.step-body h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 14px;
}
.step-body p {
  font-size: 14px;
  opacity: 0.75;
  line-height: 2;
  max-width: 560px;
}

/* 価格カードグリッド */
.price-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.price-card {
  background: rgba(248, 247, 243, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 28px 24px;
  transition: border-color 0.3s ease;
}
.price-card:hover {
  border-color: var(--color-accent);
}
.price-card-title {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}
.price-card-amount {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: 12px;
}
.price-card-amount .tax {
  font-size: 12px;
  opacity: 0.6;
}
.price-card-desc {
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.8;
}

/* ── QUOTE ── */
.quote-section {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  position: relative;
  z-index: 2;
}
.quote-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 32px;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.6;
  color: rgba(212, 175, 55, 0.35);
  margin-bottom: 32px;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 12px;
}
.quote-sub {
  display: block;
  font-size: clamp(13px, 2vw, 16px);
  font-style: italic;
  opacity: 0.4;
  letter-spacing: 2px;
  margin-top: 8px;
}
.quote-rule {
  width: 40px;
  height: 1px;
  background: rgba(212, 175, 55, 0.35);
  margin: 28px auto;
}
.quote-attr {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--color-accent);
}

/* ── CONTACT ── */
.contact {
  padding: 120px 0;
  border-top: 1px solid var(--navy-border);
  position: relative;
  z-index: 2;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 20px;
}
.contact-left p {
  font-size: 14px;
  opacity: 0.75;
  line-height: 2;
  margin-bottom: 32px;
}
.contact-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-note span {
  font-size: 12px;
  opacity: 0.5;
  padding-left: 16px;
  position: relative;
}
.contact-note span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: var(--color-accent);
}

/* TOPやLogic・Worksと同様のカプセル型カードバッジが必要な場合に備えた共通クラス追加 */
.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.contact-badges span {
  font-size: 11px;
  letter-spacing: 0.3px;
  opacity: 0.8;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 6px 12px;
  border-radius: 14px;
}
.contact-badges a {
  color: var(--color-accent);
  text-decoration: underline;
}

.essence-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ★ 「必須」バッジ：背景 rgba(212, 175, 55, 0.2) / 文字色 var(--color-accent) */
.req {
  font-size: 10px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--color-accent);
  padding: 2px 6px;
  border-radius: 2px;
}
.form-row input,
.form-row select,
.form-row textarea {
  background: rgba(248, 247, 243, 0.03);
  border: 1px solid var(--navy-border);
  border-radius: 6px;
  padding: 14px 16px;
  color: inherit;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: rgba(212, 175, 55, 0.4);
}
.form-select option {
  background: #002244;
  color: #ffffff;
}

/* 🌟 Essence専用：プライバシーポリシー注記カード ＆ 「必須」バッジ色（var(--color-accent)）統一 */
.form-notice-box {
  margin-bottom: 8px;
  padding: 14px 18px;
  background: rgba(212, 175, 55, 0.05); /* うっすらゴールドのカード背景 */
  border: 1px solid rgba(212, 175, 55, 0.2); /* 必須タグと同系統のゴールド枠線 */
  border-radius: 8px; /* カード形状 */
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.form-notice-box p:first-of-type {
  margin-bottom: 4px;
}

.form-notice-box p:last-of-type {
  font-size: 12px;
  opacity: 0.65;
}

/* ★ プライバシーポリシーのリンク色を「必須」タグの文字色 (var(--color-accent)) に完全統一 */
.form-notice-box a {
  color: var(--color-accent);
  font-weight: bold;
  text-decoration: underline;
}

/* 🌟 刷新されたEssenceボタン */
.btn-submit-essence {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #d4af37 0%, #a67c52 100%);
  color: #002244;
  border: none;
  padding: 18px 32px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}
.btn-submit-essence:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
}
.submit-arrow {
  transition: transform 0.3s ease;
}
.btn-submit-essence:hover .submit-arrow {
  transform: translateX(6px);
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--navy-border);
  padding: 48px 0;
  background: rgba(0, 35, 71, 0.5);
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
}
.footer-logo span {
  background: linear-gradient(135deg, #00d4ff 0%, #003366 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-tagline {
  font-size: 11px;
  opacity: 0.4;
  letter-spacing: 1px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.4;
  transition: opacity 0.2s;
}
.footer-nav a:hover {
  opacity: 1;
  color: var(--color-accent);
}
.footer-copy {
  font-size: 11px;
  opacity: 0.3;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.5s var(--ease-out-expo),
    transform 1.5s var(--ease-out-expo);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 140px;
  }
  .concept-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .nav-links li:not(:last-child) {
    display: none;
  }
  .container {
    padding: 0 20px;
  }
}

/* ──────────────────────────────────────────────────────────────
   🖼️ ロゴ画像のサイズ固定・ハレーション防止スタイル
────────────────────────────────────────────────────────────── */

/* ヘッダー全体の高さと配置を固定 */
.nav {
  height: 60px;
  box-sizing: border-box;
}

/* 左側の現在地ロゴ＋テキスト */
.nav-brand-current {
  display: flex;
  align-items: center;
  gap: 10px;
  max-height: 40px;
}

/* 現在地ロゴ画像（フクロウなど）の巨大化を絶対防ぐ設定 */
.nav-logo-img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain;
  flex-shrink: 0;
}

/* 右側のワープアイコン枠 */
.nav-icon-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ワープアイコン内の画像サイズ制限 */
.nav-icon-link img {
  width: 100% !important;
  height: 100% !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain;
}

/* ──────────────────────────────────────────────────────────────
   🛠️ ヘッダー＆ロゴサイズ強制統一リセット（既存スタイル上書き）
────────────────────────────────────────────────────────────── */

/* 1. ヘッダー全体を絶対横並びに固定 */
nav.nav,
#nav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 60px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

/* 2. 左側：SyncGraphyブランドエリア */
nav.nav .nav-brand-current {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  height: 100% !important;
}

/* ★ SyncGraphyロゴのサイズを【32px】に強力固定（巨大化を防止） */
nav.nav .nav-brand-current img,
nav.nav img.nav-logo-img {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}

/* 3. 右側：他モジュールアイコン群を【絶対横並び】にする */
nav.nav .nav-sub-icons {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 右側アイコンの丸枠（36px × 36px） */
nav.nav .nav-icon-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

/* ★ 右側モチーフロゴのサイズを【26px】に拡大補正（SyncGraphyとバランスを統一） */
nav.nav .nav-icon-link img {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  object-fit: contain !important;
}

/* 右端のお問い合わせボタン */
nav.nav .nav-icon-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #00d4ff, #003366) !important;
  text-decoration: none !important;
}

/* ──────────────────────────────────────────────────────────────
   ✉️ CONTACTテキストボタン専用スタイル
────────────────────────────────────────────────────────────── */
nav.nav .nav-cta-text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #00d4ff, #003366) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  letter-spacing: 0.8px !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

/* タップ・クリック時のアニメーション */
nav.nav .nav-cta-text:active {
  transform: scale(0.94) !important;
  box-shadow: 0 1px 4px rgba(0, 212, 255, 0.2) !important;
}

/* ──────────────────────────────────────────────────────────────
   🌌 Essence：うっすら透ける星空背景（薄膜フィルター仕様）
────────────────────────────────────────────────────────────── */

/* 1. 最背層：星空画像を画面全体に追従固定 */
body {
  background: #003366 url("../assets/bg-essence.webp") center center / cover
    no-repeat fixed !important;
  color: var(--color-text, #e4e2d9) !important;
  position: relative;
}

/* 2. 背景色（#003366）の薄膜フィルターを文字との間に挟む */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  /* ★ #003366 を82%重ねて、星空を18%だけうっすら透けさせる */
  background: rgba(0, 51, 102, 0.75) !important;
  z-index: 0;
  pointer-events: none;
}

/* 3. 既存の光演出・コンテンツをフィルターの上に持ち上げる */
.sunset-glow-overlay {
  z-index: 1 !important;
}

main,
section,
nav,
footer {
  position: relative;
  z-index: 2;
}
