/*
Theme Name: NM Classic Elegant
Theme URI: https://nakagawa-miwa.com/
Author: f.mignon
Author URI: https://f-mignon.net/
Description: 中川美和公式サイト用オリジナルテーマ。白・アイボリー・ゴールドを基調にしたクラシックで上品なデザイン。
Version: 1.0.0
Text Domain: nm-classic-elegant
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --nm-bg: #f8f4ee;
  --nm-bg-soft: #DFE3FB;
  --nm-bg-white: #ffffff;
  --nm-text: #2d2620;
  --nm-text-soft: #5f554c;
  --nm-muted: #8a7c70;
  --nm-line: #e4ddd2;
  --nm-line-dark: #cfc3b4;
  --nm-accent: #b89b5e;
  --nm-accent-dark: #8f7440;
  --nm-brown: #3a3028;
  --nm-brown-soft: #5a4a3d;
  --nm-shadow: 0 18px 45px rgba(58, 48, 40, 0.12);
  --nm-radius: 20px;
  --nm-radius-sm: 12px;
  --nm-content: 1200px;
  --nm-serif: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --nm-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--nm-bg);
  color: var(--nm-text);
  font-family: var(--nm-sans);
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--nm-accent-dark);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--nm-brown);
}

p {
  margin: 0 0 1.2em;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 1.4em;
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.35em;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  vertical-align: top;
}

.screen-reader-text {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  white-space: nowrap;
}

.nm-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nm-main {
  flex: 1;
}

.nm-container {
  width: min(100% - 40px, var(--nm-content));
  margin: 0 auto;
}

.nm-section {
  padding: 84px 0;
}

.nm-section--soft {
  background: var(--nm-bg-soft);
}

.nm-section--white {
  background: var(--nm-bg-white);
}

.nm-section__header {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.nm-section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--nm-accent-dark);
  font-family: var(--nm-serif);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nm-section__kicker::before,
.nm-section__kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--nm-accent);
}

.nm-section__title {
  margin: 0 0 14px;
  font-family: var(--nm-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.nm-section__lead {
  margin: 0;
  color: var(--nm-text-soft);
  font-size: 1rem;
}

.nm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 247, 254, 0.99);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228, 221, 210, 0.9);
}

.nm-header__inner {
  width: min(100% - 36px, 1180px);
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nm-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--nm-text);
}

.nm-brand:hover {
  color: var(--nm-text);
  opacity: 0.82;
}

.nm-brand__logo {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--nm-bg-white);
  border: 1px solid var(--nm-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nm-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nm-brand__text {
  display: grid;
  gap: 2px;
}

.nm-brand__name {
  font-family: var(--nm-serif);
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.nm-brand__sub {
  color: var(--nm-muted);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nm-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nm-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nm-nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nm-nav__menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--nm-brown);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

.nm-nav__menu a:hover,
.nm-nav__menu .current-menu-item > a,
.nm-nav__menu .current_page_item > a {
  background: var(--nm-bg-white);
  color: var(--nm-accent-dark);
}

.nm-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--nm-line-dark);
  border-radius: 999px;
  background: var(--nm-bg-white);
  color: var(--nm-brown);
  cursor: pointer;
}

.nm-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.nm-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 155, 94, 0.18), transparent 34%),
    linear-gradient(135deg, #fffaf3 0%, #f1e8da 100%);
}

.nm-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 56vw;
  height: 56vw;
  border-radius: 999px;
  background: rgba(184, 155, 94, 0.08);
  pointer-events: none;
}

.nm-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1180px);
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 56px;
  padding: 80px 0;
}

.nm-hero__copy {
  max-width: 620px;
}

.nm-hero__kicker {
  margin: 0 0 18px;
  color: var(--nm-accent-dark);
  font-family: var(--nm-serif);
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nm-hero__title {
  margin: 0 0 22px;
  font-family: var(--nm-serif);
  font-size: clamp(2.55rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.09em;
}

.nm-hero__lead {
  margin: 0 0 32px;
  color: var(--nm-text-soft);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.nm-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nm-hero__visual {
  position: relative;
}

.nm-hero__photo {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--nm-shadow);
  background: var(--nm-bg-white);
  aspect-ratio: 4 / 5;
}

.nm-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nm-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(58, 48, 40, 0.16));
  pointer-events: none;
}

.nm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--nm-brown);
  background: var(--nm-brown);
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.nm-button:hover {
  color: #fff;
  opacity: 0.86;
}

.nm-button--light {
  background: var(--nm-bg-white);
  color: var(--nm-brown);
}

.nm-button--light:hover {
  background: var(--nm-brown);
  color: #fff;
}

.nm-button--gold {
  border-color: var(--nm-accent);
  background: var(--nm-accent);
  color: #fff;
}

.nm-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nm-card {
  padding: 28px;
  border: 1px solid var(--nm-line);
  border-radius: var(--nm-radius);
  background: var(--nm-bg-white);
  box-shadow: 0 14px 32px rgba(58, 48, 40, 0.06);
}

.nm-card__kicker {
  margin: 0 0 8px;
  color: var(--nm-accent-dark);
  font-family: var(--nm-serif);
  letter-spacing: 0.13em;
}

.nm-card__title {
  margin: 0 0 12px;
  font-family: var(--nm-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.35;
}

.nm-card__text {
  margin: 0;
  color: var(--nm-text-soft);
}

.nm-next {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 34px;
  padding: 34px;
  border-radius: 28px;
  background: var(--nm-bg-white);
  border: 1px solid var(--nm-line);
  box-shadow: var(--nm-shadow);
}

.nm-next__image {
  overflow: hidden;
  border-radius: 20px;
  background: var(--nm-bg);
  aspect-ratio: 4 / 3;
}

.nm-next__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nm-next__image a {
  display: block;
  width: 100%;
  height: 100%;
}
.nm-next__image img[hidden] {
  display: none;
}
.nm-next__image .nm-flyer-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid #e5dccc;
  border-radius: inherit;
  background: repeating-linear-gradient(135deg, rgba(179, 153, 116, 0.07) 0 2px, transparent 2px 16px), #f8f5ef;
  color: #766650;
  text-align: center;
}
.nm-next__image .nm-flyer-placeholder[hidden] {
  display: none;
}
.nm-next__image .nm-flyer-placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #d9cbb6;
  border-radius: 8px;
  pointer-events: none;
}
.nm-next__image .nm-flyer-placeholder__mark { font-size: 2rem; line-height: 1; }
.nm-next__image .nm-flyer-placeholder__en { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; }
.nm-next__image .nm-flyer-placeholder__ja { font-size: 0.8rem; }

.nm-next__date {
  margin: 0 0 10px;
  color: var(--nm-accent-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nm-next__title {
  margin: 0 0 14px;
  font-family: var(--nm-serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 1.35;
}

.nm-next__meta {
  display: grid;
  gap: 4px;
  margin: 0 0 20px;
  color: var(--nm-text-soft);
}

.nm-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nm-post-card {
  overflow: hidden;
  border-radius: var(--nm-radius);
  background: var(--nm-bg-white);
  border: 1px solid var(--nm-line);
  box-shadow: 0 14px 32px rgba(58, 48, 40, 0.06);
}

.nm-post-card__thumb {
  display: block;
  overflow: hidden;
  background: var(--nm-bg);
  aspect-ratio: 16 / 10;
}

.nm-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nm-post-card__body {
  padding: 22px;
}

.nm-post-card__date {
  margin: 0 0 8px;
  color: var(--nm-muted);
  font-size: 0.84rem;
}

.nm-post-card__title {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.55;
}

.nm-post-card__title a {
  color: var(--nm-text);
}

.nm-post-card__excerpt {
  margin: 0;
  color: var(--nm-text-soft);
  font-size: 0.94rem;
}

.nm-page-header {
  padding: 70px 0 46px;
  background:
    radial-gradient(circle at 78% 24%, rgba(184, 155, 94, 0.16), transparent 30%),
    linear-gradient(135deg, #fffaf3 0%, #f0e7d8 100%);
  border-bottom: 1px solid var(--nm-line);
  text-align: center;
}

.nm-page-header__title {
  margin: 0 0 10px;
  font-family: var(--nm-serif);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.nm-page-header__lead {
  margin: 0;
  color: var(--nm-text-soft);
}

.nm-content {
  width: min(100% - 40px, 920px);
  margin: 0 auto;
  padding: 64px 0 80px;
}

.nm-content h2 {
  margin: 2.2em 0 0.8em;
  padding-bottom: 0.45em;
  border-bottom: 1px solid var(--nm-line);
  font-family: var(--nm-serif);
  font-size: 1.8rem;
  font-weight: 500;
}

.nm-content h3 {
  margin: 1.9em 0 0.7em;
  color: var(--nm-brown);
  font-size: 1.25rem;
}

.nm-content a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.nm-content blockquote {
  margin: 2em 0;
  padding: 22px 26px;
  border-left: 4px solid var(--nm-accent);
  background: var(--nm-bg-soft);
  color: var(--nm-text-soft);
}

.nm-footer {
  background: var(--nm-brown);
  color: rgba(255, 255, 255, 0.82);
}

.nm-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.nm-footer a:hover {
  color: #fff;
}

.nm-footer__inner {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 52px 0 28px;
}

.nm-footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: start;
  margin-bottom: 34px;
}

.nm-footer__name {
  margin: 0 0 10px;
  font-family: var(--nm-serif);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
}

.nm-footer__text {
  max-width: 680px;
  margin: 0;
}

.nm-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 28px;
}

.nm-footer__nav li {
  margin: 0 0 8px;
}

.nm-footer__bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

@media (max-width: 980px) {
  .nm-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 36px;
  }

  .nm-hero__copy {
    max-width: none;
    text-align: center;
  }

  .nm-hero__buttons {
    justify-content: center;
  }

  .nm-hero__visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .nm-card-grid,
  .nm-post-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nm-next {
    grid-template-columns: 1fr;
  }

  .nm-header__inner {
    min-height: 72px;
  }

  .nm-menu-toggle {
    display: inline-block;
  }

  .nm-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 18px 22px;
    background: rgba(248, 244, 238, 0.98);
    border-bottom: 1px solid var(--nm-line);
  }

  body.nm-menu-open .nm-nav {
    display: block;
  }

  .nm-nav__menu {
    width: min(100%, 520px);
    margin: 0 auto;
    display: grid;
    gap: 4px;
  }

  .nm-nav__menu a {
    justify-content: center;
    background: var(--nm-bg-white);
  }
}

@media (max-width: 680px) {
  .nm-container,
  .nm-content,
  .nm-header__inner,
  .nm-footer__inner,
  .nm-hero__inner {
    width: min(100% - 28px, var(--nm-content));
  }

  .nm-section {
    padding: 60px 0;
  }

  .nm-hero__inner {
    padding: 56px 0;
  }

  .nm-brand__name {
    font-size: 1.16rem;
  }

  .nm-brand__sub {
    font-size: 0.66rem;
  }

  .nm-brand__logo {
    width: 44px;
    height: 44px;
  }

  .nm-card-grid,
  .nm-post-grid {
    grid-template-columns: 1fr;
  }

  .nm-next {
    padding: 22px;
    border-radius: 22px;
  }

  .nm-footer__top {
    grid-template-columns: 1fr;
  }

  .nm-footer__nav ul {
    columns: 1;
  }

  .nm-footer__bottom {
    display: block;
  }
}
/* =========================================================
   Visual hero front page
========================================================= */

