/* =============================================================
   CFOURL style.css
   ブランドカラーはロゴ画像から抽出した #E60052 を基準にしています。
   ============================================================= */

:root {
  --color-brand: #e60052;
  --color-brand-dark: #b8003f;
  --color-brand-soft: #fdeef3;
  --color-text: #333438;
  --color-text-sub: #5c5e66;
  --color-bg: #ffffff;
  --color-bg-muted: #f5f5f6;
  --color-border: #e3e3e6;
  --color-white: #ffffff;

  --font-base: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'BIZ UDPGothic', Meiryo, system-ui, sans-serif;
  --font-en: 'Avenir Next', 'Segoe UI', 'Helvetica Neue', Arial, var(--font-base);

  --container: 1120px;
  --narrow: 760px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 10vw, 120px);
  --radius: 14px;
  --shadow: 0 2px 12px rgb(30 30 40 / 0.06);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
  font-feature-settings: 'palt' 0;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
picture {
  display: block;
}
a {
  color: var(--color-brand-dark);
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--color-brand);
}
:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus {
  outline: none;
}
h1,
h2,
h3,
h4 {
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0;
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0;
  padding: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--color-text);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow {
  max-width: calc(var(--narrow) + var(--gutter) * 2);
}
.u-pc {
  display: none;
}
@media (min-width: 900px) {
  .u-pc {
    display: inline;
  }
}

/* ---------- Preview banner ---------- */
.preview-banner {
  background: #222;
  color: #ffd166;
  text-align: center;
  font-size: 0.8125rem;
  padding: 6px 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid var(--color-border);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgb(255 255 255 / 0.85);
    backdrop-filter: blur(8px);
  }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  text-decoration: none;
}
.brand__mark {
  width: 44px;
  height: 44px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand__name {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.22em;
}
.brand__kana {
  font-size: 0.6875rem;
  color: var(--color-text-sub);
  letter-spacing: 0.3em;
}
.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 8px;
}
.site-nav__en {
  font-family: var(--font-en);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--color-brand-dark);
  text-transform: uppercase;
}
.site-nav a:hover {
  background: var(--color-brand-soft);
  color: var(--color-text);
}
.site-nav a[aria-current='page']:not(.site-nav__cta) {
  box-shadow: inset 0 -3px 0 var(--color-brand);
  border-radius: 0;
}
.site-nav .site-nav__cta {
  background: var(--color-brand);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  margin-left: 8px;
}
.site-nav .site-nav__cta:hover {
  background: var(--color-brand-dark);
  color: #fff;
}
.nav-toggle {
  display: none;
}

@media (max-width: 899px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  .nav-toggle__bar,
  .nav-toggle__bar::before,
  .nav-toggle__bar::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    position: relative;
    transition: transform 0.2s, background 0.2s;
  }
  .nav-toggle__bar::before,
  .nav-toggle__bar::after {
    content: '';
    position: absolute;
    left: 0;
  }
  .nav-toggle__bar::before {
    top: -6px;
  }
  .nav-toggle__bar::after {
    top: 6px;
  }
  .nav-toggle[aria-expanded='true'] .nav-toggle__bar {
    background: transparent;
  }
  .nav-toggle[aria-expanded='true'] .nav-toggle__bar::before {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded='true'] .nav-toggle__bar::after {
    transform: translateY(-6px) rotate(-45deg);
  }
  .site-header__inner {
    flex-wrap: wrap;
  }
  /* JS無効時はメニューを常時表示 */
  .site-nav {
    width: 100%;
    padding-bottom: 12px;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: block;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav a {
    flex-direction: row;
    gap: 12px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }
  .site-nav__en {
    width: 7.5em;
  }
  .site-nav a[aria-current='page']:not(.site-nav__cta) {
    box-shadow: inset 4px 0 0 var(--color-brand);
    padding-left: 14px;
  }
  .site-nav .site-nav__cta {
    justify-content: center;
    margin: 16px 0 4px;
    border-bottom: 0;
  }
}

