/*
Theme Name: Phoenix Official
Theme URI: https://phoenix-japan.tokyo/
Author: pHoenix Inc.
Description: Custom theme faithfully recreating the pHoenix Canva landing page with fixed translucent header and branded sections.
Version: 1.0
Text Domain: phoenix-official
*/

:root {
  --phoenix-navy: #0b1020;
  --phoenix-gold: #c9a86a;
  --phoenix-bg-light: #f7f7fb;
  --phoenix-text-main: #222222;
  --phoenix-text-sub: #444444;
  --phoenix-max-width: 1120px;
  --phoenix-radius-large: 32px;
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--phoenix-text-main);
  background-color: #ffffff;
}

/* Layout helpers */
.phx-container {
  max-width: var(--phoenix-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: background-color 0.28s ease, box-shadow 0.28s ease, height 0.28s ease;
}

.site-header-inner {
  width: 100%;
  max-width: var(--phoenix-max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-branding img {
  height: 40px;
  width: auto;
  display: block;
}

.site-title-text {
  font-family: "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 14px;
  color: #ffffff;
  white-space: nowrap;
}

/* Header scrolled */
.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  height: 68px;
}

.site-header.scrolled .site-branding img {
  height: 34px;
}

/* Simple nav placeholder (optional) */
.site-nav {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.12em;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* Main wrapper (offset for fixed header) */
.site-main {
  padding-top: 76px;
}

/* Hero Section */
.phx-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.phx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/img/bg-hero-splash.png");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.phx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.0), rgba(0,0,0,0.45));
  z-index: -1;
}

.phx-hero-inner {
  max-width: 880px;
  padding: 80px 20px 120px;
}

.phx-hero-logo {
  margin-bottom: 32px;
}

.phx-hero-logo img {
  max-width: 260px;
  width: 80%;
  height: auto;
}

.phx-hero-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: clamp(28px, 3.0vw, 40px);
  letter-spacing: 0.16em;
  line-height: 1.4;
  margin-bottom: 28px;
}

.phx-hero-lead {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}

.phx-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.phx-btn-primary,
.phx-btn-secondary {
  min-width: 180px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.phx-btn-primary {
  background-color: #111827;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.28);
}

.phx-btn-secondary {
  background-color: rgba(255,255,255,0.04);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.7);
}

.phx-btn-primary:hover,
.phx-btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

/* Feather / Brand Story */
.phx-section {
  padding: 96px 0;
}

.phx-section--story {
  position: relative;
  color: #222222;
}

.phx-section--story::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/img/bg-feather.png");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.phx-section--story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.94), rgba(255,255,255,0.1));
  z-index: -1;
}

.phx-story-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 72px 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.phx-section-label {
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 12px;
  color: #555555;
}

.phx-section-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  font-size: 24px;
  letter-spacing: 0.16em;
  margin-bottom: 24px;
}

.phx-story-body {
  font-size: 14px;
  line-height: 2.0;
  letter-spacing: 0.06em;
}

/* Philosophy /髴ｧ */
.phx-section--philosophy {
  position: relative;
}

.phx-section--philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/img/bg-philosophy.png");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  z-index: -2;
}

.phx-section--philosophy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.96));
  z-index: -1;
}

.phx-philosophy-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 48px 56px;
  border-radius: var(--phoenix-radius-large);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.phx-philosophy-text {
  font-size: 15px;
  line-height: 2.0;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}

.phx-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid #333333;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: #222222;
  background-color: #ffffff;
}

/* Business Domains */
.phx-section--business {
  position: relative;
}

.phx-section--business::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/img/bg-business.png");
  background-size: cover;
  background-position: center;
  opacity: 0.96;
  z-index: -2;
}

.phx-section--business::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.98), rgba(255,255,255,0.96));
  z-index: -1;
}

.phx-business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.phx-business-card {
  background: rgba(255,255,255,0.96);
  border-radius: 26px;
  padding: 24px 24px 26px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
}

.phx-business-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: #c0b9aa;
  margin-bottom: 6px;
}

.phx-business-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 17px;
  margin-bottom: 10px;
}

.phx-business-body {
  font-size: 13px;
  line-height: 1.9;
  color: #444444;
}

/* Company section */
.phx-section--company {
  background-color: #ffffff;
}

.phx-company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.phx-company-card {
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 28px 28px 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.phx-company-title-small {
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #999;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.phx-company-heading {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 18px;
  margin-bottom: 16px;
}

.phx-company-table {
  font-size: 13px;
  line-height: 2.0;
}

.phx-company-table dt {
  font-weight: 600;
}

.phx-company-table dd {
  margin: 0 0 4px;
}

/* Footer */
.site-footer {
  background-color: #050814;
  color: rgba(255,255,255,0.7);
  padding: 32px 0 40px;
  font-size: 12px;
}

.site-footer-inner {
  max-width: var(--phoenix-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 880px) {
  .phx-story-card {
    border-radius: 40px;
    padding: 48px 24px;
  }
  .phx-business-grid,
  .phx-company-grid {
    grid-template-columns: 1fr;
  }
  .site-header-inner {
    padding-inline: 16px;
  }
  .site-nav {
    display: none;
  }
  .phx-hero-inner {
    padding-top: 96px;
  }
}


/* === Legal pages & footer links (added) === */
.site-footer {
  background-color: #050814;
  color: rgba(255,255,255,0.78);
  padding: 32px 0 40px;
  font-size: 12px;
}

.site-footer-inner {
  max-width: var(--phoenix-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Legal common */
.phx-legal-hero {
  padding: 72px 0 32px;
  background: linear-gradient(135deg, #f7f4ec, #ffffff);
  border-bottom: 1px solid #e5e0d4;
}

.phx-legal-hero-inner {
  max-width: var(--phoenix-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.phx-legal-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8f8469;
  margin-bottom: 8px;
}

.phx-legal-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: 0.16em;
  margin: 0 0 8px;
}

.phx-legal-sub {
  font-size: 13px;
  color: #666;
}

.phx-legal-main {
  max-width: var(--phoenix-max-width);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.phx-legal-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 28px 24px 32px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

/* Notice list */
.phx-notice-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.phx-notice-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #e5e0d4;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.phx-notice-meta {
  font-size: 12px;
  color: #7b7564;
}

.phx-notice-title {
  font-size: 14px;
  font-weight: 600;
}

.phx-notice-actions {
  display: flex;
  gap: 10px;
}

.phx-btn-outline {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #b6a47c;
  background: #fff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #64583c;
}

.phx-btn-outline:hover {
  background: #f5efe0;
}

/* Privacy policy */
.phx-privacy-body {
  font-size: 13px;
  line-height: 1.9;
  color: var(--phoenix-text-main);
}

.phx-privacy-body h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 16px;
  margin-top: 24px;
  margin-bottom: 6px;
}

.phx-privacy-body p,
.phx-privacy-body ul {
  margin-top: 6px;
  margin-bottom: 6px;
}

.phx-privacy-body ul {
  padding-left: 1.3em;
}

.phx-privacy-note {
  margin-top: 16px;
  font-size: 12px;
  color: #777;
}

/* Responsive tweaks */
@media (max-width: 880px) {
  .phx-legal-card {
    padding-inline: 18px;
  }
}