.nm-visual-hero {
  position: relative;
  min-height: clamp(620px, 82vh, 860px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #15110f;
}

.nm-visual-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.nm-visual-hero__bg--fallback {
  background:
    radial-gradient(circle at 72% 20%, rgba(184, 155, 94, 0.34), transparent 32%),
    linear-gradient(135deg, #2d2620 0%, #f1e8da 100%);
}

.nm-visual-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 15, 12, 0.82) 0%, rgba(20, 15, 12, 0.56) 38%, rgba(20, 15, 12, 0.18) 68%, rgba(20, 15, 12, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.36));
}

.nm-visual-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 130px 0 190px;
}

.nm-visual-hero__content {
  max-width: 700px;
  color: #fff;
}

.nm-visual-hero__kicker {
  margin: 0 0 18px;
  color: #e6d2a2;
  font-family: var(--nm-serif);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nm-visual-hero__title {
  margin: 0 0 24px;
  font-family: var(--nm-serif);
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.nm-visual-hero__lead {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 2;
}

.nm-visual-hero__buttons,
.nm-visual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nm-visual-hero .nm-button {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.nm-visual-hero .nm-button--light {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.92);
  color: var(--nm-brown);
}

.nm-quick-panels {
  position: relative;
  z-index: 3;
  margin-top: -96px;
  padding: 0 0 32px;
}

.nm-quick-panels__inner {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(58, 48, 40, 0.22);
  background: var(--nm-bg-white);
}

.nm-quick-card {
  min-height: 168px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid var(--nm-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 238, 0.98));
  color: var(--nm-text);
}

.nm-quick-card:last-child {
  border-right: none;
}

.nm-quick-card:hover {
  background: #fff;
  color: var(--nm-text);
  transform: translateY(-2px);
}

.nm-quick-card--accent {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, var(--nm-brown), var(--nm-accent-dark));
  color: #fff;
}

