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

:root {
  /* === DEEP SAGE BASE === */
  --bg: #e8ecdf;
  --bg-soft: #d9dfcc;
  --panel: #f6f7f1;
  --line: #b9c3a8;
  --text: #1c1a14;
  --text-soft: #3f3a31;
  --muted: #7a8072;
  --brand: #173024;
  --brand-soft: #cdd6c0;
  --accent: #b9744a;
  --font-sans: 'Noto Sans JP', system-ui, sans-serif;
  --font-serif: 'Noto Serif JP', 'Cormorant Garamond', serif;
  --font-display: 'Cormorant Garamond', 'Noto Serif JP', serif;
}

html { scroll-behavior: smooth; }

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

a { color: inherit; text-decoration: none; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(232, 236, 223, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  background: rgba(232, 236, 223, 0.96);
  box-shadow: 0 8px 28px rgba(23, 48, 36, 0.12);
}

.logo-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand);
}
.logo-mini-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--brand);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}
.logo-mini-box.small {
  width: 24px;
  height: 24px;
  font-size: 0.95rem;
}
.logo-mini-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-header nav {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.site-header nav a {
  color: var(--text-soft);
  transition: color 0.2s;
  position: relative;
}
.site-header nav a:hover { color: var(--brand); }
.site-header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.3s;
}
.site-header nav a:hover::after { width: 100%; }

/* ============ MAIN ============ */
main { position: relative; }

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.2rem 2.5rem;
}

.section-head {
  margin-bottom: 2.4rem;
  position: relative;
  padding: 0 0 1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}
.section-head::before {
  content: attr(data-bg);
  position: absolute;
  left: -0.8rem;
  bottom: -1.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 11rem;
  line-height: 0.85;
  color: var(--brand);
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.section-head::after {
  content: attr(data-num);
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--brand);
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.section-head .section-label {
  position: relative;
  z-index: 1;
}
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.contact-label {
  font-size: 2.4rem;
}

/* Full-width dark section wrapper (Vision) */
.section-dark {
  background: var(--brand);
  color: white;
  padding: 0;
  margin: 0;
}
.section-dark .section-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.8rem 2.5rem;
}
.section-dark .section-head { border-left-color: white; }
.section-dark .section-head h2 { color: white; }
.section-dark .section-label { color: var(--accent); }

/* ============ HERO ============ */
.hero {
  background: var(--brand);
  color: white;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: nowrap;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex: 0 1 auto;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s forwards;
}
.brand-right {
  flex: 0 0 auto;
}
.brand-logo {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  border: 4px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 9rem;
  line-height: 1;
  color: white;
}
.brand-text {
  display: flex;
  align-items: baseline;
  gap: 2.2rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}
.brand-tagline {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.8rem;
  letter-spacing: 0.02em;
}

.brand-right {
  flex: 0 0 auto;
  opacity: 0;
  animation: fadeIn 1s 0.5s forwards;
  display: flex;
  align-items: center;
}
.mascot-img {
  width: 600px;
  height: auto;
  display: block;
  animation: bobbing 5s ease-in-out infinite;
}

@keyframes bobbing {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 0.9rem 0;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  padding-left: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: var(--brand);
}
.marquee-track .dot {
  color: var(--accent);
  font-style: normal;
  font-size: 0.75rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.about-grid .section-head {
  margin-bottom: 0;
  position: sticky;
  top: 6rem;
}
.about-body {
  max-width: 540px;
}
.about-body p {
  font-size: 1.08rem;
  color: var(--text-soft);
  margin-bottom: 1.3rem;
  line-height: 1.9;
}
.about-message {
  margin-top: 1.6rem;
}
.about-message p {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.95;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}
.about-message p:last-child {
  margin-bottom: 0;
  color: var(--brand);
  font-weight: 700;
}

.about-body .has-dropcap::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 0.9;
  float: left;
  color: var(--brand);
  margin: 0.32rem 0.7rem -0.2rem 0;
}
.about-body strong {
  color: var(--brand);
  font-weight: 700;
}
.about-note {
  margin-top: 0.8rem;
  font-size: 0.92rem !important;
  color: var(--muted) !important;
}
.about-note a {
  color: var(--brand);
  font-weight: 700;
  border-bottom: 1px solid var(--brand);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.about-note a:hover { opacity: 0.7; }

/* ============ VISION ============ */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.vision-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem 1.8rem;
  transition: all 0.3s;
}
.vision-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}
.vision-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: white;
}
.vision-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ============ WORKS (2x2 grid, sage bg) ============ */
.works-section {
  background: var(--bg-soft);
}
.works-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.2rem 2.5rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

