:root {
  --paper: #F3F1E9;
  --ink: #33383D;
  --primary: #232B33;
  --on-primary: #FFFFFF;
  --accent: #C0974F;
  --rule: #D9D4C7;
  --eyebrow: #33383D;
  --band: #FFFFFF;
  --frame: #D9D4C7;
  --tag-bg: transparent;
  --tag-ink: #33383D;
  --tag-rule: #C0974F;
  --body-font: "Geist", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --heading-font: "Geist", "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --heading-weight: 400;
  --heading-tracking: .06em;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  font-feature-settings: "palt" 1;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-family: var(--heading-font);
  font-size: 48px;
  font-weight: var(--heading-weight);
  line-height: 1.35;
  letter-spacing: var(--heading-tracking);
}
h3 { font-size: 24px; font-weight: 500; line-height: 1.5; }
p { max-width: 34em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.mobile-break { display: none; }
main section[id], main [id] { scroll-margin-top: clamp(84px, 8vw, 104px); }

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 16px 24px;
  background: var(--paper);
  color: var(--primary);
  border-bottom: 1px solid var(--rule);
  transition: background-color .3s var(--motion-ease), color .3s var(--motion-ease), border-color .3s var(--motion-ease);
}
/* ヒーローに重なっている間だけ透明＋白文字 */
.site-header.is-over-hero {
  background: transparent;
  color: #FFFFFF;
  border-bottom-color: transparent;
}
.site-header.is-over-hero .line-button { border-color: rgba(255,255,255,.7); color: #FFFFFF; }
.site-header.is-over-hero .line-button:hover { background: #FFFFFF; color: var(--primary); }
.site-header.is-over-hero .header-cta { border-color: rgba(255,255,255,.28); }
.site-header.is-over-hero .desktop-nav a:hover { text-decoration-color: #FFFFFF; }
.brand { display: grid; gap: 8px; line-height: 1; }
.brand-name { font-size: 24px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; }
.brand-sub { font-size: 12px; font-weight: 400; letter-spacing: .12em; }
.desktop-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 12px; }
.desktop-nav a { font-size: 13px; font-weight: 500; white-space: nowrap; text-underline-offset: 8px; }
.desktop-nav a:hover { text-decoration: underline; text-decoration-color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.phone { display: grid; line-height: 1.5; }
.phone-number { font-size: 18px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.phone small { font-size: 10px; white-space: nowrap; }
.phone:hover .phone-number { text-decoration: underline; text-underline-offset: 4px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.button:hover { background: var(--paper); color: var(--primary); }
.header-cta { padding: 8px 12px; white-space: nowrap; }
.line-button {
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
}
.line-button:hover { background: var(--primary); color: var(--on-primary); }
.line-button-link { display: inline-flex; align-items: center; justify-content: center; }
.mobile-phone, .mobile-line, .menu-toggle, .mobile-menu { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  height: 86vh;
  min-height: 560px;
  max-height: 960px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 260px;
  background: linear-gradient(to bottom, rgba(35,43,51,.72), rgba(35,43,51,0));
  pointer-events: none;
}
.hero-photos { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; }
.hero-slide-1 { opacity: 1; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.concept { position: relative; isolation: isolate; overflow: hidden; color: #FFFFFF; }
.concept-media { position: absolute; inset: 0; z-index: -2; }
.concept-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.concept::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(35,43,51,.42);
  pointer-events: none;
}
.concept-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  column-gap: clamp(40px, 8vw, 140px);
  width: 100%;
  max-width: 1280px;
  min-height: min(86vh, 860px);
  margin-inline: auto;
  padding: clamp(64px, 7vw, 112px) 64px clamp(56px, 6vw, 96px);
}
.concept-text { max-width: 34em; }
.concept-lead { margin-top: 28px; font-family: var(--heading-font); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.8; }
.concept-body { margin-top: 20px; color: rgba(255,255,255,.88); }
.concept-title {
  writing-mode: vertical-rl;
  justify-self: end;
  margin: 0;
  font-size: clamp(26px, 2.9vw, 42px);
  line-height: 1.9;
  letter-spacing: .16em;
  text-align: start;
}
.concept .eyebrow { color: rgba(255,255,255,.82); }
.concept .eyebrow::before { background: #FFFFFF; }
.concept .proof { color: rgba(255,255,255,.8); }
.concept .button { border-color: #FFFFFF; background: #FFFFFF; color: var(--primary); }
.concept .button:hover { background: transparent; color: #FFFFFF; }
.concept .text-link { text-decoration-color: rgba(255,255,255,.8); }
.concept .text-link:hover { text-decoration-color: #FFFFFF; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--eyebrow);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.8;
}
.eyebrow::before { content: ""; flex: 0 0 24px; height: 1px; background: var(--accent); }
h1 { margin-top: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.text-link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}
.text-link:hover { text-decoration-color: var(--primary); text-decoration-thickness: 2px; }
.proof { max-width: none; margin-top: 24px; font-size: 12px; line-height: 1.8; }
.proof-badges { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.proof-badges li { display: flex; align-items: center; gap: 14px; }
.proof-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #FFFFFF; }
.proof-mark svg { width: 26px; height: 26px; fill: var(--accent); stroke: none; }
.proof-mark svg.is-line { fill: none; stroke: var(--primary); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.proof-text { display: grid; gap: 2px; }
.proof-text small { font-size: 11px; line-height: 1.4; letter-spacing: .04em; opacity: .8; }
.proof-text b { font-family: "Geist", var(--body-font); font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; }
.proof-text b em { font-style: normal; font-size: 14px; margin-left: 3px; }


.section-inner { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 64px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section-note { max-width: 34em; font-size: 13px; line-height: 1.8; }
.consultation { padding-block: clamp(64px, 6vw, 96px); }
.entry-panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: clamp(40px, 4vw, 64px) 0 0; padding: 0; list-style: none; }
.ep-1 { background: #EFEDE3; }
.ep-2 { background: #E8EAE5; }
.ep-3 { background: #F1EAE0; }
.ep-4 { background: #E6EAEA; }
.entry-panel a {
  display: flex; flex-direction: column; align-items: center; height: 100%;
  padding: clamp(40px, 4vw, 64px) clamp(20px, 2.5vw, 36px) clamp(44px, 4.5vw, 72px);
  text-align: center; color: var(--primary);
  transition: opacity .3s var(--motion-ease);
}
.entry-panel a:hover { opacity: .78; }
.entry-kind { font-size: 13px; letter-spacing: .08em; line-height: 1.8; opacity: .55; }
.entry-panel h3 { margin-top: 12px; font-family: var(--heading-font); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.5; }
.entry-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.entry-tags span { padding: 9px 18px; background: #FFFFFF; border-radius: 2px; font-size: 13px; line-height: 1.4; white-space: nowrap; }
.entry-panel img { width: min(74%, 300px); height: auto; aspect-ratio: 1; margin-top: clamp(28px, 3vw, 44px); border-radius: 50%; object-fit: cover; }
.entry-note { margin-top: clamp(24px, 2.5vw, 36px); max-width: 22em; font-size: 14px; line-height: 1.9; }
.continuation { max-width: none; margin-top: 40px; color: var(--ink); opacity: .65; font-size: 12px; line-height: 1.8; text-align: center; }

@media (min-width: 721px) and (max-width: 1179px) {
  .concept-inner { padding-inline: 40px; column-gap: 40px; }
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 16px 24px; }
  .section-inner { padding-inline: 40px; }
  .entry-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) repeat(3, 44px);
    gap: 4px;
    height: 80px;
    min-height: 80px;
    padding: 12px;
  }
  .brand { gap: 8px; }
  .brand-name { font-size: 18px; letter-spacing: .02em; }
  .brand-sub { font-size: 10px; letter-spacing: .08em; }
  .desktop-nav, .phone, .line-button, .header-cta { display: none; }
  .header-actions { display: contents; }
  .mobile-line, .mobile-phone, .menu-toggle { display: flex; grid-row: 1; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .mobile-line { grid-column: 2; }
  .mobile-phone { grid-column: 3; }
  .mobile-line svg, .mobile-phone svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .menu-toggle { grid-column: 4; flex-direction: column; gap: 6px; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .menu-toggle span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .3s var(--motion-ease), opacity .3s var(--motion-ease); }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--paper); color: var(--ink); border-bottom-color: var(--rule); }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu {
    position: fixed; inset: 80px 0 0; z-index: 19;
    overflow-y: auto; overscroll-behavior: contain;
    padding: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom));
    background: var(--paper); color: var(--ink);
    font-family: var(--body-font); font-size: 15px; font-weight: 500;
  }
  .mobile-menu > .button { width: 100%; min-height: 52px; }
  .mobile-menu-links, .mobile-menu-related { margin: 20px 0 0; padding: 0; list-style: none; }
  /* 11項目を一画面で見渡せるよう2列に組む。 */
  .mobile-menu-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; border-top: 1px solid var(--rule); }
  .mobile-menu-links li { border-bottom: 1px solid var(--rule); }
  .mobile-menu-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; font-size: 14px; }
  .mobile-menu-links a span { font-size: 12px; opacity: .4; }
  .mobile-menu-related { display: flex; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); font-size: 13px; }
  .mobile-menu-related a { display: flex; align-items: center; min-height: 44px; }
  .mobile-menu-contact { margin-top: 20px; }
  .mobile-menu-phone { display: block; font-size: 24px; }
  .mobile-menu-contact p { font-size: 12px; }
  .mobile-menu-contact .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; }
  .mobile-menu-item { opacity: 0; transform: translateY(12px); transition: opacity .3s var(--motion-ease), transform .3s var(--motion-ease); transition-delay: calc(var(--i) * 40ms); }
  .mobile-menu.is-open .mobile-menu-item { opacity: 1; transform: translateY(0); }
  h1 { font-size: 32px; line-height: 1.35; letter-spacing: .02em; }
  h2 { font-size: 28px; line-height: 1.4; }
  h3 { font-size: 24px; }
  .mobile-break { display: inline; }
  .hero { height: 64vh; min-height: 420px; }
  .hero::before { height: 190px; }
  .concept-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    min-height: 0;
    padding: 56px 24px 64px;
  }
  .concept-title { writing-mode: horizontal-tb; justify-self: start; font-size: 26px; line-height: 1.5; letter-spacing: .02em; }
  .concept-lead { margin-top: 16px; font-size: 16px; }
  .concept-inner > .concept-title { order: -1; }
  .eyebrow { gap: 8px; font-size: 12px; letter-spacing: .12em; }
  .eyebrow::before { flex-basis: 16px; }
  h1 { margin-top: 12px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 24px; }
  .hero-actions .button { width: 100%; }
  .proof { margin-top: 16px; }
  .proof-badges { gap: 12px 20px; margin-top: 20px; }
  .proof-mark { width: 46px; height: 46px; }
  .proof-text b { font-size: 20px; }
  .section-inner { padding-inline: 24px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 32px; }
  .consultation { padding-block: 48px; }
  .entry-panels { grid-template-columns: minmax(0, 1fr); gap: 2px; margin-top: 24px; }
  .entry-panel a {
    display: grid; grid-template-columns: 76px minmax(0, 1fr) 14px;
    grid-template-areas: "img kind arrow" "img title arrow" "img note arrow";
    column-gap: 16px; align-items: center; padding: 16px 18px; text-align: left;
  }
  .entry-panel img { grid-area: img; width: 76px; height: 76px; margin-top: 0; align-self: center; }
  .entry-kind { grid-area: kind; font-size: 11px; line-height: 1.6; }
  .entry-panel h3 { grid-area: title; margin-top: 2px; font-size: 19px; line-height: 1.5; }
  .entry-panel h3 br { display: none; }
  .entry-tags { display: none; }
  .entry-note { grid-area: note; margin-top: 4px; max-width: none; font-size: 12px; line-height: 1.7; }
  .entry-panel a::after { content: "→"; grid-area: arrow; align-self: center; font-size: 14px; opacity: .45; }
  .continuation { margin-top: 32px; text-align: left; }
}

@media (max-width: 374px) {
  h1 { font-size: 26px; }
  h2 { font-size: 26px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 9px; letter-spacing: .02em; }
  .header-cta { width: 124px; white-space: normal; }
  .eyebrow { font-size: 11px; letter-spacing: .08em; }
  .section-inner { padding-inline: 16px; }
}

/* Full-page additions: the completed first three sections retain their styles. */
.top-section { padding-block: clamp(72px, 7.5vw, 120px); }
.top-section h2, .tagline h2 { font-size: 40px; line-height: 1.4; }
.top-section h2 { margin-top: 16px; }
.top-section h3 { font-size: 20px; }
.section-intro { margin-top: 24px; }
.section-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: 40px; }
.quiet-note { color: var(--ink); opacity: .65; font-size: 13px; }
.section-intro, .honest-note, .welcome-note { max-width: 34em; }
/* 1文だけの導入文は折り返さず1行に収める */
.consultation .section-note, .honest-note, .small-work .section-intro { max-width: none; }
/* 3つの文を1文ずつ1行に収める（PC） */
.cases .section-intro { max-width: 40em; }
/* 最後の行に1文字だけ残らないようにする（日本語の泣き別れ対策） */
p, dd, li, figcaption, blockquote { text-wrap: pretty; }
/* 2行に収まる短い説明文は、行の長さをそろえて泣き別れを防ぐ */
.section-note, .quiet-note, .board-summary, .work-list p, .room-highlights p,
.entry-note, .fact-band p, .contact-method p, .work-card figcaption, .staff-card h3 { text-wrap: balance; }
.rebuild { border-top: 1px solid var(--rule); }
.cost-compare { margin-top: clamp(32px, 3.5vw, 48px); }
.cost-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; font-size: 15px; font-weight: 500; }
.cost-title span { font-size: 12px; font-weight: 400; opacity: .6; }
.cost-row { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) minmax(0, 5em); align-items: center; gap: 20px; padding: 14px 0; }
.cost-row + .cost-row { border-top: 1px solid var(--rule); }
.cost-label { font-size: 14px; }
.cost-bar { height: 10px; background: rgba(51,56,61,.08); border-radius: 2px; overflow: hidden; }
.cost-bar span { display: block; width: var(--w, 0%); height: 100%; background: rgba(51,56,61,.32); transition: width 1.2s var(--motion-ease); }
.is-reno .cost-bar span { background: var(--accent); }
.cost-value { font-family: "Geist", var(--body-font); font-size: 34px; font-weight: 500; line-height: 1; text-align: right; letter-spacing: -.02em; }
.cost-value small { font-size: 15px; margin-left: 2px; }
.is-reno .cost-value { color: var(--accent); }
.cost-note { margin-top: 12px; font-size: 12px; line-height: 1.8; opacity: .66; }
html:not(.motion-ready) .cost-bar span { width: var(--to); }
.comparison-table-wrap { margin-top: 48px; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.comparison-table th, .comparison-table td { padding: 24px; border-bottom: 1px solid var(--rule); vertical-align: top; font-weight: 400; }
.comparison-table thead th { border-top: 1px solid var(--rule); font-size: 20px; font-weight: 500; }
.comparison-table thead th:first-child { width: 20%; }
.comparison-table thead th:nth-child(2) { width: 48%; }
.comparison-table tr > :nth-child(2) { background: #FFFFFF; }
.comparison-table tr > :nth-child(3) { border-left: 1px solid var(--rule); }
.comparison-table tbody th { font-weight: 500; }
.table-mobile-label { display: none; }
.honest-note { margin-top: 32px; }
.small-work { border-top: 1px solid var(--rule); }
.small-work-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 40px; margin-top: 48px; }
.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; background: #FFFFFF; }
.work-list li { min-width: 0; padding: 24px; border-top: 1px solid var(--rule); }
.work-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
.work-list h3 { font-size: 16px; font-weight: 500; }
.work-list p { margin-top: 12px; font-size: 14px; }
.small-work-photo { width: 100%; aspect-ratio: 4 / 3; max-height: 420px; object-fit: cover; border-radius: 4px; }
.work-note { margin-top: 16px; }
.welcome-note { margin-top: 32px; }
.work-afterword .section-actions { margin-top: 24px; }
.cases { padding-block: clamp(64px, 6.5vw, 104px) clamp(72px, 7vw, 112px); border-top: 1px solid var(--rule); }
.cases h2 { font-size: 48px; line-height: 1.35; }
.cases { overflow: hidden; }
.works-collage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 40px;
  margin-block-start: clamp(36px, 4vw, 56px);
  padding-inline: clamp(20px, 2.1vw, 30px);
}
.work-card { margin: 0; margin-top: var(--y, 0px); }
.work-card img { width: 100%; height: auto; object-fit: cover; border-radius: 4px; display: block; aspect-ratio: var(--ratio, 3 / 2); }
.work-card figcaption { margin-top: 12px; font-size: 13px; line-height: 1.7; color: var(--ink); opacity: .65; }
/* 上段 */
.wc-1 { grid-column: 1 / 3; --ratio: 4 / 3; --y: 0px;   --dx: -36; }
.wc-2 { grid-column: 3 / 4; --ratio: 4 / 5; --y: 72px;  --dy: 200px; }
.wc-3 { grid-column: 4 / -1; --ratio: 3 / 2; --y: 40px; --dx: 36; }
/* 下段 */
.wc-4 { grid-column: 1 / 3; --ratio: 4 / 3; --y: 0px;   --dx: -32; }
.wc-5 { grid-column: 3 / 5; --ratio: 3 / 2; --y: 36px;  --dy: 220px; }
.wc-6 { grid-column: 5 / -1; --ratio: 4 / 5; --y: 64px; --dx: 32; }
.wc-6 img { object-position: 45% center; }

/* 写真のリンク内にだけマスクを重ね、カード本体の出現アニメーションを保つ。 */
.work-card-link { position: relative; display: block; border-radius: 4px; overflow: hidden; }
.work-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.work-mask {
  display: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(35, 43, 51, .55);
  transition: opacity .3s cubic-bezier(.32,.72,0,1);
  pointer-events: none;
}
.work-card-link:hover .work-mask, .work-card-link:focus-visible .work-mask { opacity: 1; }
.work-mask-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 48px);
  color: #FFFFFF;
  font-family: var(--heading-font);
  font-size: 18px;
  line-height: 1.4;
  border-bottom: 1px solid #FFFFFF;
  padding-bottom: 6px;
  white-space: normal;
  text-align: center;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.work-mask-more {
  position: absolute;
  bottom: 20px;
  left: 56px;
  color: #FFFFFF;
  font-family: "Geist", var(--body-font);
  font-size: 12px;
  letter-spacing: .12em;
}
.work-mask-more::before { position: absolute; content: ""; height: 1px; width: 36px; left: -48px; bottom: 6px; background: #FFFFFF; }
.work-mask-more::after { position: absolute; content: ""; width: 8px; height: 8px; left: -20px; bottom: 2px; border-top: 1px solid #FFFFFF; border-right: 1px solid #FFFFFF; transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .work-mask { display: block; }
  .work-card > figcaption {
    position: absolute; width: 1px; height: 1px; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-mask { transition: none; }
}

.cases .section-actions { margin-top: clamp(40px, 4vw, 56px); }
.cases .button-secondary { background: transparent; color: var(--primary); }
.cases .button-secondary:hover { background: var(--primary); color: var(--on-primary); }
.tagline { padding-block: clamp(64px, 6.5vw, 104px); text-align: center; }
.tagline h2 {
  --sweep: 1;
  line-height: 1.4;
  background-image: linear-gradient(115deg,
    #33383D 0%, #33383D 30%,
    #C0974F 40%, #C0974F 46%,
    rgba(51,56,61,.26) 56%, rgba(51,56,61,.26) 100%);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: calc((1 - var(--sweep)) * 100%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.model-room-section { border-top: 1px solid var(--rule); }
.room-gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; }
.room-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 4px; }
.room-gallery .room-large { grid-row: span 2; aspect-ratio: 4 / 5; }
.room-gallery .room-small { aspect-ratio: 4 / 3; }
.room-highlights { margin: 48px 0 0; padding: 0; list-style: none; }
.room-highlights li { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 24px; padding-block: 24px; border-top: 1px solid var(--rule); }
.room-highlights li:last-child { border-bottom: 1px solid var(--rule); }
.room-number { font-size: 12px; letter-spacing: .12em; }
.mr-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: clamp(32px, 4vw, 48px); }
.mr-gallery figure { margin: 0; min-width: 0; }
.mr-gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; }
.mr-gallery figcaption { margin-top: 10px; font-family: "Geist", var(--body-font); font-size: 12px; letter-spacing: .08em; color: var(--ink); opacity: .6; }
@media (min-width: 721px) and (max-width: 1179px) { .mr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .mr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .mr-gallery figcaption { margin-top: 8px; } }
.mr-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); margin-top: clamp(16px, 2.2vw, 28px); }
.mr-pair figure { margin: 0; min-width: 0; }
.mr-pair img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; }
.mr-pair figcaption { margin-top: 10px; font-family: "Geist", var(--body-font); font-size: 12px; letter-spacing: .08em; color: var(--ink); opacity: .6; }
@media (max-width: 720px) { .mr-pair { gap: 12px; } .mr-pair figcaption { margin-top: 8px; } }
.mr-before { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); margin-top: clamp(24px, 3vw, 36px); }
.mr-before figure { margin: 0; min-width: 0; }
.mr-before img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; filter: saturate(.92); }
.mr-before figcaption { margin-top: 10px; font-family: "Geist", var(--body-font); font-size: 12px; letter-spacing: .08em; color: var(--ink); opacity: .55; }
@media (max-width: 720px) { .mr-before { gap: 12px; } .mr-before figcaption { margin-top: 8px; } }
/* モデルルーム ヒーロー：新築サイトと同じ、余白をとった文字主体の見せ方 */
.mr-hero { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 7vw, 104px); }
.mr-hero .chuko-breadcrumb { margin-bottom: clamp(44px, 7vw, 92px); }
.mr-hero-head { max-width: 820px; }
.mr-hero-eyebrow { margin: 0; font-family: "Zen Kaku Gothic New", var(--body-font); font-size: 11px; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: #686C70; }
.mr-hero-title { margin: clamp(16px, 2.2vw, 28px) 0 0; font-family: var(--heading-font); font-weight: 500; font-size: clamp(38px, 6vw, 64px); letter-spacing: .14em; line-height: 1.42; color: var(--ink); text-wrap: balance; }
.mr-hero-lead { margin: clamp(22px, 2.8vw, 34px) 0 0; max-width: 42em; font-family: var(--heading-font); font-weight: 400; font-size: 16px; letter-spacing: .1em; line-height: 2; color: var(--ink); }
.mr-hero .reform-hero { margin-top: clamp(40px, 6vw, 80px); }
@media (max-width: 720px) {
  .mr-hero .chuko-breadcrumb { margin-bottom: 40px; }
  .mr-hero-title { letter-spacing: .1em; line-height: 1.5; }
  .mr-hero-lead { letter-spacing: .06em; line-height: 1.95; }
}
/* ヒーロー演出（純CSS・JS非依存）：表示と同時に見出しが順に立ち上がり、写真は常にゆっくりズーム。 */
.mr-hero-eyebrow,
.mr-hero-title,
.mr-hero-lead { opacity: 0; animation: mr-hero-up 1.2s var(--motion-ease) both; }
.mr-hero-eyebrow { animation-delay: .25s; }
.mr-hero-title { animation-delay: .45s; }
.mr-hero-lead { animation-delay: .65s; }
.mr-hero .reform-hero { overflow: hidden; border-radius: 4px; opacity: 0; animation: mr-hero-fade 1.2s var(--motion-ease) .72s both; }
.mr-hero .reform-hero img { transform-origin: 50% 45%; animation: mr-hero-ken 15s ease-in-out .9s infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .mr-hero-eyebrow, .mr-hero-title, .mr-hero-lead { animation-name: mr-hero-fade; }
  .mr-hero .reform-hero img { animation: none; }
}
@keyframes mr-hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mr-hero-up { from { opacity: 0; transform: translateY(38px); filter: blur(7px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes mr-hero-ken { from { transform: scale(1.0); } to { transform: scale(1.06); } }
.fact-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; padding-block: 32px; background: #FFFFFF; border-block: 1px solid var(--rule); }
.fact-band > * { min-width: 0; margin: 0; padding-inline: 24px; }
.fact-band > * + * { border-left: 1px solid var(--rule); }
.about { border-top: 1px solid var(--rule); }
.about-layout { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 96px); row-gap: 40px; }
.about-heading h2 { margin-top: 16px; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.5; }
.about-lead { margin-top: 24px; font-family: var(--heading-font); font-size: clamp(26px, 2.7vw, 38px); line-height: 1.55; letter-spacing: var(--heading-tracking); }
.about-body p { font-size: 16px; line-height: 1.95; }
.about-body p + p { margin-top: 20px; }
.about-body .about-close { margin-top: 28px; font-family: var(--heading-font); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.9; }
.about-body .section-actions { margin-top: 32px; }
.visit-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; font-size: 14px; }
.visit-band > :nth-child(3) { border-left: 0; }
.reviews { border-top: 1px solid var(--rule); }
.review-note { margin-top: 24px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.review-item { display: flex; flex-direction: column; margin: 0; min-width: 0; padding: 32px; border: 1px solid var(--rule); background: #FFFFFF; }
.review-stars { display: flex; gap: 3px; margin-bottom: 18px; }
.review-stars svg { width: 16px; height: 16px; fill: var(--accent); }
.review-item blockquote { margin: 0; }
.review-item blockquote p + p { margin-top: 14px; }
.review-item blockquote p { opacity: .65; }
.review-item figcaption { display: grid; gap: 4px; margin-top: auto; padding-top: 28px; font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.review-item figcaption span { font-size: 11px; font-weight: 400; letter-spacing: .04em; opacity: .55; }
.subsidy-section { border-top: 1px solid var(--rule); }
.subsidy-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; margin-top: 40px; padding: 32px; background: #FFFFFF; border: 1px solid var(--rule); }
.subsidy-section .subsidy-panel { margin-top: 0; }
.subsidy-panel .quiet-note { margin-top: 16px; }
.staff { border-top: 1px solid var(--rule); }
/* 参考サイトに合わせ、見出しは左に置き、カードは右寄せで画面の端まで寄せる */
.staff-layout { display: grid; grid-template-columns: minmax(0, clamp(176px, 20vw, 300px)) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 88px); row-gap: 40px; max-width: none; padding-inline: clamp(24px, 3vw, 44px); }
.staff-heading { grid-column: 1; }
.staff-heading h2 { font-size: clamp(24px, 2.5vw, 36px); line-height: 1.45; }
.staff-list { grid-column: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3.6vw, 52px); max-width: 1100px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.staff-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; display: block; }
.staff-card h3 { margin-top: 20px; font-size: 17px; font-weight: 500; line-height: 1.7; }
.staff-spec { margin: 20px 0 0; display: grid; gap: 10px; }
.staff-spec > div { display: grid; grid-template-columns: minmax(0, 6.5em) minmax(0, 1fr); column-gap: 16px; font-size: 13px; line-height: 1.7; }
.staff-spec dt { display: flex; justify-content: space-between; color: var(--ink); opacity: .45; }
.staff-spec dt::after { content: "／"; }
.staff-spec dd { margin: 0; }
.staff-more {
  grid-column: 2;
  max-width: 1100px; margin-left: auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 32px; border: 1px solid var(--rule); border-radius: 4px;
  color: var(--primary); text-decoration: none;
  transition: background-color .3s var(--motion-ease), border-color .3s var(--motion-ease);
}
.staff-more:hover { background: rgba(51,56,61,.04); border-color: var(--primary); }
.staff-more-label { font-size: 16px; }
.staff-more-label::before { content: "→"; margin-right: 20px; }
.staff-more-tag { font-family: "Geist", var(--body-font); font-size: 12px; letter-spacing: .12em; opacity: .45; }
.company { border-top: 1px solid var(--rule); }
.company-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.company-layout .section-intro { margin-top: 0; }
.group-block { margin-top: clamp(28px, 3vw, 40px); }
.group-cat { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .12em; opacity: .55; }
.group-cat::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--rule); }
.group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.group-grid.is-welfare { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.group-grid li { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 6px; border: 1px solid var(--rule); border-radius: 4px; font-size: 12px; line-height: 1.5; text-align: center; }
.group-grid li small { display: block; font-size: 10px; line-height: 1.4; opacity: .55; word-break: keep-all; }
.group-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.company-band { align-items: stretch; margin-top: clamp(24px, 2.5vw, 32px); }
.company-band p { display: flex; align-items: center; font-size: 16px; }
.contact { border-top: 1px solid var(--rule); }
.contact-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; padding-block: 32px; border-block: 1px solid var(--rule); background: #FFFFFF; }
.contact-method { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-inline: 32px; }
.contact-method + .contact-method { border-left: 1px solid var(--rule); }
.contact-method > p { margin-top: 16px; }
.contact-method form { width: 100%; margin-top: 24px; }
.contact-method select { width: 100%; padding: 12px; border: 1px solid var(--rule); border-radius: 4px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 14px; }
.contact-method select:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.contact-method .button { width: 100%; margin-top: 16px; }
.contact-method .text-link { margin-top: 32px; }
.contact-phone { font-family: var(--body-font); font-size: 28px; line-height: 1.4; white-space: nowrap; }
.contact-phone:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.contact-hours { font-size: 13px; }
.contact-method button.text-link { padding: 0; border: 0; background: transparent; text-align: left; }
.contact-closing { max-width: none; margin-top: 48px; text-align: center; }
.site-footer { padding-block: 80px 32px; background: var(--primary); color: var(--paper); }
.footer-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .7fr); gap: 48px; }
.footer-company h2 { font-size: 24px; line-height: 1.4; letter-spacing: .04em; }
.footer-company address { margin-top: 24px; font-style: normal; font-size: 13px; }
.footer-company address p + p { margin-top: 8px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 12px 24px; font-size: 13px; }
.footer-related { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 13px; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.site-footer a:focus-visible { outline-color: var(--paper); }
.copyright { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 12px; }

@media (min-width: 721px) and (max-width: 1179px) {
  .group-grid.is-welfare { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .small-work-layout { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 24px; }
  .work-list li, .review-item { padding: 24px 16px; }
  .fact-band > *, .contact-method { padding-inline: 16px; }
  .contact-methods { grid-template-columns: 1fr; padding-block: 0; }
  .contact-method { padding: 32px; }
  .contact-method + .contact-method { border-left: 0; border-top: 1px solid var(--rule); }
  .contact-method form { max-width: 34em; }
  .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (min-width: 721px) and (max-width: 999px) {
  /* ここまで狭いと2段組みでは写真が小さくなりすぎるので、見出しを上に回す */
  .staff-layout { grid-template-columns: minmax(0, 1fr); }
  .staff-heading, .staff-list, .staff-more { grid-column: 1; }
  .staff-list { gap: 16px; }
  .staff-heading h2 { font-size: 28px; }
}

@media (max-width: 720px) {
  .group-grid, .group-grid.is-welfare { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .group-grid li { padding: 12px 4px; font-size: 11px; }
  .group-grid li small { font-size: 9px; }
  .group-icon svg { width: 20px; height: 20px; }
  .top-section h2, .tagline h2 { font-size: 22px; line-height: 1.7; letter-spacing: 0; }
  .top-section .eyebrow { font-size: 12px; letter-spacing: .12em; }
  .about-layout { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .about-lead { font-size: 24px; }
  .about-body p { font-size: 15px; line-height: 1.9; }
  .about-body .about-close { font-size: 16px; }
  .section-actions { align-items: flex-start; flex-direction: column; }
  .cost-row { grid-template-columns: minmax(0, 8em) minmax(0, 1fr) minmax(0, 4em); gap: 12px; }
  .cost-value { font-size: 26px; }
  .comparison-table-wrap { overflow-x: auto; }
  .comparison-table, .comparison-table tbody { display: block; width: 100%; }
  .comparison-table thead { display: none; }
  .comparison-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-table tbody th { grid-column: 1 / -1; padding: 16px 12px; border-top: 1px solid var(--rule); border-bottom: 0; }
  .comparison-table td { padding: 16px 12px 24px; border-bottom: 0; font-size: 14px; }
  .comparison-table tr:last-child td { border-bottom: 1px solid var(--rule); }
  .table-mobile-label { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 500; }
  .small-work-layout { grid-template-columns: 1fr; gap: 32px; }
  .work-list { grid-template-columns: 1fr; }
  .work-list li { padding: 24px; }
  .work-list li:nth-last-child(2) { border-bottom: 0; }
  .small-work-photo { aspect-ratio: 3 / 2; }
  .cases h2 { font-size: 36px; line-height: 1.35; letter-spacing: var(--heading-tracking); }
  .work-card figcaption { font-size: 12px; margin-top: 8px; line-height: 1.6; }
  .review-grid { grid-template-columns: 1fr; gap: 40px; }
  .tagline h2 { line-height: 1.4; }
  .room-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .room-gallery .room-large { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .room-gallery .room-small { aspect-ratio: 1 / 1; }
  .room-highlights li { grid-template-columns: 24px minmax(0, 1fr); gap: 12px 16px; }
  .room-highlights li p { grid-column: 2; }
  .room-highlights h3 { font-size: 18px; }
  .fact-band { grid-template-columns: 1fr; padding-block: 0; gap: 0; }
  .fact-band > * { padding: 24px; }
  .fact-band > * + * { border-left: 0; border-top: 1px solid var(--rule); }
  .subsidy-panel, .company-layout { grid-template-columns: 1fr; gap: 24px; }
  .subsidy-panel { padding: 24px; }
  .staff-layout { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .staff-heading, .staff-list, .staff-more { grid-column: 1; }
  /* 3枚は横に流して見せる。ページ自体の横スクロールは出さない */
  .staff-list {
    grid-template-columns: repeat(3, 72vw);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px;
    scrollbar-width: none;
  }
  .staff-list::-webkit-scrollbar { display: none; }
  .staff-card { scroll-snap-align: start; }
  .staff-heading h2 { font-size: 22px; line-height: 1.7; letter-spacing: 0; }
  .staff-more { padding: 20px; }
  .staff-more-label { font-size: 14px; }
  .staff-more-label::before { margin-right: 12px; }
  .contact-methods { grid-template-columns: 1fr; padding-block: 0; }
  .contact-method { padding: 32px 24px; }
  .contact-method + .contact-method { border-left: 0; border-top: 1px solid var(--rule); }
  .contact-closing { text-align: left; }
  .footer-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-related { padding-top: 32px; border-top: 1px solid var(--rule); }
}

@media (max-width: 374px) {
  .cases h2 { font-size: 30px; }
}

@media (max-width: 959px) {
  /* 2列のモザイク。左の列は左から、右の列は右から、横いっぱいの写真は下から寄る */
  .works-collage {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    column-gap: 12px; row-gap: 28px;
    padding-inline: clamp(20px, 5vw, 64px);
  }
  .work-card { margin-top: 0; }
  .wc-1 { grid-column: 1 / 2; --ratio: 4 / 3; --dx: -50; --dy: 0px; }
  .wc-2 { grid-column: 2 / -1; --ratio: 4 / 5; --dx: 50;  --dy: 0px; }
  .wc-3 { grid-column: 1 / -1; --ratio: 3 / 2; --dx: 0;   --dy: 90px; }
  .wc-4 { grid-column: 1 / -1; --ratio: 4 / 3; --dx: 0;   --dy: 90px; }
  .wc-5 { grid-column: 1 / 2; --ratio: 3 / 2; --dx: -50;  --dy: 0px; }
  .wc-6 { grid-column: 2 / -1; --ratio: 4 / 5; --dx: 50;  --dy: 0px; }
}

@media (scripting: none) {
  .cost-bar span { width: var(--to); }
  .tagline h2 { --sweep: 1; }
  .work-card { opacity: 1; transform: none; }
  .concept .ta-part > i { transform: none; }
}

/* The unenhanced document shows hero-1 and the complete concept copy. */
:root { --motion-ease: cubic-bezier(.22,1,.36,1); }
.ta-part { display: inline-block; }
.mask .ta-part { overflow: hidden; vertical-align: bottom; }
.mask .ta-part > i { display: inline-block; font-style: normal; }
html.js.motion-ready .hero-slide-1 { opacity: 0; }
html.js.motion-ready .concept.is-pending .eyebrow { opacity: 0; }
html.js.motion-ready .concept.is-pending .mask .ta-part > i { transform: translateY(100%); }
html.js.motion-ready .concept.is-pending .hero-fade { opacity: 0; transform: translateY(12px); }
html.js.motion-ready .about-lead.is-pending .ta-part > i { transform: translateY(100%); }
html.js.motion-ready .reveal-pending { opacity: 0; transform: translateY(16px); filter: blur(6px); }
html.js.motion-ready .group-grid .reveal-pending { transform: translateY(14px); filter: none; }
html.js.motion-ready .work-card.reveal-pending {
  opacity: 0;
  transform: translate(calc(var(--dx, 0) * 1vw), var(--dy, 0px));
  filter: none;
}
html.js.motion-ready .board-pending { opacity: 0; transform: translateY(16px); }
html.js.motion-ready .reveal-fallback {
  transition: opacity .6s var(--motion-ease), transform .6s var(--motion-ease), filter .6s var(--motion-ease);
}
html.js.motion-ready .about-lead.reveal-fallback .ta-part > i { transition: transform .6s var(--motion-ease); }
.events { padding-block: 64px; background: #232B33; color: #F3F1E9; }
.events [hidden] { display: none !important; }
.events .eyebrow { color: inherit; font-family: var(--body-font); font-size: 13px; line-height: 1.8; letter-spacing: .12em; }
.events a:focus-visible, .events button:focus-visible { outline-color: var(--accent); }
.board-today { display: grid; grid-template-columns: minmax(0, 1fr) minmax(max-content, 1.2fr); align-items: center; gap: 40px; margin-block: 32px 48px; }
.board-date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; }
.board-date time { font-family: "Geist", var(--body-font); font-size: 64px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; white-space: nowrap; }
.board-weekday { font-size: 14px; }
.board-status { max-width: 24em; font-family: var(--heading-font); font-size: 22px; line-height: 1.6; }
.board-status > span { display: block; min-height: 1.6em; white-space: nowrap; }
.board-rows { position: relative; }
.board-row { height: 320px; border-top: 1px solid rgba(243,241,233,.18); overflow: hidden; }
.board-row:last-of-type { border-bottom: 1px solid rgba(243,241,233,.18); }
.board-head { display: grid; grid-template-columns: 176px 256px minmax(0, 1fr) 96px; align-items: center; gap: 24px; height: 95px; padding-inline: 24px; }
.board-tags { display: grid; justify-items: start; gap: 8px; }
.board-tag { display: inline-block; padding: 8px; border: 1px solid var(--accent); font-size: 11px; letter-spacing: .04em; line-height: 1.5; }
.board-countdown { color: var(--accent); font-size: 12px; line-height: 1.5; }
.board-heading { font-family: var(--heading-font); font-size: 28px; font-weight: 400; line-height: 1.5; }
.board-toggle { display: block; padding: 8px 0; border: 0; background: transparent; font: inherit; text-align: left; }
.board-summary { font-size: 14px; line-height: 1.8; }
.board-reserve { justify-self: end; padding-block: 12px; white-space: nowrap; }
.events .text-link:hover { color: var(--accent); text-decoration-color: var(--accent); }
.board-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; height: 224px; padding: 0 24px 24px; }
.board-detail p { max-width: 32em; font-size: 15px; line-height: 1.8; }
.board-photo { width: 100%; height: 200px; object-fit: cover; clip-path: inset(0 0 0 0); }
.board-marker { display: none; position: absolute; z-index: 1; top: 0; left: 0; width: 4px; height: 0; background: var(--accent); pointer-events: none; }
html.js .board-ready .board-row { height: 96px; transition: height .6s var(--motion-ease); }
html.js .board-ready .board-row.is-open { height: 320px; }
html.js .board-ready .board-head { cursor: pointer; }
html.js .board-ready .board-detail { visibility: hidden; transition: visibility 0s .6s; }
html.js .board-ready .board-photo { clip-path: inset(0 0 0 100%); transition: clip-path .6s var(--motion-ease); }
html.js .board-ready .is-open .board-detail { visibility: visible; transition-delay: 0s; }
html.js .board-ready .is-open .board-photo { clip-path: inset(0 0 0 0); }
html.js .board-ready .board-marker { display: block; }
/* The consultation band is the page's only dark full-width surface. */
.site-footer { border-top: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.site-footer a:focus-visible { outline-color: var(--primary); }

@media (min-width: 721px) and (max-width: 1179px) {
  .board-head { grid-template-columns: 144px 224px minmax(0, 1fr) 96px; gap: 16px; padding-inline: 16px; }
  .board-heading { font-size: 24px; }
  .board-summary { font-size: 13px; }
  .board-detail { padding-inline: 16px; gap: 24px; }
}
@media (min-width: 721px) and (max-width: 959px) {
  .board-head { grid-template-columns: 144px minmax(0, 1fr) 96px; height: 143px; gap: 8px 16px; padding-block: 16px; }
  .board-tags { grid-row: span 2; }
  .board-summary { grid-column: 2; grid-row: 2; }
  .board-reserve { grid-column: 3; grid-row: 1 / span 2; }
  .board-row, html.js .board-ready .board-row.is-open { height: 368px; }
  html.js .board-ready .board-row { height: 144px; }
}
@media (max-width: 720px) {
  .events { padding-block: 48px; }
  .board-today { grid-template-columns: 1fr; gap: 24px; margin-block: 24px 32px; }
  .board-date time { font-size: 40px; }
  .board-status { font-size: 18px; }
  .board-row, html.js .board-ready .board-row, html.js .board-ready .board-row.is-open { height: auto; }
  .board-head { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 8px; height: auto; min-height: 96px; padding: 24px 16px; }
  .board-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .board-heading { font-size: 28px; }
  .board-toggle { padding: 0; }
  .board-summary { grid-column: 1 / -1; grid-row: 3; }
  .board-reserve { grid-column: 2; grid-row: 2; font-size: 12px; padding-block: 8px; }
  .board-detail { grid-template-columns: 1fr; gap: 24px; height: auto; padding: 0 16px 24px; }
  .board-detail p { font-size: 14px; }
  .board-photo { height: auto; aspect-ratio: 3 / 2; }
  .board-panel { display: grid; grid-template-rows: 1fr; }
  html.js .board-ready .board-panel { grid-template-rows: 0fr; transition: grid-template-rows .6s var(--motion-ease); }
  html.js .board-ready .is-open .board-panel { grid-template-rows: 1fr; }
  .board-panel-inner { min-height: 0; overflow: hidden; }
}
@media (max-width: 374px) {
  .board-head { padding-inline: 12px; }
  .board-heading { font-size: 24px; }
  .board-detail { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tagline h2 { --sweep: 1 !important; }
  html.js .work-card { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .hero-photos, html.js .hero-photo,
  html.js .reveal-pending, html.js .board-pending { opacity: 1 !important; transform: none !important; filter: none !important; }
  html.js .concept.is-pending .eyebrow,
  html.js .concept .hero-fade { opacity: 1 !important; transform: none !important; }
  html.js .concept .ta-part > i { transform: none !important; }
  html.js .about-lead .ta-part > i { transform: none !important; }
  .cost-bar span { width: var(--to); }
}

/* 定額リノベーションパック — 共通クラスは保ち、ページ固有の配置だけを追加。 */
.plan-page { padding-top: 96px; }
.plan-page > header { padding-top: 32px; }
.plan-page > .top-section { border-bottom: 1px solid var(--rule); }
.plan-page > .contact, .plan-page > .subsidy-section { border-top: 0; }
.plan-page > .contact { border-bottom: 0; }
.plan-page h1 { font-size: 48px; line-height: 1.45; }
.plan-page h2, .plan-page h3 { text-wrap: balance; }
.plan-page h3 > span { display: inline-block; }
.plan-page .honest-note { max-width: 54em; }
.plan-page .honest-note strong { font-weight: 500; }
.plan-page .honest-note + .quiet-note { max-width: none; margin-top: 20px; }
.plan-breadcrumb { margin-bottom: 64px; font-size: 12px; line-height: 1.8; }
.plan-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plan-breadcrumb li { display: flex; gap: 8px; }
.plan-breadcrumb a { text-underline-offset: 4px; }
.plan-breadcrumb a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.plan-breadcrumb [aria-current] { opacity: .65; }
.plan-number { display: block; color: var(--accent); font-family: "Geist", var(--body-font); font-size: 14px; font-weight: 400; letter-spacing: .08em; line-height: 1.5; }

.plan-reasons, .plan-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.plan-reasons > li, .plan-steps > li { min-width: 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.plan-reasons h3, .plan-steps h3, .plan-pack h3, .plan-spot h3, .plan-page .subsidy-panel h3 {
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  line-height: 1.6;
}
.plan-reasons h3, .plan-steps h3 { margin-top: 20px; }
.plan-reasons p, .plan-steps p { margin-top: 16px; }

.plan-packs { margin-top: 48px; }
.plan-pack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.plan-pack + .plan-pack { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--rule); }
.plan-pack-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.plan-pack-body { min-width: 0; }
.plan-pack:nth-child(even) .plan-pack-photo { grid-column: 2; grid-row: 1; }
.plan-pack:nth-child(even) .plan-pack-body { grid-column: 1; grid-row: 1; }
.plan-pack-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-top: 12px; color: var(--primary); line-height: 1.2; }
.plan-pack-price > span { font-family: "Geist", var(--body-font); font-size: 56px; font-weight: 400; letter-spacing: -.025em; }
.plan-pack-price small { font-size: 18px; }
.plan-pack-label { margin-top: 8px; font-size: 13px; letter-spacing: .08em; }
.plan-pack h3 { margin-top: 28px; font-size: 24px; }
.plan-pack-description { margin-top: 16px; }
.plan-pack-features { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; }
.plan-pack-features li { position: relative; padding-left: 18px; }
.plan-pack-features li::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 1px; background: var(--accent); }
.plan-pack-scope { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13px; }
.plan-pack-scope dt { opacity: .65; }
.plan-pack-scope dd { margin: 0; }
.plan-pack .section-actions { margin-top: 24px; }

.plan-spots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.plan-spot { min-width: 0; }
.plan-spot img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.plan-spot-price { margin-top: 20px; font-size: 13px; }
.plan-spot-price > span { font-family: "Geist", var(--body-font); font-size: 20px; }
.plan-spot h3 { margin-top: 8px; }
.plan-spot h3 + p { margin-top: 12px; font-size: 14px; }
.plan-page .subsidy-panel .section-actions { margin-top: 24px; }
.plan-disclaimer { padding-bottom: 48px; }
.plan-disclaimer .quiet-note { max-width: none; text-wrap: pretty; }

/* JSが無効なら通常表示。非対応環境ではJS側で同期的にis-inを付ける。 */
html.js [data-reveal] { opacity: 0; transform: translateY(40px); filter: blur(6px); }
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--motion-ease), transform 1.1s var(--motion-ease), filter 1.1s var(--motion-ease); }

@media (min-width: 721px) and (max-width: 1179px) {
  .plan-page { padding-top: 144px; }
  .plan-reasons, .plan-steps { gap: 24px; }
  .plan-spots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
}

@media (max-width: 720px) {
  .plan-page { padding-top: 80px; }
  .plan-page > header { padding-top: 24px; }
  .plan-page h1 { font-size: 32px; }
  .plan-breadcrumb { margin-bottom: 48px; }
  .plan-reasons, .plan-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .plan-reasons h3, .plan-steps h3 { margin-top: 12px; }
  .plan-pack { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plan-pack:nth-child(even) .plan-pack-photo, .plan-pack:nth-child(even) .plan-pack-body { grid-column: auto; grid-row: auto; }
  .plan-pack + .plan-pack { margin-top: 48px; padding-top: 48px; }
  .plan-pack-price > span { font-size: 48px; }
  .plan-pack h3 { font-size: 22px; }
  .plan-spots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .plan-spot-price { margin-top: 16px; }
  .plan-spot h3 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* いま見ているページを、メニューで示す */
.desktop-nav a[aria-current="page"],
.footer-nav a[aria-current="page"],
.footer-related a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.mobile-menu-links a[aria-current="page"] { color: var(--accent); }

/* 施工事例 — 一覧・詳細に閉じた配置。TOPと定額プランの共通ルールは変更しない。 */
.works-page { padding-top: 96px; overflow-wrap: anywhere; }
.works-page > header { padding-top: 32px; }
.works-page h1 { font-size: 48px; line-height: 1.45; }
.works-breadcrumb, .company-breadcrumb, .privacy-breadcrumb, .contact-breadcrumb, .reform-breadcrumb, .subsidy-breadcrumb, .chuko-breadcrumb { margin-bottom: 64px; font-size: 12px; line-height: 1.8; }
.works-breadcrumb ol, .company-breadcrumb ol, .privacy-breadcrumb ol, .contact-breadcrumb ol, .reform-breadcrumb ol, .subsidy-breadcrumb ol, .chuko-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.works-breadcrumb li, .company-breadcrumb li, .privacy-breadcrumb li, .contact-breadcrumb li, .reform-breadcrumb li, .subsidy-breadcrumb li, .chuko-breadcrumb li { display: flex; gap: 8px; min-width: 0; }
.works-breadcrumb li > span, .company-breadcrumb li > span, .privacy-breadcrumb li > span, .contact-breadcrumb li > span, .reform-breadcrumb li > span, .subsidy-breadcrumb li > span, .chuko-breadcrumb li > span { min-width: 0; }
.works-breadcrumb li > [aria-hidden], .company-breadcrumb li > [aria-hidden], .privacy-breadcrumb li > [aria-hidden], .contact-breadcrumb li > [aria-hidden], .reform-breadcrumb li > [aria-hidden], .subsidy-breadcrumb li > [aria-hidden], .chuko-breadcrumb li > [aria-hidden] { flex-shrink: 0; }
.works-breadcrumb a, .company-breadcrumb a, .privacy-breadcrumb a, .contact-breadcrumb a, .reform-breadcrumb a, .subsidy-breadcrumb a, .chuko-breadcrumb a { text-underline-offset: 4px; }
.works-breadcrumb a:hover, .company-breadcrumb a:hover, .privacy-breadcrumb a:hover, .contact-breadcrumb a:hover, .reform-breadcrumb a:hover, .subsidy-breadcrumb a:hover, .chuko-breadcrumb a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.works-breadcrumb [aria-current], .company-breadcrumb [aria-current], .privacy-breadcrumb [aria-current], .contact-breadcrumb [aria-current], .reform-breadcrumb [aria-current], .subsidy-breadcrumb [aria-current], .chuko-breadcrumb [aria-current] { opacity: .65; }
.works-number { color: var(--accent); font-family: "Geist", var(--body-font); font-size: 13px; font-weight: 400; letter-spacing: .08em; }

.works-index .section-intro { max-width: 40em; }
.works-list { padding-top: 0; }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.works-card { min-width: 0; }
.works-card > a { display: block; height: 100%; }
.works-card-photo img, .works-hero img, .works-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.works-card-photo img { transition: filter .25s ease; }
.works-card > a:hover img, .works-card > a:focus-visible img { filter: brightness(.93); }
.works-card .works-number { margin-top: 20px; }
.works-page .works-card-title { margin-top: 8px; font-size: 18px; font-weight: 500; line-height: 1.7; letter-spacing: .02em; }
/* 見出しが1行でも2行でも、下のメタの位置を段でそろえる */
.works-grid .works-card-title { min-height: calc(18px * 1.7 * 2); }
.works-card-meta { max-width: none; margin-top: 12px; font-size: 13px; line-height: 1.8; }

.works-content { max-width: 1088px; }
.works-detail h1 { max-width: 24em; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.55; letter-spacing: .04em; }
.works-detail .section-heading > div { min-width: 0; }
.works-hero { margin: 40px 0 0; }
.works-blocks { display: grid; gap: 72px; padding-bottom: clamp(72px, 7.5vw, 120px); }
.works-blocks > * { min-width: 0; }
.works-blocks h2 { font-size: 28px; line-height: 1.5; }
.works-data { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
.works-data-heading h2 { margin-top: 16px; }
.works-data dl { margin: 0; border-top: 1px solid var(--rule); }
.works-data-row { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.works-data dt { opacity: .65; }
.works-data dd { min-width: 0; margin: 0; }
.works-body { width: 100%; max-width: 34em; margin-inline: auto; line-height: 1.95; }
.works-body p + p { margin-top: 1.5em; }
.works-gallery .section-heading { margin-bottom: 32px; }
.works-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.works-gallery-item { margin: 0; min-width: 0; }
.works-gallery-item img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; }
.works-gallery-item.is-wide { grid-column: 1 / -1; }
.works-gallery-item.is-wide img { aspect-ratio: 16 / 9; }
.works-pairs { display: grid; gap: 40px; }
.works-pair, .works-solo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.works-photo { min-width: 0; margin: 0; }
.works-photo-label { margin-bottom: 12px; font-family: "Geist", var(--body-font); font-size: 12px; letter-spacing: .12em; color: var(--primary); }
.works-pagination { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 0; padding-top: 32px; border-top: 1px solid var(--rule); }
.works-pagination a { display: inline-flex; align-items: center; min-height: 44px; }
.works-prev { grid-column: 1; grid-row: 1; justify-self: start; }
.works-back { grid-column: 2; grid-row: 1; justify-self: center; }
.works-next { grid-column: 3; grid-row: 1; justify-self: end; }

@media (min-width: 721px) and (max-width: 1179px) {
  .works-page { padding-top: 144px; }
}

@media (max-width: 720px) {
  .works-page { padding-top: 80px; }
  .works-page > header { padding-top: 24px; }
  .works-page h1 { font-size: 32px; }
  .works-detail h1 { font-size: 28px; }
  .works-breadcrumb, .company-breadcrumb, .privacy-breadcrumb, .contact-breadcrumb, .reform-breadcrumb, .subsidy-breadcrumb, .chuko-breadcrumb { margin-bottom: 48px; }
  .works-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .works-hero { margin-top: 32px; }
  .works-blocks { gap: 48px; }
  .works-blocks h2 { font-size: 22px; }
  .works-data { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .works-data-row { grid-template-columns: 6em minmax(0, 1fr); gap: 12px; }
  .works-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .works-gallery-item.is-wide img { aspect-ratio: 3 / 2; }
  .works-pair { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .works-solo-grid { gap: 24px 16px; }
  .works-pagination { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 24px; }
  .works-next { grid-column: 2; }
  .works-back { grid-column: 1 / -1; grid-row: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .works-card-photo img { transition: none; }
}

/* スタッフ紹介 — 下層ページ内に限定し、TOPのスタッフ紹介には影響させない。 */
.staff-page { padding-top: 96px; overflow-wrap: anywhere; }
.staff-page > header { padding-top: 32px; }
.staff-page h1 { font-size: 48px; line-height: 1.45; }
.staff-page .section-heading > div { min-width: 0; }
.staff-page .staff-breadcrumb { margin-bottom: 64px; font-size: 12px; line-height: 1.8; }
.staff-page .staff-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.staff-page .staff-breadcrumb li { display: flex; gap: 8px; min-width: 0; }
.staff-page .staff-breadcrumb li > span { min-width: 0; }
.staff-page .staff-breadcrumb [aria-hidden] { flex-shrink: 0; }
.staff-page .staff-breadcrumb a { text-underline-offset: 4px; }
.staff-page .staff-breadcrumb a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.staff-page .staff-breadcrumb [aria-current] { opacity: .65; }
.staff-page .staff-directory { padding-top: 0; }
.staff-page .staff-department + .staff-department { margin-top: 72px; }
.staff-page .staff-department .group-cat { margin: 0 0 32px; font-family: var(--body-font); font-size: 12px; font-weight: 400; line-height: 1.8; letter-spacing: .12em; }
.staff-page .staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.staff-page .staff-profile { min-width: 0; }
.staff-page .staff-profile img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.staff-page .staff-role { margin-top: 20px; font-size: 12px; letter-spacing: .12em; }
.staff-page .staff-name { margin-top: 8px; font-family: var(--heading-font); font-size: 20px; font-weight: var(--heading-weight); line-height: 1.7; letter-spacing: var(--heading-tracking); }
.staff-page .staff-field-label { margin-right: 8px; font-size: 12px; }
.staff-page .staff-hobby { margin-top: 16px; font-size: 13px; }
.staff-page .staff-message { margin-top: 16px; font-size: 14px; line-height: 1.9; }
.staff-page .staff-boss { margin: 20px 0 0; padding-left: 16px; border-left: 1px solid var(--accent); color: rgba(51,56,61,.65); opacity: 1; font-size: 12.5px; line-height: 1.9; text-wrap: pretty; }
.staff-page .staff-boss .staff-field-label { display: block; margin: 0 0 4px; letter-spacing: .08em; }

@media (min-width: 721px) and (max-width: 1179px) {
  .staff-page { padding-top: 144px; }
  .staff-page .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .staff-page { padding-top: 80px; }
  .staff-page > header { padding-top: 24px; }
  .staff-page h1 { font-size: 32px; }
  .staff-page .staff-breadcrumb { margin-bottom: 48px; }
  .staff-page .staff-department + .staff-department { margin-top: 48px; }
  .staff-page .staff-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* 会社紹介 — 既存の下層ページに合わせ、罫線と余白で情報を整理する。 */
.company-page { padding-top: 96px; overflow-wrap: anywhere; }
.company-page > header { padding-top: 32px; }
.company-page h1 { font-size: 48px; line-height: 1.45; }
.company-page h2, .company-page h3 { line-height: 1.4; }
.company-page .section-heading > div { min-width: 0; }
.company-about p { font-size: 16px; line-height: 1.95; }
.company-about p + p { margin-top: 20px; }
.company-about .about-close { margin-top: 28px; font-family: var(--heading-font); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.9; }
/* 1行が1,000px近くなると読みにくい。本文と同じ目安の長さで折る。 */
.company-profile, .company-history { max-width: 780px; }
.company-profile { margin: 0; border-top: 1px solid var(--rule); }
.company-profile-row { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.company-profile dt { min-width: 0; opacity: .65; }
.company-profile dd { min-width: 0; margin: 0; }
.company-profile + .quiet-note { margin-top: 24px; }
.company-access { margin-top: 32px; }
.company-history { margin: 0; padding: 0; list-style: none; }
.company-history li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.company-history-year { min-width: 0; font-family: "Geist", var(--body-font); font-variant-numeric: tabular-nums; }
.company-history-text { min-width: 0; }

/* カタカナ語の途中で折れると読みにくい箇所だけ、折り返しを止める。 */
.nowrap { white-space: nowrap; }
.company-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.company-photos figure { margin: 0; }
.company-photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; }
.company-photos figcaption { font-size: 13px; opacity: .6; margin-top: 8px; line-height: 1.7; }
.company-group-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; margin: 12px 0 0; padding: 0; list-style: none; }
.company-group-grid a { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.company-group-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; transition: opacity .3s ease; }
.company-group-name { font-size: 15px; line-height: 1.6; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.company-group-brand { font-size: 12px; line-height: 1.5; opacity: .55; word-break: keep-all; }
.company-group-grid a:hover img { opacity: .88; }
.company-group-grid a:hover .company-group-name { text-decoration-line: underline; }
.company-group-grid a:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }

@media (min-width: 721px) and (max-width: 1179px) {
  .company-page { padding-top: 144px; }
}

@media (max-width: 720px) {
  .company-page { padding-top: 80px; }
  .company-page > header { padding-top: 24px; }
  .company-page h1 { font-size: 32px; }
  .company-about p { font-size: 15px; line-height: 1.9; }
  .company-about .about-close { font-size: 16px; }
  .company-profile-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .company-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .company-photos figure:first-child { grid-column: 1 / -1; }
  .company-group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .company-group-name { font-size: 14px; }
  .company-group-brand { font-size: 11px; }
}

/* プライバシーポリシー・お問い合わせ — 既存の下層ページと余白をそろえる。 */
:root { --alert: #A4453A; }
.privacy-page, .contact-page { padding-top: 96px; overflow-wrap: anywhere; }
.privacy-page > header, .contact-page > header { padding-top: 32px; }
.privacy-page h1, .contact-page h1 { font-size: 48px; line-height: 1.45; }
.privacy-page .section-heading > div, .contact-page .section-heading > div { min-width: 0; }

.privacy-body { max-width: 40em; }
.privacy-body h2 { font-size: 20px; line-height: 1.5; margin-top: 48px; }
.privacy-body h2:first-child { margin-top: 0; }
.privacy-body p { max-width: none; font-size: 15px; line-height: 1.95; margin-top: 16px; }
.privacy-body ul { margin: 16px 0 0; padding-left: 1.4em; font-size: 15px; line-height: 1.95; }
.privacy-body li + li { margin-top: 8px; }
.privacy-body a, .form-agree a, .contact-page .quiet-note a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.privacy-body + .quiet-note { margin-top: 48px; }

.contact-page h2, .contact-page h3 { line-height: 1.4; }
.contact-page .contact-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form { position: relative; max-width: 40em; }
.form-row { margin-bottom: 32px; }
.form-row > label { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 500; line-height: 1.8; }
.form-required { display: inline-block; margin-left: 8px; color: var(--accent); font-size: 12px; font-weight: 400; letter-spacing: .08em; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--band);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.8;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.form-hint { max-width: none; margin-top: 8px; font-size: 13px; line-height: 1.8; }
.form-agree > label { margin-bottom: 0; font-weight: 400; }
.form-agree input { width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: middle; accent-color: var(--primary); }
.form-trap { position: absolute; left: -9999px; }
.form-error { max-width: 40em; margin-bottom: 32px; padding: 16px; border: 1px solid var(--alert); color: var(--alert); font-size: 15px; line-height: 1.8; }
.contact-form > .quiet-note, .contact-page .section-actions + .quiet-note { max-width: 40em; margin-top: 24px; }
.contact-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.contact-steps li { min-width: 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.contact-step-number { display: block; color: var(--accent); font-size: 14px; font-variant-numeric: tabular-nums; }
.contact-steps h3 { margin-top: 16px; }
.contact-steps p { margin-top: 16px; font-size: 15px; line-height: 1.8; }

@media (min-width: 721px) and (max-width: 1179px) {
  .privacy-page, .contact-page { padding-top: 144px; }
}

@media (max-width: 1179px) {
  .contact-page .contact-methods { grid-template-columns: minmax(0, 1fr); padding-block: 0; }
  .contact-page .contact-method { padding-block: 32px; }
  .contact-page .contact-method + .contact-method { border-left: 0; border-top: 1px solid var(--rule); }
}

@media (max-width: 720px) {
  .privacy-page, .contact-page { padding-top: 80px; }
  .privacy-page > header, .contact-page > header { padding-top: 24px; }
  .privacy-page h1, .contact-page h1 { font-size: 32px; }
  .contact-form .button { width: 100%; }
  .contact-steps { grid-template-columns: minmax(0, 1fr); }
}

/* 小さな工事・補助金 — 共通部品を使い、追加の配置は新ページ内に限定する。 */
.reform-page, .subsidy-page, .chuko-page { padding-top: 96px; overflow-wrap: anywhere; }
.reform-page > header, .subsidy-page > header, .chuko-page > header { padding-top: 32px; }
.reform-page h1, .subsidy-page h1, .chuko-page h1 { font-size: 48px; line-height: 1.45; }
.reform-page h2, .reform-page h3, .subsidy-page h2, .chuko-page h2, .subsidy-page h3, .chuko-page h3 { line-height: 1.4; }
.reform-page .section-heading > div, .subsidy-page .section-heading > div, .chuko-page .section-heading > div { min-width: 0; }

.reform-menu { max-width: 780px; }
.reform-group + .reform-group { margin-top: 32px; }
.reform-group h3 { font-size: 18px; }
.reform-group ul { margin: 12px 0 0; padding: 0; list-style: none; }
.reform-group li { padding-block: 11px; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.7; }
.reform-price { display: block; margin-top: 4px; font-family: "Geist", var(--body-font); font-size: 13px; line-height: 1.7; color: var(--ink); opacity: .78; letter-spacing: .01em; }
.reform-menu + .quiet-note, .subsidy-cards + .quiet-note { max-width: 780px; margin-top: 24px; }

.subsidy-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.subsidy-card { min-width: 0; border: 1px solid var(--rule); border-radius: 4px; padding: 24px; }
.subsidy-amount { color: var(--accent); font-family: "Geist", var(--body-font); font-size: 20px; line-height: 1.8; }
.subsidy-card h3 { margin-top: 16px; font-size: 18px; }
.subsidy-card h3 + p { margin-top: 16px; font-size: 15px; line-height: 1.8; }
.subsidy-notes { max-width: 780px; margin: 0; padding-left: 1.4em; font-size: 14px; line-height: 1.8; }
.subsidy-notes li + li { margin-top: 8px; }

@media (min-width: 721px) and (max-width: 1180px) {
  .reform-page, .subsidy-page, .chuko-page { padding-top: 144px; }
}

@media (max-width: 720px) {
  .reform-page, .subsidy-page, .chuko-page { padding-top: 80px; }
  .reform-page > header, .subsidy-page > header, .chuko-page > header { padding-top: 24px; }
  .reform-page h1, .subsidy-page h1, .chuko-page h1 { font-size: 32px; }
  .subsidy-cards { grid-template-columns: minmax(0, 1fr); }
}

/* 小さな工事 — 会社紹介と同じ金の線画を見出しに添える。 */
.reform-group h3 { display: flex; align-items: center; gap: 10px; font-family: var(--heading-font); }
.reform-icon { flex: 0 0 auto; display: inline-flex; }
.reform-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }

/* 補助金の申請 — 既存のis-inで、点とラベルを静かに金色へ。 */
.subsidy-flow { position: relative; max-width: 780px; --flow-progress: 0; }
.subsidy-flow::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 5px; width: 1px; background: var(--rule); }
.subsidy-flow-lit { position: absolute; top: 8px; left: 5px; width: 1px; height: calc((100% - 16px) * var(--flow-progress, 0)); background: linear-gradient(to bottom, rgba(192, 151, 79, .28), rgba(192, 151, 79, 1)); box-shadow: 0 0 4px rgba(192, 151, 79, .5), 0 4px 12px rgba(192, 151, 79, .32); border-radius: 1px; pointer-events: none; }
.subsidy-flow-step { position: relative; padding: 0 0 40px 40px; }
.subsidy-flow-step:last-child { padding-bottom: 0; }
.subsidy-flow-dot { position: absolute; top: 7px; left: 1px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--rule); transition: background-color .5s ease, border-color .5s ease; }
.subsidy-flow-step.is-in .subsidy-flow-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 6px rgba(192, 151, 79, .6); }
.subsidy-flow-step-label { font-family: "Geist", var(--body-font); font-size: 12px; letter-spacing: .16em; color: var(--ink); opacity: .65; transition: color .5s ease, opacity .5s ease; }
.subsidy-flow-step.is-in .subsidy-flow-step-label { color: var(--accent); opacity: 1; }
.subsidy-flow-step h3 { margin-top: 14px; font-family: var(--heading-font); font-size: 21px; line-height: 1.5; }
.subsidy-flow-step h3 + p { margin-top: 14px; font-size: 15px; line-height: 1.95; }

/* 共通のお問い合わせ — 3つの相談内容を、既存の丸写真で示す。 */
.contact-entries { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 48px); margin: 28px 0 36px; padding: 0; list-style: none; }
.contact-entries li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.contact-entries img { width: clamp(92px, 13vw, 128px); height: clamp(92px, 13vw, 128px); border-radius: 50%; object-fit: cover; }
.contact-entries span { font-size: 13px; line-height: 1.6; }

@media (max-width: 720px) {
  .subsidy-flow-step { padding-left: 34px; }
  .subsidy-flow::before { left: 4px; }
  .subsidy-flow-lit { left: 4px; }
  .subsidy-flow-dot { left: 0; }
  .contact-entries { gap: 16px; }
  .contact-entries img { width: 84px; height: 84px; }
  .contact-entries span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .subsidy-flow-dot, .subsidy-flow-step-label { transition: none; }
}

/* 小さな工事 — 冒頭の写真と、左右交互の施工写真。 */
.reform-hero { margin: clamp(32px, 4vw, 48px) 0 0; }
.reform-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; display: block; }
.reform-menu { max-width: 1000px; }
.reform-group { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: center; }
.reform-group + .reform-group { margin-top: clamp(40px, 4.5vw, 64px); }
.reform-group:nth-child(even) .reform-group-photo { order: 2; }
.reform-group-photo { margin: 0; min-width: 0; }
.reform-group-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; display: block; }
.reform-group-text { min-width: 0; }

@media (max-width: 720px) {
  .reform-group { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .reform-group:nth-child(even) .reform-group-photo { order: 0; }
}

/* 中古を買ってリノベーション — 本文と小見出しの書体をページ内で整える。 */
.chuko-page p { line-height: 1.8; }
.chuko-page h3 { font-family: var(--heading-font); }

/* 中古を買ってリノベーション — 本文つき2カラム（写真を左右交互に）。 */
.chuko-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(28px, 4vw, 56px); align-items: center; }
.chuko-feature-text { min-width: 0; }
.chuko-feature-text .section-heading { margin-bottom: 24px; }
.chuko-feature-text p { font-size: 16px; line-height: 1.95; max-width: 34em; }
.chuko-feature-photo { margin: 0; min-width: 0; }
.chuko-feature-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
.chuko-feature.is-reverse .chuko-feature-photo { order: -1; }
@media (max-width: 720px) {
  .chuko-feature { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .chuko-feature.is-reverse .chuko-feature-photo { order: 0; }
}

/* 中古を買ってリノベーション — 買う前に無料で確かめる4か所。 */
.chuko-check { margin-top: clamp(40px, 5vw, 64px); }
.chuko-check-lead { font-family: var(--heading-font); font-size: 24px; line-height: 1.5; margin: 0 0 6px; }
.chuko-check-free { color: var(--accent); }
.chuko-check-sub { font-size: 14px; line-height: 1.8; margin: 0 0 24px; opacity: .82; }
.chuko-check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.chuko-check-list li { background: var(--band); border: 1px solid var(--rule); border-radius: 4px; padding: 20px; }
.chuko-check-list strong { display: block; font-family: var(--heading-font); font-size: 18px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.chuko-check-list p { font-size: 13px; line-height: 1.75; margin: 0; }
.chuko-check-note { max-width: 780px; margin: 20px 0 0; font-size: 13px; line-height: 1.8; opacity: .72; }
@media (max-width: 720px) {
  .chuko-check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .chuko-check-lead { font-size: 20px; }
}

/* 中古を買ってリノベーション — よくある質問。 */
.chuko-faq-list { max-width: 820px; margin: 0; border-top: 1px solid var(--rule); }
.chuko-faq-item { border-bottom: 1px solid var(--rule); padding: 24px 0; }
.chuko-faq-item dt { font-family: var(--heading-font); font-size: 18px; line-height: 1.55; margin: 0 0 10px; display: flex; gap: 12px; }
.chuko-faq-item dt::before { content: "Q"; flex-shrink: 0; color: var(--accent); font-weight: 600; }
.chuko-faq-item dd { margin: 0; padding-left: 24px; font-size: 15px; line-height: 1.95; }
@media (max-width: 720px) {
  .chuko-faq-item dt { font-size: 16px; }
  .chuko-faq-item dd { padding-left: 0; font-size: 14px; }
}

/* 中古を買ってリノベーション — 施工事例の帯。 */
.chuko-works-band { list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.chuko-works-band > li { min-width: 0; }
.chuko-works-link { display: block; color: inherit; text-decoration: none; }
.chuko-works-photo { display: block; border-radius: 4px; overflow: hidden; }
.chuko-works-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: filter .25s ease, transform .5s cubic-bezier(.32,.72,0,1); }
.chuko-works-link:hover .chuko-works-photo img, .chuko-works-link:focus-visible .chuko-works-photo img { filter: brightness(.94); transform: scale(1.03); }
.chuko-works-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.chuko-works-meta { display: block; margin-top: 14px; font-family: "Geist", var(--body-font); font-size: 12px; letter-spacing: .08em; color: var(--ink); opacity: .6; }
.chuko-works-title { display: block; margin-top: 6px; font-family: var(--heading-font); font-size: 16px; line-height: 1.6; }
.chuko-works-band.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
@media (max-width: 720px) {
  .chuko-works-band { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* ===== イベント詳細ページ（.event-page） ===== */
.event-page { overflow-wrap: break-word; }
.event-page .ev-breadcrumb { padding-block: 24px; }
.event-page .works-breadcrumb { margin: 0; font-size: 11px; }
.event-page .ev-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  height: auto;
  min-height: min(88vh, 900px);
  padding-top: 0;
  overflow: hidden;
  background: var(--primary);
  color: var(--on-primary);
}
.event-page .ev-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.event-page .ev-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 写真が暗く沈んでいたため薄くした（2026-11-03 藤井さん「写真が黒がかかって見えにくい」）。
     上3割はほぼ素通し。文字が乗る位置だけ、読める最低限まで落とす。
     実測した下限は 見出し28%・補足42%。それぞれ 30% / 46% を当てている。 */
  background: linear-gradient(180deg,
    rgba(35,43,51,0) 0%, rgba(35,43,51,.08) 24%,
    rgba(35,43,51,.32) 40%, rgba(35,43,51,.46) 70%, rgba(35,43,51,.60) 100%);
  pointer-events: none;
}
.event-page .ev-hero-content { padding-block: 64px 96px; }
.event-page .ev-hero-title,
.event-page .ev-date,
.event-page .ev-meta { text-shadow: 0 1px 12px rgba(20, 24, 28, .45); }

/* 小見出しは写真の明るい部分に重なり、白文字のままだとコントラスト比2.75で読めない
   （必要なのは4.5／2026-11-03 実測）。覆いを濃くすると写真が死ぬので、札にして地を敷く。 */
.event-page .ev-hero .eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(35, 43, 51, .82);
  color: #FFFFFF;
}
.event-page .ev-hero-title {
  margin-top: 24px;
  max-width: none;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.5;
  letter-spacing: .04em;
  text-wrap: wrap;
}
.event-page .ev-hero-title .ta-part { max-width: 100%; }
.event-page .ev-date {
  display: flex;
  align-items: baseline;
  gap: 24px;
  max-width: none;
  margin-top: 32px;
  font-family: "Geist", sans-serif;
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 400;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-wrap: nowrap;
}
.event-page .ev-date time { white-space: nowrap; }
.event-page .ev-date small { font-size: .24em; letter-spacing: .02em; }
.event-page .ev-date-dash { align-self: center; font-size: .32em; color: var(--accent); }
.event-page .ev-meta { max-width: none; margin-top: 16px; font-size: 13px; letter-spacing: .04em; }
.event-page .ev-button {
  gap: 32px;
  min-height: 64px;
  padding: 16px 32px;
  border-color: var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  transition: background-color .4s var(--motion-ease), border-color .4s var(--motion-ease), color .4s var(--motion-ease);
}
.event-page .ev-button > span { font-family: "Geist", sans-serif; }
.event-page .ev-button:hover { border-color: var(--primary); background: var(--primary); color: var(--on-primary); }
.event-page .ev-hero .ev-button { margin-top: 32px; }
.event-page .ev-hero .ev-button:hover { border-color: #FFFFFF; background: #FFFFFF; color: var(--primary); }
.event-page .ev-hero a:focus-visible { outline-color: #FFFFFF; }
.event-page .ev-scroll { position: absolute; bottom: 0; left: 50%; width: 1px; height: 48px; overflow: hidden; }
.event-page .ev-scroll i { display: block; width: 100%; height: 100%; background: #FFFFFF; transform-origin: center top; }

/* 数字は常に最終値のHTMLを持ち、視界に入ったときだけ数え上げる。 */
.event-page .ev-stats { padding-block: 40px; border-bottom: 1px solid var(--rule); }
.event-page .ev-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; }
.event-page .ev-stats-grid > div { display: flex; flex-direction: column; min-width: 0; padding-inline: 24px; }
.event-page .ev-stats-grid > div:first-child { padding-left: 0; }
.event-page .ev-stats-grid > div + div { border-left: 1px solid var(--rule); }
.event-page .ev-stats-grid dt { font-size: 12px; letter-spacing: .04em; }
.event-page .ev-stats-grid dd { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 0; line-height: 1.2; }
.event-page .ev-count { font-family: "Geist", sans-serif; font-size: clamp(40px, 4.2vw, 64px); font-weight: 400; letter-spacing: -.05em; font-variant-numeric: lining-nums tabular-nums; }
.event-page .ev-stats-grid small { flex-shrink: 0; font-size: 12px; }
.event-page .ev-stats-grid small[lang="en"] { font-family: "Geist", sans-serif; }
.event-page .ev-tagline { padding-block: 96px; text-align: center; }
.event-page .ev-tagline h2 {
  --sweep: 1;
  display: inline-block;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.7;
  letter-spacing: .06em;
  text-wrap: wrap;
  background-image: linear-gradient(115deg,
    #33383D 0%, #33383D 30%,
    #C0974F 40%, #C0974F 46%,
    rgba(51,56,61,.26) 56%, rgba(51,56,61,.26) 100%);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: calc((1 - var(--sweep)) * 100%) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 本文のHTMLはそのまま。文章の幅と写真の幅に差をつける。 */
.event-page .works-blocks { display: block; max-width: 1280px; padding-bottom: 80px; }
.event-page .works-blocks > p { max-width: 42em; margin: 24px auto 0; line-height: 2; }
.event-page .works-blocks > p:first-child { margin-top: 0; font-family: var(--heading-font); font-size: 24px; line-height: 1.9; }
.event-page .works-blocks > h2 {
  max-width: 960px;
  margin: 96px auto 32px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.6;
  letter-spacing: .04em;
  text-wrap: wrap;
}
.event-page .works-blocks > h2::before { content: ""; display: block; width: 48px; height: 1px; margin-bottom: 24px; background: var(--accent); }
.event-page .works-blocks > h3 { max-width: 960px; margin: 64px auto 32px; padding-left: 24px; border-left: 1px solid var(--accent); font-family: var(--heading-font); font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.8; letter-spacing: .04em; text-wrap: wrap; }
.event-page .works-blocks > ul { max-width: 42em; margin: 0 auto; padding-left: 24px; }
.event-page .works-blocks > ul li { padding-block: 12px; border-bottom: 1px solid var(--rule); }
.event-page .works-blocks > ul li::marker { color: var(--accent); }
.event-page .works-blocks > .section-actions { justify-content: center; margin-top: 48px; }
.event-page .works-pair { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); align-items: center; gap: 32px; }
.event-page .works-pair .works-photo { position: relative; isolation: isolate; }
.event-page .works-pair .works-photo:first-child { scale: .97; transform-origin: right center; }
.event-page .works-pair .works-photo:first-child img { aspect-ratio: 4 / 3; filter: saturate(.55) contrast(.95); }
.event-page .works-pair .works-photo:last-child img { aspect-ratio: 16 / 9; }
.event-page .works-photo-label { position: absolute; top: 16px; left: 16px; z-index: 1; margin: 0; padding: 8px 16px; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 11px; letter-spacing: .16em; }
.event-page .works-photo:last-child .works-photo-label { background: var(--accent); color: var(--primary); }
.event-page .works-gallery-grid { gap: 24px; margin-top: 32px; }
.event-page .works-gallery-item { overflow: hidden; border-radius: 4px; }
.event-page .works-blocks > .works-gallery-item { max-width: 960px; margin: 32px auto 0; }
.event-page .works-gallery-item img { aspect-ratio: 16 / 9; transition: transform 1.2s var(--motion-ease); }
.event-page .works-data { max-width: 960px; margin-inline: auto; padding: 32px 40px; gap: 0; background: #FFFFFF; border: 1px solid var(--rule); border-radius: 8px; }
.event-page .works-data dl { border-top: 0; }
.event-page .works-data-row { grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 24px; padding-block: 24px; font-size: 15px; }
.event-page .works-data-row:first-child { padding-top: 0; }
.event-page .works-data-row:last-child { padding-bottom: 0; border-bottom: 0; }
.event-page .works-blocks > section.works-data:last-of-type { border-top: 2px solid var(--accent); }
.event-page .works-blocks > section.works-data:last-of-type .works-data-row:first-child { align-items: baseline; }
.event-page .works-blocks > section.works-data:last-of-type .works-data-row:first-child dd { font-family: var(--heading-font); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.7; }
.event-page .chuko-faq-list { max-width: 960px; margin-inline: auto; }
.event-page .chuko-faq-item { padding: 32px 0; }
.event-page .chuko-faq-item dt { margin-bottom: 16px; gap: 16px; font-size: 20px; }
.event-page .chuko-faq-item dd { max-width: 46em; padding-left: 32px; }

.event-page .ev-final-cta { padding-block: 80px; border-block: 1px solid var(--rule); background: #FFFFFF; }
.event-page .ev-final-inner { display: grid; justify-items: center; text-align: center; }
.event-page .ev-final-cta .ev-date { margin-top: 24px; font-size: clamp(64px, 6vw, 80px); }
.event-page .ev-final-cta .ev-button { width: min(100%, 480px); margin-top: 32px; }
.event-page .ev-final-cta + .contact { border-top: 0; }
.event-page .ev-reserve-bar { display: none; }

/* 共通のrevealから切り離す。JS初期化前・失敗時は完成状態を表示する。 */
.event-page.works-detail [data-reveal],
.event-page.works-detail [data-reveal].is-in { opacity: 1; transform: none; transition: none; }
.event-page.works-detail.ev-motion .reveal-pending { opacity: 0; transform: translateY(24px); transition: none; }
.event-page.ev-motion .ev-hero.is-pending .ta-part > i { transform: translateY(100%); }
.event-page.ev-motion .ev-hero.is-pending .ev-hero-fade { opacity: 0; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .event-page .works-gallery-item:hover img { transform: scale(1.04); }
}
@media (min-width: 768px) and (max-width: 1179px) {
  .event-page .ev-stats-grid > div { padding-inline: 16px; }
  .event-page .ev-stats-grid > div:first-child { padding-left: 0; }
  .event-page .ev-count { font-size: 40px; }
}
@media (max-width: 767px) {
  .event-page .section-inner { padding-inline: 24px; }
  .event-page .ev-breadcrumb { padding-block: 16px; }
  .event-page .works-breadcrumb { font-size: 10px; }
  .event-page .works-breadcrumb ol { gap: 4px 8px; }
  .event-page .ev-hero { min-height: 70vh; min-height: 70svh; }
  .event-page .ev-hero-content { padding-block: 32px 64px; }
  .event-page .ev-hero-title { margin-top: 16px; font-size: clamp(28px, 6vw, 40px); letter-spacing: .02em; }
  .event-page .ev-hero .eyebrow { font-size: 11px; letter-spacing: .06em; }
  .event-page .ev-date { gap: 12px; margin-top: 24px; font-size: clamp(40px, 9vw, 64px); }
  .event-page .ev-meta { margin-top: 12px; font-size: 11px; letter-spacing: 0; }
  .event-page .ev-hero .ev-button { margin-top: 24px; }
  .event-page .ev-button { min-height: 64px; padding: 16px 24px; font-size: 15px; }
  .event-page .ev-stats { padding-block: 0; }
  .event-page .ev-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-page .ev-stats-grid > div { padding: 24px 0 24px 24px; }
  .event-page .ev-stats-grid > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .event-page .ev-stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .event-page .ev-stats-grid dt { font-size: 10px; }
  .event-page .ev-stats-grid dd { gap: 4px; }
  .event-page .ev-count { font-size: clamp(40px, 10vw, 48px); }
  .event-page .ev-stats-grid small { font-size: 11px; }
  .event-page .ev-tagline { padding-block: 64px; }
  .event-page .ev-tagline h2 { font-size: clamp(24px, 5.5vw, 32px); letter-spacing: .02em; }
  .event-page .works-blocks { padding-bottom: 64px; }
  .event-page .works-blocks > p { font-size: 15px; }
  .event-page .works-blocks > p:first-child { font-size: 20px; }
  .event-page .works-blocks > h2 { margin-top: 64px; margin-bottom: 24px; font-size: 26px; }
  .event-page .works-blocks > h2::before { margin-bottom: 16px; }
  .event-page .works-blocks > h3 { margin: 48px 0 24px; padding-left: 16px; font-size: 20px; }
  .event-page .works-blocks > ul { font-size: 15px; }
  .event-page .works-pair { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .event-page .works-pair .works-photo:first-child { width: 84%; transform-origin: left center; }
  .event-page .works-photo-label { top: 12px; left: 12px; padding: 4px 12px; }
  .event-page .works-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .event-page .works-data { padding: 24px; }
  .event-page .works-data-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 16px; }
  .event-page .works-data dt { font-size: 12px; }
  .event-page .works-blocks > section.works-data:last-of-type .works-data-row:first-child dd { font-size: 24px; }
  .event-page .chuko-faq-item { padding-block: 24px; }
  .event-page .chuko-faq-item dt { gap: 12px; font-size: 18px; }
  .event-page .chuko-faq-item dd { padding-left: 0; font-size: 14px; }
  .event-page .ev-final-cta { padding-block: 64px; }
  .event-page .ev-final-cta .ev-date { font-size: clamp(40px, 9vw, 64px); }
  /* bodyを変更せず、このページの末尾で固定バーとsafe-areaの高さを確保する。 */
  .event-page.ev-reserve-ready { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .event-page.ev-reserve-ready .ev-reserve-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 18;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--rule);
    background: var(--paper);
    visibility: hidden;
    transform: translateY(100%);
  }
  .event-page.ev-motion .ev-reserve-bar { transition: transform .6s var(--motion-ease), visibility .6s var(--motion-ease); }
  .event-page.ev-reserve-ready .ev-reserve-bar.is-visible { visibility: visible; transform: none; }
  .event-page .ev-reserve-phone { display: flex; align-items: center; justify-content: center; min-height: 48px; font-size: 13px; }
  .event-page .ev-reserve-bar .ev-button { min-height: 48px; gap: 12px; padding: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .event-page .ev-tagline h2 { --sweep: 1 !important; }
  .event-page.works-detail.ev-motion .reveal-pending,
  .event-page.ev-motion .ev-hero.is-pending .ev-hero-fade { opacity: 1 !important; transform: none !important; }
  .event-page .ev-hero-title .ta-part > i { transform: none !important; }
  .event-page .ev-scroll i { opacity: 1 !important; transform: none !important; }
  .event-page .ev-button,
  .event-page .works-gallery-item img,
  .event-page .ev-reserve-bar { transition: none !important; }
}

/* ===== イベント一覧（.event-index） ===== */
.event-index { padding-top: 96px; overflow-wrap: anywhere; }
.event-index > header { padding-top: 32px; padding-bottom: 64px; }
.event-index h1 { font-size: 48px; line-height: 1.45; }
.event-index .section-intro { max-width: 40em; }
.event-index .event-breadcrumb { margin-bottom: 64px; font-size: 12px; line-height: 1.8; }
.event-index .event-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.event-index .event-breadcrumb li { display: flex; gap: 8px; min-width: 0; }
.event-index .event-breadcrumb a { text-underline-offset: 4px; }
.event-index .event-breadcrumb a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.event-index .event-breadcrumb [aria-current] { opacity: .65; }
.event-index .event-group { padding-top: 0; padding-bottom: 64px; }
.event-index .event-group h2 { margin-top: 0; font-size: 28px; line-height: 1.5; }
.event-index .event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.event-index .event-card { min-width: 0; }
.event-index .event-card-content { display: block; height: 100%; }
.event-index .event-card-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; transition: filter .25s var(--motion-ease); }
.event-index .event-card > a:hover img,
.event-index .event-card > a:focus-visible img { filter: brightness(.93); }
.event-index .event-card-date { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: none; margin-top: 24px; color: var(--primary); font-size: 13px; letter-spacing: .02em; }
.event-index .event-card-title { margin-top: 8px; font-family: var(--heading-font); font-size: 18px; font-weight: 500; line-height: 1.7; letter-spacing: .02em; }
.event-index .event-card-lead { max-width: none; margin-top: 12px; font-size: 14px; }
.event-index .event-card-meta { display: grid; gap: 12px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.8; }
.event-index .event-card-meta > div { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 16px; }
.event-index .event-card-meta dt { color: var(--ink); }
.event-index .event-card-meta dd { min-width: 0; margin: 0; }
.event-index .event-card.is-ended { filter: saturate(.25); }
.event-index .event-card-status { padding: 4px 8px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 12px; }
.events-more { max-width: none; margin-top: 24px; text-align: right; }

@media (min-width: 721px) and (max-width: 1179px) {
  .event-index > header { padding-top: 80px; }
}
@media (max-width: 720px) {
  .event-index { padding-top: 80px; }
  .event-index > header { padding-top: 24px; padding-bottom: 48px; }
  .event-index h1 { font-size: 32px; }
  .event-index .event-breadcrumb { margin-bottom: 48px; }
  .event-index .event-group { padding-bottom: 48px; }
  .event-index .event-group h2 { font-size: 22px; }
  .event-index .event-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .event-index .event-card-meta > div { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .event-index .event-card-photo img { transition: none; }
}

.event-index .event-card-more {
  margin: 16px 0 0;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--accent);
}
.event-index .event-card-content:hover .event-card-more { text-decoration: underline; text-underline-offset: 4px; }
.event-index .event-card.is-ended .event-card-more { color: var(--ink); opacity: .5; }

/* ===== ブログ（.blog-index / .blog-post） ===== */
.blog-index, .blog-post { padding-top: 96px; overflow-wrap: anywhere; }
.blog-index > header, .blog-post > header { padding-top: 32px; }
.blog-index h1 { font-size: 48px; line-height: 1.45; }
.blog-post h1 { max-width: 24em; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.55; letter-spacing: .04em; }
.blog-index .section-heading > div, .blog-post .section-heading > div { min-width: 0; }
.blog-index .blog-breadcrumb, .blog-post .blog-breadcrumb { margin-bottom: 64px; font-size: 12px; line-height: 1.8; }
.blog-index .blog-breadcrumb ol, .blog-post .blog-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.blog-index .blog-breadcrumb li, .blog-post .blog-breadcrumb li { display: flex; gap: 8px; min-width: 0; }
.blog-index .blog-breadcrumb li > span, .blog-post .blog-breadcrumb li > span { min-width: 0; }
.blog-index .blog-breadcrumb [aria-hidden], .blog-post .blog-breadcrumb [aria-hidden] { flex-shrink: 0; }
.blog-index .blog-breadcrumb [aria-current], .blog-post .blog-breadcrumb [aria-current] { opacity: .65; }
.blog-index .blog-breadcrumb a:hover, .blog-post .blog-breadcrumb a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.blog-index .blog-years { margin-top: 32px; }
.blog-index .blog-years ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.blog-index .blog-years a { display: inline-flex; align-items: center; min-height: 48px; font-size: 14px; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.blog-index .blog-list { padding-top: 0; }
.blog-index .blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; margin: 0; padding: 0; list-style: none; }
.blog-index .blog-card { min-width: 0; }
.blog-index .blog-card > a { display: block; height: 100%; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.blog-index .blog-card-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; transition: filter .25s var(--motion-ease); }
.blog-index .blog-card > a:hover img, .blog-index .blog-card > a:focus-visible img { filter: brightness(.93); }
.blog-index .blog-meta, .blog-post .blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: none; margin-top: 24px; color: var(--primary); font-size: 13px; letter-spacing: .02em; }
.blog-index .blog-tag, .blog-post .blog-tag { padding: 4px 8px; border: 1px solid var(--accent); border-radius: 4px; font-size: 12px; }
.blog-index .blog-card-title { margin-top: 12px; font-size: 20px; font-weight: 500; line-height: 1.7; letter-spacing: .02em; }
.blog-index .blog-excerpt { max-width: none; margin-top: 16px; font-size: 14px; line-height: 1.8; }
.blog-index .blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.blog-index .blog-pagination a, .blog-index .blog-pagination span { display: inline-flex; justify-content: center; align-items: center; min-width: 48px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 4px; font-size: 14px; }
.blog-index .blog-pagination a:hover { border-color: var(--accent); }
.blog-index .blog-pagination [aria-current] { border-color: var(--primary); background: var(--primary); color: var(--paper); }
.blog-index .blog-pagination [aria-disabled] { opacity: .5; }
.blog-index .blog-pagination .blog-ellipsis { min-width: auto; padding-inline: 0; border: 0; }
.blog-index .blog-page-label { max-width: none; margin-top: 16px; text-align: center; font-size: 12px; }
.blog-post .blog-content { max-width: 1088px; }
.blog-post .blog-hero { margin: 40px 0 0; }
.blog-post .blog-hero img { width: auto; max-width: 100%; height: auto; max-height: 640px; margin-inline: auto; border-radius: 4px; object-fit: contain; }
.blog-post .blog-blocks { padding-bottom: 80px; }
.blog-post .blog-body { width: 100%; max-width: 34em; margin-inline: auto; line-height: 1.95; }
.blog-post .blog-body > * + * { margin-top: 24px; }
.blog-post .blog-body p { max-width: none; }
.blog-post .blog-body h2 { margin-top: 48px; font-size: 28px; line-height: 1.5; }
.blog-post .blog-body h3 { margin-top: 40px; font-size: 22px; line-height: 1.6; }
/* 旧ブログには h4・h5 まで使っている記事が9本ある。指定が無いとブラウザ既定の
   小さい太字になり、本文より目立たなくなる（2026-11-03 移行時に確認）。 */
.blog-post .blog-body h4 { margin-top: 32px; font-size: 18px; line-height: 1.6; }
.blog-post .blog-body h5 { margin-top: 24px; font-size: 16px; line-height: 1.7; }
.blog-post .blog-body figure { margin-inline: 0; margin-bottom: 0; }
.blog-post .blog-body figure + figure { margin-top: 32px; }
.blog-post .blog-body img { max-width: 100%; height: auto; border-radius: 4px; }
.blog-post .blog-body figcaption { margin-top: 8px; font-size: 13px; line-height: 1.8; }
.blog-post .blog-body a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.blog-post .blog-body ul, .blog-post .blog-body ol { padding-left: 24px; margin-bottom: 0; }
.blog-post .blog-body li + li { margin-top: 8px; }
.blog-post .blog-body blockquote { margin-inline: 0; margin-bottom: 0; padding: 16px 24px; border-left: 1px solid var(--accent); }
.blog-post .blog-body hr { margin-block: 40px; border: 0; border-top: 1px solid var(--rule); }
.blog-post .blog-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.blog-post .blog-body td, .blog-post .blog-body th { padding: 12px; border: 1px solid var(--rule); text-align: left; }
.blog-post .blog-body iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.blog-post .blog-post-pagination { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--rule); }
.blog-post .blog-post-pagination a { display: inline-flex; align-items: center; min-height: 48px; }
.blog-post .blog-prev { grid-column: 1; grid-row: 1; justify-self: start; }
.blog-post .blog-back { grid-column: 2; grid-row: 1; justify-self: center; }
.blog-post .blog-next { grid-column: 3; grid-row: 1; justify-self: end; }
@media (min-width: 721px) and (max-width: 1179px) {
  .blog-index > header, .blog-post > header { padding-top: 80px; }
}
@media (max-width: 720px) {
  .blog-index, .blog-post { padding-top: 80px; }
  .blog-index > header, .blog-post > header { padding-top: 24px; padding-bottom: 48px; }
  .blog-index h1 { font-size: 32px; }
  .blog-post h1 { font-size: 28px; }
  .blog-index .blog-breadcrumb, .blog-post .blog-breadcrumb { margin-bottom: 48px; }
  .blog-index .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .blog-index .blog-card-title { font-size: 18px; }
  .blog-index .blog-pagination { gap: 8px; }
  .blog-post .blog-hero { margin-top: 32px; }
  .blog-post .blog-blocks { padding-bottom: 64px; }
  .blog-post .blog-body h2 { font-size: 24px; }
  .blog-post .blog-body h3 { font-size: 20px; }
  .blog-post .blog-body h4 { font-size: 17px; }
  .blog-post .blog-body h5 { font-size: 15px; }
  .blog-post .blog-post-pagination { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 24px; }
  .blog-post .blog-next { grid-column: 2; }
  .blog-post .blog-back { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-index .blog-card-photo img { transition: none; }
}