.nm-quick-card--accent:hover {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, var(--nm-brown), var(--nm-accent-dark));
}

.nm-quick-card__label {
  color: var(--nm-accent-dark);
  font-family: var(--nm-serif);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nm-quick-card--accent .nm-quick-card__label {
  color: #f1dfaa;
}

.nm-quick-card__title {
  font-family: var(--nm-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.nm-quick-card__text {
  color: var(--nm-text-soft);
  font-size: 0.92rem;
}

.nm-quick-card--accent .nm-quick-card__text {
  color: rgba(255, 255, 255, 0.82);
}

.nm-next--visual {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .nm-visual-hero {
    min-height: 660px;
  }

  .nm-visual-hero__inner {
    padding: 110px 0 170px;
  }

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

  .nm-quick-card {
    border-bottom: 1px solid var(--nm-line);
  }

  .nm-quick-card:nth-child(2n) {
    border-right: none;
  }

  .nm-quick-card:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 680px) {
  .nm-visual-hero {
    min-height: 620px;
  }

  .nm-visual-hero__overlay {
    background:
      linear-gradient(90deg, rgba(20, 15, 12, 0.86), rgba(20, 15, 12, 0.58)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42));
  }

  .nm-visual-hero__inner {
    width: min(100% - 28px, 1180px);
    padding: 88px 0 150px;
  }

  .nm-visual-hero__title {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .nm-quick-panels {
    margin-top: -78px;
  }

  .nm-quick-panels__inner {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .nm-quick-card,
  .nm-quick-card:nth-child(2n),
  .nm-quick-card:nth-last-child(-n + 2) {
    min-height: 120px;
    border-right: none;
    border-bottom: 1px solid var(--nm-line);
  }

  .nm-quick-card:last-child {
    border-bottom: none;
  }
}
/* =========================================================
   Visual hero front page
========================================================= */

.nm-visual-hero {
  position: relative;
  min-height: clamp(620px, 82vh, 860px);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #15110f;
}

.nm-visual-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.nm-visual-hero__bg--fallback {
  background:
    radial-gradient(circle at 72% 20%, rgba(184, 155, 94, 0.34), transparent 32%),
    linear-gradient(135deg, #2d2620 0%, #f1e8da 100%);
}

.nm-visual-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 15, 12, 0.82) 0%, rgba(20, 15, 12, 0.56) 38%, rgba(20, 15, 12, 0.18) 68%, rgba(20, 15, 12, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.36));
}

.nm-visual-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 130px 0 190px;
}

.nm-visual-hero__content {
  max-width: 700px;
  color: #fff;
}

.nm-visual-hero__kicker {
  margin: 0 0 18px;
  color: #e6d2a2;
  font-family: var(--nm-serif);
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nm-visual-hero__title {
  margin: 0 0 24px;
  font-family: var(--nm-serif);
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
}

.nm-visual-hero__lead {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 2;
}

.nm-visual-hero__buttons,
.nm-visual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nm-visual-hero .nm-button {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.nm-visual-hero .nm-button--light {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.92);
  color: var(--nm-brown);
}

.nm-quick-panels {
  position: relative;
  z-index: 3;
  margin-top: -96px;
  padding: 0 0 32px;
}

.nm-quick-panels__inner {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(58, 48, 40, 0.22);
  background: var(--nm-bg-white);
}

.nm-quick-card {
  min-height: 168px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid var(--nm-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 238, 0.98));
  color: var(--nm-text);
}

.nm-quick-card:last-child {
  border-right: none;
}

.nm-quick-card:hover {
  background: #fff;
  color: var(--nm-text);
  transform: translateY(-2px);
}

.nm-quick-card--accent {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, var(--nm-brown), var(--nm-accent-dark));
  color: #fff;
}