/* ---------- Common parts ---------- */
.eyebrow {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-brand-dark);
  margin-bottom: 0.5em;
}
.eyebrow--light {
  color: #fff;
}
.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: clamp(40px, 6vw, 72px);
}
.section--muted {
  background: var(--color-bg-muted);
}
.section-title {
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-title__heading {
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  font-weight: 700;
}
.sub-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2.2em 0 0.9em;
  padding-left: 14px;
  border-left: 4px solid var(--color-brand);
  line-height: 1.5;
}
.lead-text {
  font-size: 1.0625rem;
  max-width: 46em;
}
.note-text {
  font-size: 0.875rem;
  color: var(--color-text-sub);
}
.more-link {
  margin-top: 1.5em;
  margin-bottom: 0;
}
.more-link a:not(.button) {
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.more-link a:not(.button)::after {
  content: '→';
  transition: transform 0.2s;
}
.more-link a:not(.button):hover::after {
  transform: translateX(3px);
}
.more-link--center {
  text-align: center;
  margin-top: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--color-brand);
  transition: background 0.2s, color 0.2s;
}
.button:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  color: #fff;
}
.button--ghost {
  background: transparent;
  color: var(--color-brand-dark);
}
.button--ghost:hover {
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  border-color: var(--color-brand);
}
.button--white {
  background: #fff;
  color: var(--color-brand-dark);
  border-color: #fff;
}
.button--white:hover {
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  border-color: var(--color-brand-soft);
}
.button--large {
  min-height: 60px;
  padding-inline: 36px;
  font-size: 1.0625rem;
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.section--muted .chips li {
  background: #fff;
}

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.75rem;
  line-height: 1.7;
  border-radius: 999px;
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  text-decoration: none;
}
a.tag:hover {
  background: var(--color-brand);
  color: #fff;
}
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  font-size: 0.6875rem;
  border-radius: 4px;
  vertical-align: middle;
}
.badge--draft {
  background: #fff3cd;
  color: #6b4b00;
}
.badge--sample {
  background: #222;
  color: #ffd166;
}

.prose p {
  margin-bottom: 1.2em;
}
.prose > :last-child {
  margin-bottom: 0;
}
.prose h2 {
  font-size: 1.3125rem;
  margin: 2em 0 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid var(--color-brand-soft);
}
.prose h3 {
  font-size: 1.125rem;
  margin: 1.8em 0 0.6em;
}
.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}
.prose li + li {
  margin-top: 0.3em;
}
.prose blockquote {
  margin: 1.5em 0;
  padding: 0.8em 1.2em;
  border-left: 4px solid var(--color-border);
  background: var(--color-bg-muted);
}
.prose pre {
  overflow-x: auto;
  padding: 1em;
  background: #f4f4f6;
  border-radius: 8px;
  font-size: 0.875rem;
}
.prose img {
  border-radius: 10px;
  margin: 1.5em 0;
}
a.is-external::after {
  content: '↗';
  font-size: 0.8em;
  margin-left: 0.2em;
}

.empty-note {
  padding: 40px 24px;
  text-align: center;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
  color: var(--color-text-sub);
}
.empty-note p:last-child {
  margin-bottom: 0;
}

.data-list {
  margin: 0;
  border-top: 1px solid var(--color-border);
}
.data-list > div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.data-list dt {
  font-weight: 700;
  color: var(--color-text-sub);
  font-size: 0.9375rem;
}
.data-list dd {
  margin: 0;
}
.data-list--compact > div {
  grid-template-columns: 5em 1fr;
  padding: 10px 0;
}
@media (max-width: 599px) {
  .data-list > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.link-list {
  list-style: none;
}
.link-list li {
  border-bottom: 1px solid var(--color-border);
}
.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 600;
}
.link-list a:not(.is-external)::after {
  content: '→';
}
.check-list,
.plain-list {
  list-style: none;
}
.check-list li,
.plain-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.6em;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0.2em;
  top: 0.55em;
  width: 0.7em;
  height: 0.4em;
  border-left: 2px solid var(--color-brand);
  border-bottom: 2px solid var(--color-brand);
  transform: rotate(-45deg);
}
.plain-list li::before {
  content: '';
  position: absolute;
  left: 0.4em;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  padding-block: 14px;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin: 0 10px;
  color: var(--color-border);
}
.breadcrumbs a {
  color: var(--color-text-sub);
}

/* ---------- Page header ---------- */
.page-header {
  padding-block: clamp(36px, 6vw, 72px) clamp(36px, 5vw, 56px);
  background: linear-gradient(90deg, var(--color-brand) 0 6px, transparent 6px), var(--color-bg-muted);
}
.page-header__title {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 700;
}
.page-header__lead {
  margin: 1em 0 0;
  max-width: 44em;
  color: var(--color-text-sub);
}

/* ---------- Home: hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 120px);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
}
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.hero__brand {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-brand-dark);
  font-size: 0.9375rem;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.hero__brand span {
  font-family: var(--font-base);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-text-sub);
  font-size: 0.75rem;
}
.hero__title {
  font-size: clamp(2.25rem, 1.4rem + 4vw, 4.25rem);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0.3em 0 0.5em;
}
.hero__lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  color: var(--color-text-sub);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__visual {
  justify-self: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
  position: relative;
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-brand-soft) 0 60%, transparent 70%);
}
.hero__visual img {
  position: relative;
  width: 100%;
  height: auto;
}
@media (max-width: 899px) {
  .hero__visual {
    order: -1;
    width: min(56vw, 240px);
  }
}

/* ---------- Home: philosophy ---------- */
.philosophy__catch {
  font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2rem);
  font-weight: 800;
  color: var(--color-brand-dark);
  letter-spacing: 0.08em;
  margin-bottom: 1.2em;
}
.philosophy__text {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 2.1;
}

