/* Sei — editorial overrides applied to every page (loaded after pages.css) */

:root {
  --c-forest: #5a7a4a;
  --c-paper: #fdfaf8;
  --c-ink: #2a1f1f;
}

html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
html, body {
  background: var(--c-paper);
  font-family: "Noto Serif JP", "Noto Sans JP", system-ui, serif;
  color: var(--c-ink);
  line-height: 1.95;
  letter-spacing: 0.02em;
}

/* ===== Brand name next to logo ===== */
.site-header__name {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 15px;
  color: var(--c-ink);
  white-space: nowrap;
}
.site-footer__brand-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.site-footer__brand-head img { margin-bottom: 0 !important; }
.site-footer__brand-name {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--c-ink);
}
@media (max-width: 480px) {
  .site-header__name { font-size: 13px; letter-spacing: 0.06em; }
}

/* ===== Header (editorial transparent) ===== */
.site-header {
  background: rgba(253, 251, 247, 0.72);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(253, 251, 247, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.site-nav a {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.12em;
  font-size: 14px;
  opacity: 0.78;
}
.site-nav a:hover { opacity: 1; color: var(--c-ink); }
.site-nav a.is-current::after { background: var(--c-peach-dp); }
.site-nav .btn {
  opacity: 1;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.site-nav a.btn:hover { color: #fff; opacity: 1; }

/* ===== Typography ===== */
h1, .h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--c-ink);
}
h2, .h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
}
h3, .h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.lead {
  font-family: "Noto Serif JP", serif;
  line-height: 2.0;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  opacity: 0.78;
}

/* ===== Eyebrow (editorial small label) ===== */
.eyebrow,
.eyebrow.en {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--c-forest);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before,
.eyebrow.en::before { display: none; }

/* ===== Buttons (editorial CTA) ===== */
.btn {
  letter-spacing: 0.08em;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  border-radius: 2px;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn--primary,
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid rgba(0, 0, 0, 0.18);
}
.btn--primary:hover,
.btn--ghost:hover {
  background: var(--c-peach-dp);
  color: #fff;
  border-color: var(--c-peach-dp);
}
/* Suppress nav underline on is-current button-style links */
.site-nav a.btn.is-current::after { display: none; }

/* Inline text links (prose / form) */
.text-link,
.form-check a,
.form-info a {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .18s, text-decoration-color .18s;
}
.text-link:hover,
.form-check a:hover,
.form-info a:hover {
  color: var(--c-peach-dark);
}

/* ===== Peach rule ===== */
.peach-rule {
  background: var(--c-peach-dp);
  height: 1px;
  width: 36px;
  margin: 14px 0 28px;
  opacity: 0.7;
}

/* ===== Section ===== */
.section {
  padding-block: clamp(56px, 8vw, 96px);
}
.section--alt {
  background: var(--c-paper);
}

/* ===== Page hero (editorial w/ peach orb decoration) ===== */
.page-hero {
  position: relative;
  padding: clamp(96px, 14vh, 160px) 0 clamp(48px, 8vh, 80px);
  background: var(--c-paper);
  border-bottom: none;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f7d9d2, #d98f85 55%, #f4c9c1 100%);
  opacity: 0.55;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
.page-hero__logo {
  position: absolute;
  top: 50%;
  right: clamp(40px, 8vw, 120px);
  transform: translateY(-50%);
  width: clamp(120px, 16vw, 200px);
  z-index: 1;
  pointer-events: none;
}
.page-hero__logo picture,
.page-hero__logo img { display: block; width: 100%; height: auto; }
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-block: 8px 24px;
}
.page-hero p {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 2.0;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  opacity: 0.78;
  max-width: 60ch;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--c-muted);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.breadcrumbs a { color: inherit; opacity: 0.85; }
.breadcrumbs a:hover { opacity: 1; color: var(--c-ink); }
.breadcrumbs span { margin: 0 10px; opacity: 0.55; }

/* Layout utilities (replace inline style) */
.section--center { text-align: center; }
.section--center .peach-rule { margin-inline: auto; }
.cta-row { margin-top: 32px; }
.cta-row--tight { margin-top: 24px; }
.cta-row--loose { margin-top: 48px; }

/* ===== Profile table (会社概要) ===== */
.profile-table dl {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.profile-table dt,
.profile-table dd {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 22px 12px;
}
.profile-table dt {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
}
.profile-table dd {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 2.0;
}
.profile-table dd a {
  color: var(--c-ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.profile-table dd a:hover { color: var(--c-peach-dark); }

/* ===== Values banner ===== */
.values-banner {
  background: linear-gradient(135deg, rgba(244, 201, 193, 0.5), rgba(248, 220, 213, 0.4));
  border: 1px solid rgba(217, 143, 133, 0.3);
  border-radius: 2px;
  padding: 32px 36px;
}
.values-banner strong {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-ink);
  font-size: 18px;
}
.values-banner strong + strong::before {
  content: "／";
  margin: 0 14px;
  color: rgba(217, 143, 133, 0.7);
  font-weight: 400;
}
.values-banner p {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.04em;
  line-height: 2.0;
}

/* ===== Business list ===== */
.biz-section-head {
  margin-top: clamp(48px, 7vw, 80px);
  margin-bottom: 24px;
}
.biz-item {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 2px;
  padding: 40px;
  gap: 32px;
  transition: border-color .18s;
}
.biz-item:hover { border-color: var(--c-peach-dp); }
.biz-item__no {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--c-peach-dark);
}
.biz-item h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.biz-item__tag {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.16em;
  font-size: 10px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--c-peach-dp);
  color: var(--c-peach-dark);
  padding: 3px 10px;
  margin-left: 12px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  display: inline-block;
}
.biz-item__desc {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  line-height: 2.0;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  opacity: 0.85;
  margin-top: 16px;
}
.biz-item__meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}
.biz-item__meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.biz-item__meta dt {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.18em;
  font-size: 10px;
  margin: 0;
}
.biz-item__meta dd {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.7;
}
@media (max-width: 720px) {
  .biz-item__meta { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== Value/service cards ===== */
.values { background: var(--c-paper); }
.value-card,
.service-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 2px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.service-card { transition: border-color .18s, transform .18s; }
.service-card:hover { border-color: var(--c-peach-dp); }
.value-card { transition: border-color .18s; }
.value-card:hover { border-color: var(--c-peach-dp); }
.value-card h3,
.service-card h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.value-card p,
.service-card p {
  font-family: "Noto Serif JP", serif;
  line-height: 2.0;
  letter-spacing: 0.04em;
}
.service-card__num {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.2em;
  color: var(--c-peach-dark);
  font-weight: 400;
}
.service-card__note {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.16em;
  font-size: 10px;
  border-top: 1px solid rgba(217, 143, 133, 0.4);
  text-transform: uppercase;
  margin-top: auto;
}

/* ===== About digest (top page) ===== */
.about-digest dl { border-top: 1px solid rgba(0, 0, 0, 0.08); }
.about-digest dt {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 0 8px;
}
.about-digest dd {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom-style: solid;
  padding: 8px 0 16px;
}

/* ===== News list ===== */
.news-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 28px 0;
}
.news-item__date {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.18em;
  font-size: 12px;
}
.news-item__tag {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.18em;
  font-size: 10px;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--c-peach-dp);
  color: var(--c-peach-dark);
  border-radius: 0;
  padding: 3px 10px;
  transition: background-color .18s, color .18s, border-color .18s;
  cursor: default;
}
.news-item__tag:hover { background: var(--c-peach-dp); color: #fff; border-color: var(--c-peach-dp); }
.news-item__tag--press { border-color: #8a9d6e; color: #5a7243; background: transparent; }
.news-item__tag--press:hover { background: var(--c-forest); color: #fff; border-color: var(--c-forest); }
.news-item__tag--media { border-color: #b89a6b; color: #8a6a3a; background: transparent; }
.news-item__tag--media:hover { background: #8a6a3a; color: #fff; border-color: #8a6a3a; }
.news-item__title {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  line-height: 1.85;
}
.news-filter button {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  border-radius: 2px;
}
.news-filter button[aria-pressed="true"] {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-paper);
}

/* ===== Message (代表挨拶) ===== */
.message-block--no-photo {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
}
.message-block__body p {
  font-size: 17px;
  line-height: 2.15;
  letter-spacing: 0.05em;
  margin-bottom: 1.6em;
}
.message-block__body h3:not(:first-child) { margin-top: 56px; }
.message-block__body h3 + p { margin-top: 18px; }
.message-block__body strong { color: var(--c-ink); font-weight: 500; }
.message-block__photo {
  background: linear-gradient(180deg, rgba(244, 201, 193, 0.5) 0%, rgba(248, 220, 213, 0.4) 100%);
  border: 1px solid rgba(217, 143, 133, 0.3);
  border-radius: 2px;
}
.message-block__photo--logo {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}
.message-block__photo--logo picture { display: block; width: 100%; }
.message-block__photo--logo img { width: 100%; height: auto; max-width: 200px; margin-inline: auto; display: block; }
@media (max-width: 720px) {
  .message-block__photo--logo {
    position: static;
    max-width: 220px;
    margin-inline: auto;
  }
}
.message-block__body {
  font-family: "Noto Serif JP", serif;
  line-height: 2.1;
  letter-spacing: 0.04em;
}
.message-block__body h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  font-size: 18px;
  margin: 32px 0 12px;
}
.message-quote {
  margin: 18px 0;
  padding: 6px 0 6px 18px;
  border-left: 2px solid var(--c-peach-dp);
  color: var(--c-ink);
  opacity: 0.85;
}
.message-block__body p { color: var(--c-ink); opacity: 0.88; }
.message-block__signature {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.message-block__signature .role {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.18em;
  font-size: 10px;
  text-transform: uppercase;
}

/* ===== Contact form ===== */
.form-field label {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.16em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--c-ink);
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: "Noto Serif JP", serif;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.6);
}
.form-field input:user-invalid,
.form-field select:user-invalid,
.form-field textarea:user-invalid {
  border-color: var(--c-danger);
  background: rgba(201, 69, 58, 0.04);
}
.form-check input:user-invalid + label { color: var(--c-danger); }
.form-field .req,
.form-field .opt,
.form-check .req,
.form-check .opt {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.12em;
  border-radius: 2px;
}
/* form-check 配下の必須/任意バッジを form-field のスタイルに揃える */
.form-check .req {
  color: var(--c-peach-dark);
  font-size: 11px;
  margin-left: 6px;
  background: var(--c-peach);
  padding: 2px 8px;
  vertical-align: middle;
}
.form-check .opt {
  color: var(--c-muted);
  font-size: 11px;
  margin-left: 6px;
  border: 1px solid var(--c-line);
  padding: 1px 7px;
  vertical-align: middle;
}
.form-check {
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}
.form-info {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}
.form-info h3 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.18em;
  font-size: 11px;
  text-transform: uppercase;
}
.form-info p {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.04em;
  line-height: 2.0;
}

/* ===== Thanks / 404 ===== */
.thanks h1,
.err-page h1 {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.06em;
}
.err-page__code {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--c-peach-dp);
}

/* ===== Prose (privacy / tokushoho) ===== */
.prose {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.04em;
}
.prose h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-left-width: 2px;
  border-left-color: var(--c-peach-dp);
  margin-top: 56px;
}
.prose p, .prose li {
  font-family: "Noto Serif JP", serif;
  line-height: 2.1;
  letter-spacing: 0.04em;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--c-paper);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.site-footer__desc {
  font-family: "Noto Serif JP", serif;
  line-height: 1.95;
  letter-spacing: 0.04em;
}
.site-footer h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--c-forest);
}
.site-footer ul a {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.06em;
}
.site-footer__bottom {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
}
.site-footer__bottom .en { color: var(--c-forest); }

/* ===== Mobile adjustments ===== */
@media (max-width: 720px) {
  .page-hero::before {
    width: 280px;
    height: 280px;
    top: -100px;
    right: -100px;
  }
  .page-hero__logo {
    width: 90px;
    top: 28px;
    right: 24px;
    transform: none;
  }
}