.nm-quick-card--accent:hover {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, var(--nm-brown), var(--nm-accent-dark));
}

.nm-quick-card__label {
  color: var(--nm-accent-dark);
  font-family: var(--nm-serif);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nm-quick-card--accent .nm-quick-card__label {
  color: #f1dfaa;
}

.nm-quick-card__title {
  font-family: var(--nm-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.nm-quick-card__text {
  color: var(--nm-text-soft);
  font-size: 0.92rem;
}

.nm-quick-card--accent .nm-quick-card__text {
  color: rgba(255, 255, 255, 0.82);
}

.nm-next--visual {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .nm-visual-hero {
    min-height: 660px;
  }

  .nm-visual-hero__inner {
    padding: 110px 0 170px;
  }

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

  .nm-quick-card {
    border-bottom: 1px solid var(--nm-line);
  }

  .nm-quick-card:nth-child(2n) {
    border-right: none;
  }

  .nm-quick-card:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 680px) {
  .nm-visual-hero {
    min-height: 620px;
  }

  .nm-visual-hero__overlay {
    background:
      linear-gradient(90deg, rgba(20, 15, 12, 0.86), rgba(20, 15, 12, 0.58)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42));
  }

  .nm-visual-hero__inner {
    width: min(100% - 28px, 1180px);
    padding: 88px 0 150px;
  }

  .nm-visual-hero__title {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .nm-quick-panels {
    margin-top: -78px;
  }

  .nm-quick-panels__inner {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .nm-quick-card,
  .nm-quick-card:nth-child(2n),
  .nm-quick-card:nth-last-child(-n + 2) {
    min-height: 120px;
    border-right: none;
    border-bottom: 1px solid var(--nm-line);
  }

  .nm-quick-card:last-child {
    border-bottom: none;
  }
}
.title-a {
	font-size:2vw;
	line-height:2.7em;
}
.title-b {
	font-size:3vw;
}

.nm-theme-classic .nm-visual-hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(255, 250, 243, 0.92) 0%,
      rgba(255, 250, 243, 0.76) 34%,
      rgba(255, 250, 243, 0.32) 58%,
      rgba(255, 250, 243, 0.08) 100%
    );
}

/* =========================================================
   Classic Elegant - Feminine Rose Variation
   アイボリー × ローズベージュ × シャンパンゴールド
========================================================= */

body.nm-theme-classic {
  --nm-bg: #fff8f8;
  --nm-bg-soft: #fff1f3;
  --nm-bg-white: #ffffff;

  --nm-text: #3d3133;
  --nm-text-soft: #6f5d60;
  --nm-muted: #9c8589;

  --nm-line: #ead8dc;
  --nm-line-dark: #d8bcc3;

  --nm-accent: #d79aaa;
  --nm-accent-dark: #b96f82;

  --nm-brown: #5a4046;
  --nm-brown-soft: #7a5b62;

  --nm-shadow: 0 18px 45px rgba(120, 75, 88, 0.14);

  background:
    radial-gradient(circle at 8% 8%, rgba(215, 154, 170, 0.12), transparent 28%),
    linear-gradient(180deg, #fffafa 0%, #fff6f7 100%);
}

/* ヘッダーを柔らかいローズアイボリーに */
body.nm-theme-classic .nm-header {
  background: rgba(255, 248, 248, 0.92);
  border-bottom: 1px solid rgba(234, 216, 220, 0.95);
}

body.nm-theme-classic .nm-brand__logo {
  background: #fff;
  border-color: #ead8dc;
  box-shadow: 0 8px 24px rgba(185, 111, 130, 0.12);
}

body.nm-theme-classic .nm-brand__name {
  color: #4c363b;
}

body.nm-theme-classic .nm-brand__sub {
  color: #b96f82;
}

body.nm-theme-classic .nm-nav__menu a {
  color: #5a4046;
}

body.nm-theme-classic .nm-nav__menu a:hover,
body.nm-theme-classic .nm-nav__menu .current-menu-item > a,
body.nm-theme-classic .nm-nav__menu .current_page_item > a {
  background: #fff1f3;
  color: #b96f82;
}

/* ヒーロー背景の暗いフィルターをやめ、ローズ系の明るいフィルターに */
body.nm-theme-classic .nm-visual-hero {
  background: #fff8f8;
}

body.nm-theme-classic .nm-visual-hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(255, 248, 248, 0.94) 0%,
      rgba(255, 241, 243, 0.82) 32%,
      rgba(255, 241, 243, 0.42) 58%,
      rgba(255, 241, 243, 0.06) 100%
    ),
    radial-gradient(
      circle at 18% 28%,
      rgba(215, 154, 170, 0.24),
      transparent 34%
    );
}

/* ヒーロー文字を白ではなく上品な濃色に */
body.nm-theme-classic .nm-visual-hero__content {
  color: #3d3133;
}

body.nm-theme-classic .nm-visual-hero__kicker {
  color: #b96f82;
}

body.nm-theme-classic .nm-visual-hero__title {
  color: #3d3133;
  text-shadow: none;
}

body.nm-theme-classic .nm-visual-hero__lead {
  color: #6f5d60;
}

/* ボタンをローズ系に */
body.nm-theme-classic .nm-button {
  border-color: #b96f82;
  background: linear-gradient(135deg, #c98294, #b96f82);
  color: #fff;
  box-shadow: 0 12px 28px rgba(185, 111, 130, 0.22);
}

body.nm-theme-classic .nm-button:hover {
  color: #fff;
  opacity: 0.88;
}

body.nm-theme-classic .nm-button--light {
  border-color: #d79aaa;
  background: rgba(255, 255, 255, 0.82);
  color: #9f5d70;
  box-shadow: none;
}

body.nm-theme-classic .nm-button--light:hover {
  background: #fff1f3;
  color: #8f4f61;
}

/* クイックカード */
body.nm-theme-classic .nm-quick-panels__inner {
  background: #fff;
  box-shadow: 0 24px 60px rgba(120, 75, 88, 0.18);
}

body.nm-theme-classic .nm-quick-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 247, 0.98));
  border-color: #ead8dc;
  color: #3d3133;
}