/* ---------- Home: brand lines (名刺裏面のモチーフ) ---------- */
.brand-lines {
  background: linear-gradient(90deg, var(--color-brand) 0 calc(50% - 90px), #fff calc(50% - 90px) calc(50% + 90px), var(--color-brand) calc(50% + 90px));
  padding-block: clamp(48px, 7vw, 88px);
  color: #fff;
}
.brand-lines__list {
  list-style: none;
  display: grid;
  gap: 14px;
  justify-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.24em;
  font-size: clamp(0.8125rem, 0.7rem + 0.7vw, 1.25rem);
}
.brand-lines__list li {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  align-items: center;
  width: 100%;
  white-space: nowrap;
}
.brand-lines__pre {
  text-align: right;
  white-space: pre;
}
.brand-lines__post {
  text-align: left;
  white-space: pre;
}
.brand-lines__key {
  color: var(--color-brand);
  text-align: center;
}
@media (max-width: 699px) {
  .brand-lines {
    background: var(--color-brand);
  }
  .brand-lines__list {
    justify-items: start;
    letter-spacing: 0.12em;
  }
  .brand-lines__list li {
    display: block;
    text-align: left;
    white-space: normal;
  }
  .brand-lines__pre,
  .brand-lines__post {
    white-space: normal;
  }
  .brand-lines__key {
    color: var(--color-brand);
    background: #fff;
    padding: 0 6px;
    border-radius: 3px;
    margin: 0 2px;
  }
}

/* ---------- Home: services ---------- */
.service-cards {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-brand);
}
.service-card__en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-brand-dark);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.3em;
}
.service-card__name {
  font-size: 1.25rem;
  margin-bottom: 0.6em;
}
.service-card__heading {
  font-weight: 700;
  line-height: 1.7;
}
.service-card__summary {
  color: var(--color-text-sub);
  font-size: 0.9375rem;
  flex: 1;
}
.service-card__link {
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
}
.service-card__link::after {
  content: ' →';
}

/* ---------- Split / focus ---------- */
.split {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
  }
}
.focus-box {
  background: var(--color-brand-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.focus-box__title {
  font-size: 1.0625rem;
  margin-bottom: 1em;
}

/* ---------- Profile ---------- */
.profile-teaser,
.profile {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 900px) {
  .profile-teaser {
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: center;
  }
  .profile {
    grid-template-columns: 380px 1fr;
    gap: 64px;
  }
  .profile__photo {
    position: sticky;
    top: 104px;
  }
}
.profile-teaser__photo,
.profile__photo {
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
}
.profile-teaser__photo img,
.profile__photo img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  width: 100%;
}
.person-name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.2em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}
.person-name span {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--color-text-sub);
  text-transform: uppercase;
}
.person-role {
  color: var(--color-text-sub);
  margin-bottom: 0.8em;
}
.credential-list {
  list-style: none;
  margin-bottom: 1.2em;
}
.credential-list li {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}
.credential-list span {
  font-weight: 500;
}
.timeline {
  margin: 0;
}
.timeline > div {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
}
.timeline dt {
  font-weight: 700;
  color: var(--color-brand-dark);
}
.timeline dd {
  margin: 0;
}

/* ---------- About: role list ---------- */
.role-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 700px) {
  .role-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .role-list:not(.role-list--compact) {
    grid-template-columns: repeat(3, 1fr);
  }
}
.role-list li {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
}
.role-list strong {
  color: var(--color-brand-dark);
  font-size: 1.0625rem;
}
.role-list--compact {
  margin: 16px 0 20px;
}
.role-list--compact li {
  background: var(--color-bg-muted);
  box-shadow: none;
  padding: 16px 20px;
}
.section--muted + .section .note-text,
.section .note-text {
  margin-top: 20px;
}

