/* =========================================================
   Arizona.co.jp — site.css
   Glamorous magazine styling / mobile-first / Japanese-friendly
   ========================================================= */

:root {
  --bg: #f8f2ea;
  --bg-soft: #fffaf4;
  --paper: #fffdf9;
  --ink: #1f1a17;
  --ink-soft: #5f554d;
  --line: rgba(61, 38, 24, 0.12);

  --brand: #8f3b20;
  --brand-deep: #5c2414;
  --accent: #d98c3a;
  --gold: #b88b3a;
  --cactus: #566b50;
  --sky: #dbe8f2;
  --night: #151827;

  --hero-shadow: linear-gradient(
    to top,
    rgba(16, 11, 8, 0.72) 0%,
    rgba(16, 11, 8, 0.45) 35%,
    rgba(16, 11, 8, 0.12) 60%,
    rgba(16, 11, 8, 0.02) 100%
  );

  --radius-xs: 10px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;

  --shadow-sm: 0 8px 22px rgba(46, 26, 16, 0.08);
  --shadow-md: 0 16px 38px rgba(46, 26, 16, 0.12);
  --shadow-lg: 0 24px 60px rgba(46, 26, 16, 0.16);

  --content: 1180px;
  --content-wide: 1320px;
  --reading: 760px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --serif: Georgia, "Times New Roman", "Hiragino Mincho ProN",
    "Yu Mincho", "YuMincho", serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(217, 140, 58, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(143, 59, 32, 0.07), transparent 30%),
    linear-gradient(to bottom, #fbf5ee 0%, #f7f0e8 35%, #fbf8f4 100%);
  font-family: var(--sans);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus {
  opacity: 0.88;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  background: rgba(217, 140, 58, 0.2);
  color: var(--ink);
}

/* Layout helpers */
.container,
.wrap {
  width: min(calc(100% - 28px), var(--content));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - 28px), var(--content-wide));
  margin-inline: auto;
}

.reading {
  width: min(calc(100% - 28px), var(--reading));
  margin-inline: auto;
}

.section {
  padding: 42px 0;
}

.section-tight {
  padding: 26px 0;
}

.section-lg {
  padding: 64px 0;
}

.surface {
  background: rgba(255, 253, 249, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.soft-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,250,244,0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 244, 0.8);
  border-bottom: 1px solid rgba(61, 38, 24, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 248, 241, 0.94);
  box-shadow: 0 10px 30px rgba(46, 26, 16, 0.08);
  border-color: rgba(61, 38, 24, 0.12);
}

.header-inner {
  width: min(calc(100% - 22px), var(--content-wide));
  margin-inline: auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #ffd59f, #d98c3a 42%, #8f3b20 85%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5), 0 8px 20px rgba(143, 59, 32, 0.22);
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
}

.brand-subtitle {
  margin: 2px 0 0;
  font-size: 0.74rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  position: relative;
}

.nav-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle .bar {
  width: 18px;
  height: 2px;
  background: var(--ink);
  display: block;
  border-radius: 999px;
  margin: 3px 0;
}

.nav-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(88vw, 320px);
  list-style: none;
  margin: 0;
  padding: 10px;
  background: rgba(255, 252, 247, 0.98);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  display: none;
}

.site-nav.is-open .nav-menu {
  display: block;
}

.nav-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background: rgba(217, 140, 58, 0.1);
  color: var(--brand-deep);
  opacity: 1;
}

/* Hero */
.hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  overflow: clip;
  background: #2a1b14;
}

.hero.hero-short {
  min-height: 48svh;
}

.hero-media,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-shadow);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 28px), var(--content-wide));
  margin-inline: auto;
  padding: 34px 0 30px;
  color: #fff9f1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 7.3vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.hero .lead,