/* ----- Featured work (editorial) ----- */
.work-feature {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.4rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 2.6rem 2.4rem;
  margin-bottom: 1.8rem;
  color: inherit;
  transition: all 0.3s;
  position: relative;
}
.work-feature::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--line);
  pointer-events: none;
  transition: border-color 0.3s;
}
.work-feature:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(31, 58, 46, 0.10);
}
.work-feature:hover::before { border-color: var(--brand-soft); }
.work-feature:hover .work-feature-cta span { transform: translateX(6px); }

.work-feature-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.work-feature-icon {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(31, 58, 46, 0.18);
}
.work-feature-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.work-feature-num {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: white;
  background: var(--brand);
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}
.work-feature-tag {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  text-transform: uppercase;
}
.work-feature-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text);
  letter-spacing: 0.01em;
}
.work-feature-desc {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.3rem;
}
.work-feature-cta {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--brand);
  padding-bottom: 2px;
}
.work-feature-cta span {
  transition: transform 0.2s;
  display: inline-block;
}

/* ----- Sub works (3列) ----- */
.works-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.works-sub .work-item { aspect-ratio: auto; }

.work-item {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1.8rem;
  aspect-ratio: 1 / 1;
  transition: all 0.3s;
  color: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.work-item:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(31, 58, 46, 0.08);
}
.work-item-released:hover .work-item-cta span { transform: translateX(6px); }

.work-item-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(31, 58, 46, 0.12);
}

.work-item-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: white;
  background: var(--brand);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}
.work-item-tag.soon {
  font-style: normal;
  background: var(--brand-soft);
  color: var(--brand);
}

.work-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.4;
}
.work-item-desc {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}
.work-item-cta {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.work-item-cta span {
  transition: transform 0.2s;
  display: inline-block;
}

.work-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2.2rem;
  transition: all 0.3s;
  color: inherit;
  position: relative;
}
.work-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.work-icon {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(31, 58, 46, 0.18);
}
.work-body {
  flex: 1 1 auto;
  min-width: 0;
}
.work-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.work-card:hover .work-cta span { transform: translateX(6px); }

.work-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--accent);
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