/* ---------- Services ---------- */
.page-toc ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 32px;
}
.page-toc a {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9375rem;
}
.page-toc a:hover {
  border-color: var(--color-brand);
  color: var(--color-brand-dark);
}
.service-detail__head {
  margin-bottom: 32px;
}
.service-detail__name {
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
}
.service-detail__heading {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4375rem);
  font-weight: 700;
  color: var(--color-brand-dark);
  margin-top: 0.6em;
}
.service-detail__body {
  max-width: var(--narrow);
}
.service-detail__related {
  margin-top: 48px;
}
.info-box {
  margin-top: 40px;
  padding: 28px;
  border: 2px solid var(--color-brand-soft);
  border-radius: var(--radius);
}
.info-box__title {
  font-size: 1.0625rem;
  margin-bottom: 0.6em;
}
.info-box p:last-child {
  margin-bottom: 0;
}

/* ---------- Activities ---------- */
.activity-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 700px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .activity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.activity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.activity-card:hover {
  border-color: var(--color-brand);
  box-shadow: var(--shadow);
}
.activity-card__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}
.activity-card--no-photo {
  border-top: 4px solid var(--color-brand);
}
.activity-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.activity-card__meta {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  margin: 0;
}
.activity-card__title {
  font-size: 1.0625rem;
  line-height: 1.6;
}
.activity-card__title a {
  color: var(--color-text);
  text-decoration: none;
}
.activity-card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.activity-card__title a:focus-visible {
  outline: none;
}
.activity-card:focus-within {
  outline: 3px solid var(--color-brand);
  outline-offset: 2px;
}
.activity-card__summary {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.activity-card .tags {
  margin-top: auto;
  padding-top: 6px;
}

.filter-nav {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
  padding: 24px;
  background: var(--color-bg-muted);
  border-radius: var(--radius);
}
.filter-nav__label {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  margin-bottom: 8px;
}
.filter-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.875rem;
}
.filter-nav a:hover {
  border-color: var(--color-brand);
}
.filter-nav a[aria-current='page'] {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}
.filter-nav .count {
  font-size: 0.75rem;
  opacity: 0.75;
}
.year-group + .year-group {
  margin-top: 56px;
}
.year-group__title {
  font-family: var(--font-en);
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.year-group__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.page-header--activity .tags {
  margin-top: 16px;
}
.activity-detail__date {
  color: var(--color-text-sub);
  font-weight: 600;
  margin-bottom: 0.4em;
}
.activity-detail__summary {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 2em;
}
.activity-detail__facts {
  margin-bottom: 2.5em;
}
.activity-detail__body {
  margin-bottom: 2em;
}
.photo-grid {
  display: grid;
  gap: 16px;
  margin: 2em 0;
}
@media (min-width: 600px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid figure:only-child {
    grid-column: 1 / -1;
  }
}
.photo-grid figure {
  margin: 0;
}
.photo-grid img {
  border-radius: 10px;
  width: 100%;
}
.photo-grid figcaption {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  margin-top: 6px;
}
.back-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 40px 64px;
}
.back-nav a {
  font-weight: 700;
  text-decoration: none;
}
.back-nav a::before {
  content: '← ';
}

/* ---------- Contact ---------- */
.contact-box {
  text-align: center;
  padding: clamp(32px, 6vw, 56px) 24px;
  background: var(--color-brand-soft);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.contact-box__title {
  font-size: 1.375rem;
  margin-bottom: 0.8em;
}
.contact-box p:last-child {
  margin-bottom: 0;
}
.contact-box__pending {
  font-weight: 700;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--color-brand);
  color: #fff;
  padding-block: clamp(56px, 8vw, 96px);
}
.cta__inner {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta__inner {
    grid-template-columns: 1fr auto;
    gap: 48px;
  }
}
.cta__title {
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  margin-bottom: 0.6em;
}
.cta p:last-child {
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #2b2c30;
  color: #e9e9ec;
  padding-top: 56px;
  font-size: 0.875rem;
}
.site-footer__inner {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}
.site-footer__brand {
  display: flex;
  gap: 16px;
  align-items: center;
}
.site-footer__brand img {
  width: 56px;
  height: 56px;
}
.site-footer__name {
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 1.125rem;
  margin: 0;
}
.site-footer__name span {
  font-family: var(--font-base);
  font-weight: 400;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  margin-left: 12px;
  color: #c4c5cc;
}
.site-footer__copy {
  margin: 0;
  color: #c4c5cc;
}
.site-footer__nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.site-footer__nav a {
  color: #fff;
  text-decoration: none;
}
.site-footer__nav a:hover {
  text-decoration: underline;
  color: #fff;
}
.site-footer__legal {
  margin: 40px 0 0;
  padding-block: 20px;
  border-top: 1px solid #45464d;
  color: #c4c5cc;
}

/* ---------- 404 ---------- */
.not-found .link-list {
  margin-top: 24px;
}

@media print {
  .site-header,
  .site-footer,
  .cta,
  .nav-toggle {
    display: none;
  }
}