body.nm-theme-classic .nm-quick-card:hover {
  background: #fff;
  color: #3d3133;
}

body.nm-theme-classic .nm-quick-card--accent {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #d79aaa, #b96f82);
  color: #fff;
}

body.nm-theme-classic .nm-quick-card--accent:hover {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, #dfabba, #b96f82);
  color: #fff;
}

body.nm-theme-classic .nm-quick-card__label {
  color: #b96f82;
}

body.nm-theme-classic .nm-quick-card--accent .nm-quick-card__label {
  color: #fff7dc;
}

body.nm-theme-classic .nm-quick-card__text {
  color: #7a6569;
}

/* セクション見出し */
body.nm-theme-classic .nm-section__kicker {
  color: #b96f82;
}

body.nm-theme-classic .nm-section__kicker::before,
body.nm-theme-classic .nm-section__kicker::after {
  background: #d79aaa;
}

body.nm-theme-classic .nm-section__title {
  color: #3d3133;
}

body.nm-theme-classic .nm-section__lead {
  color: #6f5d60;
}

/* カード類 */
body.nm-theme-classic .nm-card,
body.nm-theme-classic .nm-next,
body.nm-theme-classic .nm-post-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: #ead8dc;
  box-shadow: 0 14px 32px rgba(120, 75, 88, 0.09);
}