@media (max-width: 600px) {
  .work-card { flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 1.8rem; }
  .work-icon { width: 96px; height: 96px; }
}
.work-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: white;
}
.work-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.4rem;
  font-size: 0.97rem;
}
.work-cta {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.work-cta span {
  transition: transform 0.2s;
  display: inline-block;
}

/* ============ SHOP NOTICE ============ */
.shop-notice {
  margin-top: 2rem;
  padding: 1.2rem 1.6rem;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.shop-notice-label {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  flex: 0 0 auto;
}
.shop-notice-text {
  color: var(--text-soft);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.shop-notice-text strong {
  color: var(--brand);
  font-weight: 700;
}
.shop-notice-soon {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: white;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
}

/* ============ BLOG ============ */
.blog-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 2.5rem;
  transition: all 0.3s;
  color: inherit;
}
.blog-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}
.blog-card:hover .blog-cta span { transform: translateX(6px); }

.blog-meta {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.blog-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.blog-desc {
  color: var(--text-soft);
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}
.blog-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-cta span {
  transition: transform 0.2s;
  display: inline-block;
}

/* ============ CONTACT ============ */
.contact-inner {
  text-align: center;
  padding: 3rem 2rem 3rem;
  background: var(--brand-soft);
  border-radius: 4px;
  position: relative;
}
.contact-mascot {
  display: block;
  width: 90px;
  height: auto;
  margin: -3.5rem auto 0.6rem;
  animation: bobbing 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(42, 40, 35, 0.15));
}
.contact-num {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.4rem auto 1.4rem;
  color: var(--accent);
}
.ornament::before,
.ornament::after {
  content: '';
  height: 1px;
  width: 64px;
  background: var(--accent);
  opacity: 0.6;
}
.ornament span { font-size: 0.95rem; }

.contact-inner .section-label { margin-bottom: 0.5rem; }
.contact-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1rem;
}
.contact-inner p {
  color: var(--text-soft);
  margin-bottom: 2rem;
}
.contact-note {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.contact-mail {
  margin-top: 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.25s;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.btn span {
  transition: transform 0.2s;
  display: inline-block;
}
.btn:hover span { transform: translateX(4px); }

.btn-primary {
  background: var(--brand);
  color: white;
}
.btn-primary:hover {
  background: #2a4a3c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 58, 46, 0.25);
}

/* ============ SCROLL NAV ============ */
.scroll-nav {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.scroll-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 247, 241, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--brand);
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  font: inherit;

  /* default: hidden, fades in when .is-visible */
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.35s ease,
              transform 0.35s ease,
              background 0.25s,
              color 0.25s,
              border-color 0.25s,
              box-shadow 0.25s;
}
.scroll-btn.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-btn:hover {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 58, 46, 0.18);
}
.scroll-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .scroll-nav { right: 1rem; bottom: 1rem; }
  .scroll-btn { width: 40px; height: 40px; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.2rem 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-copy {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1400px) {
  .mascot-img { width: 380px; }
  .brand-logo { width: 160px; height: 160px; }
  .brand-n { font-size: 7rem; }
  .brand-tagline { font-size: 2.4rem; }
  .brand-name { font-size: 3rem; }
  .brand-text { gap: 1.6rem; }
  .brand-left { gap: 1.4rem; }
}

@media (max-width: 1100px) {
  .hero-inner { padding: 2rem 2rem; gap: 1.5rem; }
  .mascot-img { width: 280px; }
  .brand-logo { width: 130px; height: 130px; }
  .brand-n { font-size: 5.5rem; }
  .brand-tagline { font-size: 2rem; }
  .brand-name { font-size: 2.5rem; }
  .brand-text { gap: 1.2rem; }
  .brand-left { gap: 1.2rem; }
}

@media (max-width: 880px) {
  .hero-inner {
    gap: 1.5rem;
    padding: 1.5rem;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .brand-left { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .brand-text { gap: 1rem; white-space: normal; justify-content: center; }
  .mascot-img { width: 220px; }
  .brand-logo { width: 100px; height: 100px; }
  .brand-n { font-size: 4.2rem; }
  .brand-tagline { font-size: 1.6rem; }
  .brand-name { font-size: 2.1rem; }
}

@media (max-width: 500px) {
  .hero-inner { justify-content: center; gap: 1rem; }
  .mascot-img { width: 160px; }
  .brand-logo { width: 80px; height: 80px; }
  .brand-n { font-size: 3.4rem; }
  .brand-tagline { font-size: 1.3rem; }
  .brand-name { font-size: 1.8rem; }
}

@media (max-width: 980px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .site-header { padding: 0.8rem 1.5rem; }
  .site-header nav { gap: 1.2rem; font-size: 0.85rem; }
  .section { padding: 3rem 1.5rem; }
  .vision-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .works-sub { grid-template-columns: 1fr; }
  .work-feature {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 2rem 1.6rem;
  }
  .work-feature-media { padding: 0; }
  .work-feature-icon { width: 120px; height: 120px; border-radius: 22px; }
  .work-feature-title { font-size: 1.6rem; }
  .work-item { aspect-ratio: auto; }
  .section-label { font-size: 2.4rem; }
  .section-head::after { font-size: 0.8rem; }
  .contact-label { font-size: 1.9rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-grid .section-head { position: static; }
  .contact-mascot { width: 72px; margin-top: -2.8rem; }
  .works-inner { padding: 3rem 1.5rem; }
  .marquee-track { font-size: 0.92rem; gap: 1.4rem; }
  .ornament::before, .ornament::after { width: 40px; }
}

@media (max-width: 500px) {
  .site-header nav a:nth-child(2),
  .site-header nav a:nth-child(3) { display: none; }
}