.page-lead {
  margin: 14px 0 0;
  width: min(100%, 760px);
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  line-height: 1.95;
  color: rgba(255, 247, 238, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* Buttons */
.button,
.btn {
  appearance: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.button:hover,
.btn:hover {
  transform: translateY(-1px);
}

.button-primary,
.btn-primary {
  background: linear-gradient(180deg, #c67c39, #8f3b20);
  color: #fff;
  box-shadow: 0 14px 30px rgba(143, 59, 32, 0.26);
}

.button-secondary,
.btn-secondary {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}

.button-light,
.btn-light {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: var(--shadow-sm);
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--ink);
  text-wrap: balance;
}

h2.section-title,
.section-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4.8vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.section-intro,
.section-dek {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.95;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

p {
  margin: 0 0 1.1em;
}

.lead-copy {
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 2;
}

.text-muted {
  color: var(--ink-soft);
}

/* Editorial blocks */
.intro-card {
  padding: 22px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,250,244,0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.pullquote {
  margin: 0;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(217, 140, 58, 0.10), rgba(184, 139, 58, 0.06));
  border: 1px solid rgba(184, 139, 58, 0.18);
  box-shadow: var(--shadow-sm);
}

.pullquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 4vw, 1.9rem);
  line-height: 1.55;
}

.pullquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Grid systems */
.grid {
  display: grid;
  gap: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

/* Cards */
.card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,251,246,0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(143, 59, 32, 0.18);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px 16px 20px;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card h3,
.card-title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.28;
}

.card p {
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: 0;
}

/* Feature cards */
.feature-card {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: var(--shadow-lg);
  background: #2b1e17;
}

.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(21, 12, 9, 0.82) 0%, rgba(21, 12, 9, 0.22) 55%, rgba(21, 12, 9, 0.03) 100%);
}

.feature-card-body {
  position: relative;
  z-index: 1;
  padding: 22px 18px 20px;
  color: #fffaf2;
}

.feature-card h3 {
  color: #fffaf2;
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2.05rem);
}

.feature-card p {
  color: rgba(255,247,238,0.9);
  margin: 0;
}

/* Horizontal scroller */
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.scroller > * {
  scroll-snap-align: start;
}

.scroller::-webkit-scrollbar {
  height: 8px;
}

.scroller::-webkit-scrollbar-thumb {
  background: rgba(143, 59, 32, 0.24);
  border-radius: 999px;
}

.scroller-hint {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

/* Chips / tags */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

/* Article content */
.article {
  padding: 24px 0 10px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.article-body {
  font-size: 1rem;
}

.article-body p {
  line-height: 2;
}

.article-body h2 {
  margin: 2.2em 0 0.6em;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.2vw, 2.25rem);
  line-height: 1.25;
}

.article-body h3 {
  margin: 1.8em 0 0.55em;
  font-size: 1.2rem;
  line-height: 1.35;
}

.article-body ul,
.article-body ol {
  padding-left: 1.25em;
  margin: 0 0 1.2em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body figure {
  margin: 24px 0;
}

.article-body figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Split layouts */
.split {
  display: grid;
  gap: 18px;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  padding: 4px 0;
}

/* Ranking / list */
.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.rank-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.rank-no {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(180deg, #c67c39, #8f3b20);
  box-shadow: 0 10px 20px rgba(143,59,32,0.2);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 14px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: rgba(143, 59, 32, 0.06);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  padding: 42px 0 60px;
  margin-top: 30px;
  background:
    linear-gradient(180deg, rgba(92,36,20,0.02), rgba(92,36,20,0.08));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.footer-card {
  padding: 18px;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.footer-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.26);
  background: rgba(92, 36, 20, 0.84);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility */
.center {
  text-align: center;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Desktop */
@media (min-width: 720px) {
  .section {
    padding: 54px 0;
  }

  .section-lg {
    padding: 82px 0;
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .scroller {
    grid-auto-columns: 42%;
  }
}

@media (min-width: 980px) {
  .header-inner {
    min-height: 78px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    width: auto;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-menu a {
    padding: 10px 12px;
    font-size: 0.96rem;
  }

  .hero-inner {
    padding: 64px 0 48px;
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-card {
    min-height: 520px;
  }

  .card-body {
    padding: 20px 18px 22px;
  }

  .scroller {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