body.nm-theme-classic .nm-card__kicker,
body.nm-theme-classic .nm-next__date {
  color: #b96f82;
}

body.nm-theme-classic .nm-card__title,
body.nm-theme-classic .nm-next__title,
body.nm-theme-classic .nm-post-card__title a {
  color: #3d3133;
}

body.nm-theme-classic .nm-card__text,
body.nm-theme-classic .nm-next__meta,
body.nm-theme-classic .nm-post-card__excerpt {
  color: #6f5d60;
}

/* ページヘッダー */
body.nm-theme-classic .nm-page-header {
  background:
    radial-gradient(circle at 78% 24%, rgba(215, 154, 170, 0.18), transparent 30%),
    linear-gradient(135deg, #fffafa 0%, #fff1f3 100%);
  border-bottom-color: #ead8dc;
}

body.nm-theme-classic .nm-page-header__title {
  color: #3d3133;
}

body.nm-theme-classic .nm-page-header__lead {
  color: #7a6569;
}

/* 本文内の見出しやリンク */
body.nm-theme-classic .nm-content h2 {
  border-bottom-color: #ead8dc;
  color: #4c363b;
}

body.nm-theme-classic .nm-content h3 {
  color: #b96f82;
}

body.nm-theme-classic a {
  color: #b96f82;
}

body.nm-theme-classic a:hover {
  color: #8f4f61;
}

/* フッターも重すぎないローズブラウンに */
body.nm-theme-classic .nm-footer {
  background:
    radial-gradient(circle at 10% 0%, rgba(215, 154, 170, 0.16), transparent 34%),
    linear-gradient(135deg, #5a4046 0%, #3d3133 100%);
}

body.nm-theme-classic .nm-footer__name {
  color: #fff8f8;
}

/* スマホ時のヒーローフィルター */
@media (max-width: 680px) {
  body.nm-theme-classic .nm-visual-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255, 248, 248, 0.94) 0%,
        rgba(255, 241, 243, 0.82) 58%,
        rgba(255, 241, 243, 0.40) 100%
      );
  }
}

/* =========================================================
   Header layout adjustment
   メニュー項目内では折り返さず、メニュー全体を2段に回す
========================================================= */

body.nm-theme-classic .nm-header__inner {
  flex-wrap: wrap;
  align-items: center;
  row-gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

body.nm-theme-classic .nm-brand {
  flex: 0 0 auto;
}

body.nm-theme-classic .nm-nav {
  flex: 1 1 600px;
  min-width: 0;
  justify-content: flex-end;
}

body.nm-theme-classic .nm-nav__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 10px;
}

body.nm-theme-classic .nm-nav__menu li {
  flex: 0 0 auto;
}

body.nm-theme-classic .nm-nav__menu a {
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  min-height: 38px;
  padding: 7px 10px;
}

/* 横幅が足りない時は、メニュー全体を2段目に落とす */
@media (max-width: 1180px) {
  body.nm-theme-classic .nm-header__inner {
    justify-content: center;
  }

  body.nm-theme-classic .nm-brand {
    width: 100%;
    justify-content: center;
  }

  body.nm-theme-classic .nm-nav {
    width: 100%;
    flex-basis: 100%;
    justify-content: center;
  }

  body.nm-theme-classic .nm-nav__menu {
    justify-content: center;
  }
}

/* =========================================================
   Brand title adjustment
   サイト名を分解して表示
========================================================= */

body.nm-theme-classic .nm-brand {
  gap: 14px;
}

body.nm-theme-classic .nm-brand__text {
  display: grid;
  gap: 2px;
  line-height: 1.35;
}

body.nm-theme-classic .nm-brand__line {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

body.nm-theme-classic .nm-brand__line--top {
  gap: 0.55em;
}

body.nm-theme-classic .nm-brand__role {
  font-family: var(--nm-serif);
  font-size: 0.98rem;
  letter-spacing: 0.16em;
  color: #5a4046;
}

body.nm-theme-classic .nm-brand__person {
  font-family: var(--nm-serif);
  font-size: 1.45rem;
  letter-spacing: 0.18em;
  color: #3d3133;
}

body.nm-theme-classic .nm-brand__line--site {
  font-family: var(--nm-serif);
  font-size: 1.14rem;
  letter-spacing: 0.18em;
  color: #5a4046;
}

body.nm-theme-classic .nm-brand__sub {
  margin-top: 2px;
  color: #b96f82;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* スマホでは少し詰める */
@media (max-width: 680px) {
  body.nm-theme-classic .nm-brand {
    gap: 10px;
  }

  body.nm-theme-classic .nm-brand__role {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  body.nm-theme-classic .nm-brand__person {
    font-size: 1.12rem;
    letter-spacing: 0.12em;
  }

  body.nm-theme-classic .nm-brand__line--site {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

  body.nm-theme-classic .nm-brand__sub {
    font-size: 0.64rem;
    letter-spacing: 0.18em;
  }
}
/* スマホでは写真の左側に見出しを重ね、写真の比率を保つ。 */
@media (max-width: 680px) {
  .nm-visual-hero {
    --nm-mobile-photo-height: 56.28vw;
    display: block;
    min-height: 0;
  }
  .nm-visual-hero__bg {
    inset: 0 0 auto;
    height: var(--nm-mobile-photo-height);
    background-size: 100% auto;
    background-position: center top;
    transform: none;
  }
  body.nm-theme-classic .nm-visual-hero__overlay {
    inset: 0 0 auto;
    height: var(--nm-mobile-photo-height);
    background:
      linear-gradient(90deg, rgba(255, 248, 248, 0.72) 0%, rgba(255, 248, 248, 0.38) 49%, transparent 72%),
      linear-gradient(180deg, transparent 72%, #fff8f8 100%);
  }
  .nm-visual-hero__inner {
    padding: 42px 0 112px;
  }
  .nm-visual-hero__kicker {
    margin-bottom: 10px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }
  .nm-visual-hero__title {
    margin-bottom: 20px;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.14;
  }
  .nm-visual-hero__title .title-a,
  .nm-visual-hero__title .title-b {
    font-size: 0.82rem;
    line-height: 1.55;
  }
  .nm-visual-hero__lead {
    margin-bottom: 22px;
    font-size: 0.9rem;
    line-height: 1.8;
  }
  .nm-quick-panels__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nm-quick-card,
  .nm-quick-card:nth-child(2n),
  .nm-quick-card:nth-last-child(-n + 2) {
    min-height: 142px;
    padding: 16px 13px;
    border-right: none;
    border-bottom: 1px solid var(--nm-line);
  }
  .nm-quick-card:nth-child(odd) {
    border-right: 1px solid var(--nm-line);
  }
  .nm-quick-card:nth-last-child(-n + 2) {
    border-bottom: none;
  }
  .nm-quick-card__label {
    font-size: 0.72rem;
  }
  .nm-quick-card__title {
    font-size: clamp(1rem, 4vw, 1.18rem);
    line-height: 1.35;
  }
  .nm-quick-card__text {
    font-size: 0.76rem;
    line-height: 1.4;
  }
}

/* 企画・作品・訳詞：仕事の案内と実績 */
.nm-works-page {
  color: #3d3133;
  background: #fffafa;
}

.nm-works-wrap {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
}

.nm-works-hero {
  padding: clamp(70px, 9vw, 132px) 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(215, 154, 170, 0.28), transparent 34%),
    linear-gradient(125deg, #fffafa 0%, #fff0f3 100%);
}

.nm-works-eyebrow {
  margin: 0 0 14px;
  color: #ad6378;
  font-family: var(--nm-serif);
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nm-works-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-family: var(--nm-serif);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.08em;
}

.nm-works-hero p:not(.nm-works-eyebrow) {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 2;
}

.nm-works-hero .nm-button {
  margin-top: 14px;
}

.nm-works-section {
  padding: clamp(58px, 7vw, 96px) 0;
  scroll-margin-top: 110px;
}

.nm-works-section--soft {
  background: #fff2f4;
}

.nm-works-section h2 {
  margin: 0 0 18px;
  font-family: var(--nm-serif);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 500;
  letter-spacing: 0.07em;
}

.nm-works-intro {
  max-width: 800px;
  margin-bottom: 32px;
  color: #6f5d60;
  line-height: 1.9;
}

.nm-works-services,
.nm-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.nm-works-service,
.nm-work-card {
  min-width: 0;
  border: 1px solid #ead8dc;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(120, 75, 88, 0.08);
  overflow: hidden;
}

.nm-works-service {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.nm-works-service__number {
  color: #c98294;
  font-family: var(--nm-serif);
  font-size: 1.7rem;
}

.nm-works-service h3 {
  margin: 16px 0 12px;
  font-family: var(--nm-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.nm-works-service p {
  flex: 1;
  color: #6f5d60;
  line-height: 1.85;
}

.nm-works-service a,
.nm-work-card__more {
  color: #9f5d70;
  font-weight: 600;
  text-decoration: none;
}

.nm-works-service__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.nm-works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.nm-works-filters a {
  padding: 9px 18px;
  border: 1px solid #dec6cc;
  border-radius: 999px;
  background: #fff;
  color: #70565c;
  text-decoration: none;
}

.nm-works-filters a[aria-current="page"] {
  border-color: #b96f82;
  background: #b96f82;
  color: #fff;
}

.nm-work-card__image {
  display: block;
  aspect-ratio: 3 / 2;
  background: #fff1f3;
}

.nm-work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nm-work-card__body {
  padding: 26px;
}

.nm-work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.nm-work-card__tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff0f3;
  color: #9f5d70;
  font-size: 0.78rem;
}

.nm-work-card h3 {
  margin: 0 0 12px;
  font-family: var(--nm-serif);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.5;
}

.nm-work-card h3 a {
  color: #3d3133;
  text-decoration: none;
}

.nm-work-card__meta,
.nm-work-card__summary {
  color: #6f5d60;
  font-size: 0.92rem;
  line-height: 1.75;
}

.nm-work-card__meta {
  color: #a46d7b;
}

.nm-works-empty {
  padding: 28px;
  border-radius: 16px;
  background: #fff2f4;
}

.nm-works-legacy {
  max-width: 860px;
  line-height: 1.8;
}

.nm-works-section--contact {
  background: #5a4046;
  color: #fff8f8;
}

.nm-works-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nm-works-contact p:not(.nm-works-eyebrow) {
  max-width: 710px;
  line-height: 1.9;
}

.nm-works-contact .nm-button {
  flex: 0 0 auto;
}

.nm-work-detail__body {
  max-width: 850px;
  padding-top: 60px;
  padding-bottom: 90px;
}

.nm-works-hero--detail {
  padding: 68px 0;
}

.nm-work-detail__image {
  margin: 0 0 32px;
}

.nm-work-detail__image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.nm-work-detail__facts {
  margin: 0 0 36px;
  border-top: 1px solid #ead8dc;
}

.nm-work-detail__facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid #ead8dc;
}

.nm-work-detail__facts dt {
  color: #9f5d70;
}

.nm-work-detail__facts dd {
  margin: 0;
}

.nm-work-detail__content {
  margin-bottom: 34px;
  line-height: 2;
}

.nm-work-detail__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 44px;
}

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

@media (max-width: 680px) {
  .nm-works-wrap { width: min(100% - 28px, 1120px); }
  .nm-works-hero { padding: 64px 0; }
  .nm-works-hero h1 { font-size: 2.05rem; }
  .nm-works-hero p:not(.nm-works-eyebrow) { font-size: 0.96rem; }
  .nm-works-services,
  .nm-works-grid { grid-template-columns: 1fr; }
  .nm-works-service { padding: 24px; }
  .nm-works-contact { display: block; }
  .nm-works-contact .nm-button { margin-top: 16px; }
  .nm-work-detail__facts div { grid-template-columns: 1fr; gap: 4px; }
}
