@import url("https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700&family=Cormorant+Garamond:wght@500;600;700&family=Shippori+Mincho:wght@500;700&display=swap");

/* ページ遷移時に、白い空白を挟まず旧ページ→新ページをブラウザネイティブでクロスフェードさせる
   （対応ブラウザのみ有効。未対応ブラウザは従来どおりの瞬時切り替えになるだけで、
   フラッシュのような不自然な表示にはならない） */
@view-transition {
  navigation: auto;
}

:root {
  --bg: #e9ddec;
  --bg-strong: #d4c2da;
  --surface: rgba(250, 245, 250, 0.7);
  --surface-strong: #faf5fa;
  --line: rgba(58, 46, 74, 0.16);
  --text: #3f212c;
  --muted: #8a7a86;
  --accent: #a8577a;
  --accent-deep: #6b3450;
  --highlight: #c9a0a0;
  --nav-bg: #221d24;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 40% at 12% -6%, rgba(216, 165, 178, 0.3), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 6%, rgba(201, 160, 160, 0.16), transparent 62%),
    radial-gradient(ellipse 75% 55% at 88% 100%, rgba(92, 84, 120, 0.12), transparent 60%),
    linear-gradient(165deg, #f4eef4 0%, #e9ddec 45%, #e2d2e6 100%);
  background-repeat: no-repeat;
  background-color: var(--bg);
  caret-color: transparent;
}

body.detail-page {
  background:
    radial-gradient(ellipse 70% 40% at 12% -6%, rgba(216, 165, 178, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 6%, rgba(201, 160, 160, 0.14), transparent 62%),
    linear-gradient(165deg, #f4eef4 0%, #e9ddec 45%, #e2d2e6 100%);
  background-repeat: no-repeat;
  background-color: var(--bg);
}

input,
textarea,
[contenteditable="true"] {
  caret-color: auto;
}

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

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(201, 160, 160, 0.45);
  color: var(--accent-deep);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 48px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 0;
  border-radius: 0;
  background: #211a34;
  cursor: pointer;
}

.global-nav {
  display: flex;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  padding: 12px 24px;
  border: 1px solid var(--nav-bg);
  border-bottom: 2px solid var(--highlight);
  border-radius: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero h1,
.section-heading h2,
.panel__header h2,
.link-panel h2,
#detail-title,
.about-section h2 {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.global-nav__list {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav__list li {
  display: flex;
  flex: 0 0 auto;
}

.global-nav__list a {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 8px 7px;
  color: #cecacd;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  background: transparent;
  backdrop-filter: none;
}

.global-nav__list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--highlight);
  transition: width 200ms ease, left 200ms ease;
}

.global-nav__list a:hover,
.global-nav__list a:focus-visible,
.global-nav__list a[aria-current="page"] {
  color: #fff7ef;
}

.global-nav__list a:hover::after,
.global-nav__list a:focus-visible::after,
.global-nav__list a[aria-current="page"]::after {
  left: 14%;
  width: 72%;
}

.hero__banner {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.hero__image {
  display: block;
  width: auto;
  min-width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  background: #211a34;
}

.section-label {
  margin: 0 0 6px;
  color: var(--highlight);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

main {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.notice-banner,
.panel,
.recommend {
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}


.notice-banner {
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.notice-banner a,
.panel__header a,
.section-heading a {
  color: var(--accent-deep);
  font-weight: 700;
}

.panel-link__arrow {
  display: inline-block;
  margin-right: 4px;
}

.notice-carousel {
  display: grid;
  gap: 10px;
}

.notice-carousel__viewport {
  overflow: hidden;
  border-radius: 0;
}

.notice-carousel__track {
  display: flex;
  transition: transform 420ms ease;
}

.notice-slide {
  flex: 0 0 100%;
  aspect-ratio: 21 / 9;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.notice-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.notice-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(115, 52, 33, 0.22);
  cursor: pointer;
}

.notice-carousel__dot.is-active {
  width: 30px;
  background: var(--accent);
}

.updates {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.panel,
.recommend {
  position: relative;
  padding: 22px 22px 64px;
}

.panel__header,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.panel__header h2,
.section-heading h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

/* 「一覧を見る」等のアクションリンクはパネル右下に統一配置する */
.panel__header a,
.section-heading a {
  position: absolute;
  right: 22px;
  bottom: 22px;
}

/* Blueskyパネルは下部に「Xはこちら」ボタンを別途持つため、
   見出し右のリンクは元どおりパネル右上に留める（右下だと重なるため） */
.panel--social .panel__header a {
  position: absolute;
  top: 22px;
  right: 22px;
  bottom: auto;
}

.works-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.works-preview-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 0 1.3fr;
  color: inherit;
  border: 1px solid var(--line);
  border-top: 3px solid var(--highlight);
  background: #fafafa;
  box-shadow: 0 18px 34px -22px rgba(70, 47, 35, 0.4);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 180ms ease;
}

.works-preview-card:hover,
.works-preview-card:focus-visible {
  transform: translateY(-3px);
}

.works-preview-card__thumb {
  width: 100%;
  height: 100%;
  min-height: 140px;
  background-size: cover;
  background-position: center;
}

.works-preview-card__stub {
  position: relative;
  width: 0;
  height: 100%;
  border-left: 2px dashed rgba(70, 47, 35, 0.28);
}

.works-preview-card__stub::before,
.works-preview-card__stub::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-strong);
  transform: translateX(-50%);
}

.works-preview-card__stub::before {
  top: -11px;
}

.works-preview-card__stub::after {
  bottom: -11px;
}

.works-preview-card__body {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px 22px;
  min-width: 0;
}

.works-preview-card__heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.works-preview-card__tag {
  margin: 0;
  color: var(--highlight);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.works-preview-card__body h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.works-preview-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.timeline {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}

.timeline__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.timeline__date {
  color: var(--accent-deep);
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
}

.timeline__content strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.timeline__content strong a {
  color: inherit;
}

.timeline__content strong a:hover,
.timeline__content strong a:focus-visible {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.timeline__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  margin-right: 10px;
  padding: 0 10px;
  border-radius: 999px;
  color: #7a4a36;
  background: rgba(161, 79, 54, 0.1);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  vertical-align: baseline;
}

.timeline__content p a {
  color: inherit;
  font-weight: 700;
}

.timeline__content p a:hover,
.timeline__content p a:focus-visible {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.social-embed {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-strong);
  padding: 20px;
}

.bsky-post-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bsky-post-card {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.bsky-post-card:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.bsky-post-card__date {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.bsky-post-card__text {
  margin: 0;
  line-height: 1.8;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

.bsky-post-card__images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.bsky-post-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.bsky-post-card__link {
  justify-self: start;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.85rem;
}

.bsky-post-card__link:hover,
.bsky-post-card__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.bsky-x-link {
  display: flex;
  width: fit-content;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.85rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bsky-x-link:hover,
.bsky-x-link:focus-visible {
  border-color: var(--highlight);
  background: rgba(168, 87, 122, 0.08);
}

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

.article-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px solid var(--highlight);
  border-radius: 0;
  background: #fafafa;
  transition: transform 180ms ease;
}

.article-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}

.article-card__body {
  display: grid;
  gap: 14px;
  padding: 16px 18px 16px 16px;
  min-width: 0;
}

.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: -0.01em;
}

.article-card__meta span:last-child {
  flex-shrink: 0;
}

.article-card h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.45;
  overflow-wrap: break-word;
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
  letter-spacing: -0.015em;
  min-height: 3.3em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.site-bottom-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 48px;
  margin-bottom: -48px;
  padding-top: 40px;
  padding-bottom: 48px;
  background: var(--nav-bg);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
  color: #cecacd;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.footer-banners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-booth-banner,
.footer-blog-banner {
  width: 380px;
  height: 60px;
}

.footer-booth-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 180ms ease;
}

.footer-booth-banner:hover,
.footer-booth-banner:focus-visible {
  opacity: 0.86;
}

.footer-booth-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 247, 239, 0.3);
}

.footer-blog-banner {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  border: 1px solid var(--highlight);
  background: rgba(255, 247, 239, 0.06);
  color: #cecacd;
  text-align: center;
  overflow: hidden;
  transition: background-color 180ms ease;
}

.footer-blog-banner:hover,
.footer-blog-banner:focus-visible {
  background: rgba(255, 247, 239, 0.14);
}

.footer-blog-banner:hover .footer-blog-banner__title,
.footer-blog-banner:focus-visible .footer-blog-banner__title {
  color: #fff7ef;
}

.footer-blog-banner__label {
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid var(--highlight);
  border-radius: 999px;
  color: var(--highlight);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-blog-banner__title {
  overflow: hidden;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #cecacd;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.link-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.link-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: var(--shadow);
}

.link-panel h2 {
  margin: 0 0 10px;
  font-size: 1.7rem;
  font-weight: 600;
}

.link-panel p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-layout {
  display: grid;
  gap: 34px;
  margin-top: 40px;
}

.article-layout {
  display: grid;
  gap: 34px;
  margin-top: 40px;
}

.works-layout {
  display: grid;
  gap: 34px;
  margin-top: 40px;
}

.side-layout {
  display: grid;
  gap: 34px;
  margin-top: 40px;
}

.side-panel {
  display: grid;
  gap: 34px;
  padding: 36px 40px;
  border: 0;
  background: var(--surface-strong);
}

.side-intro {
  display: grid;
  justify-items: center;
  padding: 8px 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article-panel {
  display: grid;
  gap: 34px;
  padding: 36px 40px;
  border: 0;
  background: var(--surface-strong);
}

.article-intro {
  display: grid;
  justify-items: center;
  padding: 8px 0 4px;
  border: 0;
  background: transparent;
}

.article-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-filter__button {
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.article-filter__button:hover,
.article-filter__button:focus-visible {
  border-color: var(--highlight);
  color: var(--accent-deep);
}

.article-filter__button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff7ef;
}

.article-list {
  display: grid;
  align-content: start;
  gap: 6px;
}

.article-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid rgba(70, 47, 35, 0.1);
  color: inherit;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.article-list-item:hover {
  background: #fafafa;
}

.article-list-item__meta {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.article-list-item h2 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.3;
  font-weight: 540;
  font-family: "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
}

.article-list-item h2:hover,
.article-list-item h2:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article-list-item p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.article-list-item__body {
  min-width: 0;
}

.article-list-item__thumb {
  aspect-ratio: 16 / 5.6;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
}

.article-list-empty {
  margin: 0;
  padding: 16px 0;
  color: var(--muted);
}

.article-list-item__thumb--news {
  background:
    linear-gradient(145deg, rgba(161, 79, 54, 0.76), rgba(115, 52, 33, 0.24)),
    linear-gradient(45deg, rgba(201, 160, 160, 0.36), rgba(255, 255, 255, 0));
}

.article-list-item__thumb--progress {
  background:
    linear-gradient(145deg, rgba(85, 67, 115, 0.76), rgba(46, 38, 78, 0.24)),
    linear-gradient(45deg, rgba(211, 187, 133, 0.3), rgba(255, 255, 255, 0));
}

.article-list-item__thumb--event {
  background:
    linear-gradient(145deg, rgba(115, 86, 54, 0.76), rgba(73, 51, 34, 0.24)),
    linear-gradient(45deg, rgba(216, 177, 104, 0.3), rgba(255, 255, 255, 0));
}

.side-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 32px;
  align-items: start;
}

.side-list-area {
  display: grid;
  gap: 22px;
}

.side-list-status p {
  margin: 0;
  color: var(--muted);
}

.side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  min-height: 740px;
  align-content: start;
}

.side-card {
  display: grid;
  border: 1px solid var(--line);
  border-top: 3px solid var(--highlight);
  border-radius: 10px;
  background: #fafafa;
  box-shadow: none;
  overflow: hidden;
  transition: background-color 180ms ease;
}

.side-card:hover,
.side-card:focus-within {
  background: #f4f2f3;
}

.side-card__link {
  display: grid;
  min-width: 0;
  color: inherit;
}

.side-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  min-height: 252px;
  padding: 14px;
  color: #fff7ef;
  background-size: cover;
  background-position: center;
  background: none;
}

.side-card__page-count,
.side-card__news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid rgba(255, 247, 239, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

.side-card__page-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 1;
  color: #fff;
  min-width: 2.3em;
  background: rgba(28, 20, 17, 0.32);
  border-color: rgba(255, 255, 255, 0.16);
}

.side-card__news {
  background: rgba(28, 20, 17, 0.24);
}

.side-card__body {
  display: grid;
  gap: 8px;
  padding: 18px 18px 16px;
}

.side-card__published-at {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.side-card__body h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.4;
  font-family: "Zen Kaku Gothic New", "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  font-weight: 545;
}

.side-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.46;
  letter-spacing: -0.01em;
}

.side-card__like {
  justify-self: end;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0;
}

.side-filter {
  position: sticky;
  top: 20px;
  padding: 16px 18px;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  overflow-y: auto;
}

.side-filter__form {
  display: grid;
  gap: 14px;
}

.filter-group {
  display: grid;
  gap: 7px;
}

.filter-group h2 {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 700;
}

.filter-group label {
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.filter-tags {
  display: grid;
  gap: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.pagination__button {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  cursor: pointer;
}

.pagination__button.is-active {
  color: #fff7ef;
  background: var(--accent);
  border-color: var(--accent);
}

.side-empty {
  margin: 0;
  padding: 28px;
  border: 0;
  background: var(--surface-strong);
  color: var(--muted);
  box-shadow: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  align-items: start;
}

.detail-article,
.detail-related {
  padding: 44px 56px;
  background: var(--surface-strong);
}

.detail-article {
  border: 0;
  box-shadow: none;
}

.detail-header__date {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-header {
  width: min(100%, 41ic);
  margin: 0 auto;
}

.detail-header__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 24px;
  border: 1px solid var(--line);
}

.detail-header h1 {
  margin: 0;
  font-size: 2.32rem;
  line-height: 1.32;
  font-weight: 545;
  font-family: "Zen Kaku Gothic New", "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
}

.detail-layout--pending {
  visibility: hidden;
}

body.detail-page .page-shell {
  visibility: hidden;
}

body.detail-page.is-ready .page-shell {
  visibility: visible;
}

.detail-body {
  margin-top: 36px;
}

.rich-content {
  display: grid;
  gap: 30px;
  width: min(100%, 41ic);
  margin: 0 auto;
  font-family: "Meiryo", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.rich-content p {
  margin: 0;
  font-size: 1.13rem;
  line-height: 1.95;
  letter-spacing: -0.02em;
}

.rich-content p br {
  display: block;
  content: "";
  margin-bottom: -0.9em;
}

.rich-content img {
  width: min(100%, 31ic);
  height: auto;
  margin: 0 auto;
  display: block;
  cursor: zoom-in;
}

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.6;
  color: var(--accent-deep);
}

.rich-content h2 {
  font-size: 1.5rem;
}

.rich-content h3 {
  font-size: 1.28rem;
}

.rich-content h4 {
  font-size: 1.13rem;
  color: var(--text);
}

.rich-content blockquote {
  margin: 0;
  padding: 10px 18px;
  border-left: 3px solid var(--accent);
  background: var(--surface-strong);
  font-size: 1.05rem;
  line-height: 1.9;
}

.rich-content ul {
  margin: 0;
  padding-left: 1.3em;
  font-size: 1.13rem;
  line-height: 1.95;
}

.rich-content code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92em;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background: var(--surface-strong);
}

.rich-content pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.rich-content pre code {
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre;
}

.detail-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.94);
  z-index: 1000;
}

.detail-lightbox.is-open {
  display: flex;
}

.detail-lightbox__image {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
}

.detail-lightbox__close {
  position: absolute;
  top: 18px;
  right: 24px;
  border: 0;
  background: transparent;
  color: var(--accent-deep);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.is-lightbox-open {
  overflow: hidden;
}

.rich-content .article-toc {
  margin: -8px 0 0;
  padding-left: 0;
  list-style: none;
}

.rich-content .article-toc li {
  font-size: 1.18rem;
  line-height: 1.9;
}

.rich-content .article-toc li:nth-child(odd) {
  background: rgba(70, 47, 35, 0.04);
}

.rich-content .article-toc li:nth-child(even) {
  background: rgba(70, 47, 35, 0.08);
}

.rich-content .article-toc a {
  display: block;
  padding: 8px 14px;
  color: var(--accent-deep);
  text-decoration: none;
}

.rich-content .article-toc a:hover,
.rich-content .article-toc a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.detail-meta {
  display: grid;
  gap: 18px;
  margin-top: 40px;
  padding-top: 0;
  border-top: 0;
  max-width: 40ic;
  margin-left: auto;
  margin-right: auto;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.detail-tags span {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
}

.detail-tags a {
  color: var(--muted);
}

.detail-tags a:hover,
.detail-tags a:focus-visible {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.detail-like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.detail-like:hover,
.detail-like:focus-visible {
  border-color: var(--highlight);
  color: var(--accent-deep);
}

.detail-like:disabled {
  cursor: default;
  opacity: 0.5;
  border-color: var(--line);
  color: var(--muted);
}

.detail-like__icon {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.detail-like.is-liked {
  border-color: var(--accent);
  background: rgba(168, 87, 122, 0.12);
  color: var(--accent-deep);
}

.detail-like.is-liked .detail-like__icon {
  color: var(--accent);
}

.detail-like.is-liked-pop .detail-like__icon {
  animation: detail-like-pop 0.32s ease;
}

@keyframes detail-like-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

.detail-share {
  position: relative;
  display: inline-flex;
}

.detail-nav-link,
.detail-related__item a {
  color: var(--accent-deep);
}

.detail-share__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--accent-deep);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.detail-share__toggle:hover,
.detail-share__toggle:focus-visible,
.detail-share__toggle[aria-expanded="true"] {
  border-color: var(--highlight);
  background: rgba(168, 87, 122, 0.08);
}

.detail-share__toggle-icon,
.detail-share__item-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.detail-share__toggle-icon svg,
.detail-share__item-icon svg {
  width: 100%;
  height: 100%;
}

.detail-share__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  max-width: min(240px, calc(100vw - 32px));
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: 0 12px 30px rgba(63, 33, 44, 0.16);
}

.detail-share__menu[hidden] {
  display: none;
}

.detail-share__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.detail-share__item:hover,
.detail-share__item:focus-visible {
  background: rgba(168, 87, 122, 0.1);
  color: var(--accent-deep);
}

.detail-share__item:hover .detail-share__item-icon,
.detail-share__item:focus-visible .detail-share__item-icon {
  color: var(--accent);
}

.detail-share__divider {
  height: 1px;
  margin: 4px 8px;
  background: var(--line);
}

.detail-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 40ic;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}

.detail-nav-link {
  display: grid;
  gap: 4px;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  align-content: start;
  font-family: "Meiryo", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.detail-nav-link[aria-disabled="true"] {
  color: var(--muted);
  pointer-events: none;
}

.detail-nav-link__eyebrow {
  color: rgba(42, 30, 26, 0.48);
  font-size: 0.8rem;
  font-family: "Meiryo", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.detail-nav-link__title,
.detail-nav-link--center {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-family: "Meiryo", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 1rem;
}

.detail-nav-link__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-width: 14em;
  white-space: normal;
}

.detail-nav-link--prev {
  justify-items: start;
  text-align: left;
}

.detail-nav-link--prev .detail-nav-link__title {
  justify-self: start;
}

.detail-nav-link--next {
  justify-items: end;
  text-align: right;
}

.detail-nav-link--next .detail-nav-link__title {
  justify-self: end;
}

.detail-nav-link--center {
  display: inline-flex;
  align-self: stretch;
  justify-self: center;
  align-items: center;
  padding-top: 0;
  line-height: 1;
}

@media (max-width: 1100px) {
  .detail-nav-link__title {
    max-width: 12em;
  }
}

.detail-related--inline {
  max-width: 40ic;
  margin: 40px auto 0;
  padding: 28px 0 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  background: var(--surface-strong);
  box-shadow: none;
}

.detail-related__list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.detail-related__item {
  padding-top: 10px;
  border-top: 0;
}

.detail-related__item:first-child {
  padding-top: 0;
}

.detail-related__item h3 {
  margin: 0;
  font-size: 1rem;
}

.works-title {
  display: grid;
  justify-items: center;
  padding: 8px 0 4px;
}

.works-title h1,
.side-intro h1,
.article-intro h1 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}

.works-title h1::after,
.side-intro h1::after,
.article-intro h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 160px;
  height: 3px;
  background: var(--highlight);
  transform: translateX(-50%);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.works-section + .works-section {
  margin-top: 44px;
}

.works-section__title {
  position: relative;
  display: inline-block;
  margin: 0 0 18px;
  padding-bottom: 14px;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.works-section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(201, 160, 160, 0.4);
}

.work-card {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: 30px 30px 32px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: 0 18px 34px -22px rgba(70, 47, 35, 0.4);
  border-radius: 4px;
  text-align: center;
  position: relative;
}

.work-card__frame {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
}

.work-card__corner {
  position: absolute;
  width: 16px;
  height: 16px;
}

.work-card__corner--tl {
  top: 5px;
  left: 5px;
  border-top: 1px solid var(--highlight);
  border-left: 1px solid var(--highlight);
}

.work-card__corner--tr {
  top: 5px;
  right: 5px;
  border-top: 1px solid var(--highlight);
  border-right: 1px solid var(--highlight);
}

.work-card__corner--bl {
  bottom: 5px;
  left: 5px;
  border-bottom: 1px solid var(--highlight);
  border-left: 1px solid var(--highlight);
}

.work-card__corner--br {
  bottom: 5px;
  right: 5px;
  border-bottom: 1px solid var(--highlight);
  border-right: 1px solid var(--highlight);
}

.work-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: rgba(115, 52, 33, 0.3);
  background-image:
    linear-gradient(145deg, rgba(161, 79, 54, 0.82), rgba(115, 52, 33, 0.3)),
    linear-gradient(45deg, rgba(201, 160, 160, 0.46), rgba(255, 255, 255, 0));
}

.work-card__image--alt {
  background-image:
    linear-gradient(145deg, rgba(76, 52, 83, 0.82), rgba(36, 30, 50, 0.3)),
    linear-gradient(45deg, rgba(213, 168, 121, 0.42), rgba(255, 255, 255, 0));
}

.work-card__image--third {
  background-image:
    linear-gradient(145deg, rgba(89, 78, 42, 0.82), rgba(62, 43, 31, 0.3)),
    linear-gradient(45deg, rgba(208, 168, 92, 0.42), rgba(255, 255, 255, 0));
}

.work-card__rule {
  display: block;
  width: 56px;
  height: 1px;
  margin: -6px 0 4px;
  background: var(--highlight);
}

.work-card__body {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.work-card__body h2,
.work-card__body h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.work-card__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.work-card__details {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-top: 4px;
  text-align: left;
}

.work-card__details div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
}

.work-card__details dt {
  color: var(--accent-deep);
  font-weight: 700;
}

.work-card__details dd {
  margin: 0;
}

.work-card__link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
}

.work-card__link-list a:not(:last-child)::after {
  content: "/";
  margin-left: 4px;
  color: var(--muted);
}

.work-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding-top: 18px;
  margin-top: 6px;
}

.work-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--highlight);
  background: rgba(255, 250, 242, 0.7);
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 180ms ease;
}

.work-card__actions a:hover,
.work-card__actions a:focus-visible {
  background: rgba(201, 160, 160, 0.16);
}

.work-card__actions a.work-card__actions--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff7ef;
}

.work-card__actions a.work-card__actions--primary:hover,
.work-card__actions a.work-card__actions--primary:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.about-section {
  padding: 40px 44px;
  border: 0;
  background: var(--surface-strong);
  box-shadow: none;
}

.about-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 24px;
  font-size: 2rem;
  font-weight: 600;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.about-section h2::before,
.about-section h2::after {
  content: "";
  flex: 0 0 auto;
  width: 56px;
  height: 1px;
  background: var(--highlight);
}

.about-section h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.about-section p,
.about-section li,
.about-section dd {
  font-size: 1.06rem;
  line-height: 2;
  font-family: "Meiryo", "Hiragino Sans", "Yu Gothic", sans-serif;
}

.about-profile-card__body p,
.contact-card__desc,
.about-note,
.about-credit p,
.about-credit li {
  max-width: 40ic;
}

.about-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.about-profile-list {
  display: grid;
  gap: 14px;
}

.about-profile-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.about-profile-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 16px;
  border: 0;
  background: rgba(255, 250, 242, 0.4);
  box-shadow: none;
}

.about-profile-card__image {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border: 2px solid var(--highlight);
}

.about-profile-card__body {
  display: grid;
  gap: 6px;
}

.about-profile-card__body h3 {
  margin: 0;
  font-size: 1.06rem;
}

.about-profile-card__body p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.8;
  max-width: none;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-strong);
  overflow: hidden;
  color: inherit;
}

.contact-card__thumb {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--bg-strong);
}

.contact-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(238, 235, 236, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.contact-card__thumb:hover::after,
.contact-card__thumb:focus-visible::after {
  opacity: 1;
}

.contact-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.contact-card__body {
  display: grid;
  flex: 1;
  gap: 10px;
  padding: 22px;
  align-content: start;
}

.contact-card__title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.contact-card__body .contact-card__desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.about-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.guideline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.guideline-card {
  padding: 24px;
  border: 0;
  background: rgba(255, 250, 242, 0.62);
  box-shadow: none;
}

.guideline-card h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.guideline-card--ok h3 {
  color: #48633c;
}

.guideline-card--ng h3 {
  color: var(--accent-deep);
}

.guideline-card ul {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
}

.guideline-card li {
  line-height: 1.85;
}

.guideline-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.about-credit {
  margin-bottom: 18px;
  padding: 24px;
  border: 0;
  background: var(--surface-strong);
  box-shadow: none;
}

.about-credit p {
  margin-top: 0;
}

.about-credit a {
  color: var(--accent-deep);
}

.about-back {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--highlight);
  background: var(--surface-strong);
  font-weight: 700;
  transition: background-color 180ms ease;
}

.back-button:hover,
.back-button:focus-visible {
  background: rgba(201, 160, 160, 0.16);
}

@media (max-width: 960px) {
  .updates,
  .card-grid,
  .link-sections,
  .about-profile-layout,
  .contact-cards,
  .guideline-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .article-list {
    grid-template-columns: 1fr;
  }

  .article-list-item {
    grid-template-columns: 1fr;
  }

  .article-list-item__thumb {
    order: -1;
    max-width: 280px;
  }


  .side-shell,
  .side-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .side-filter {
    position: static;
  }

  .detail-nav-link__title {
    max-width: 8em;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 0;
  }

  .works-preview-card {
    grid-template-columns: 1fr;
  }

  .works-preview-card__stub {
    display: none;
  }

  .works-preview-card__thumb {
    min-height: 180px;
  }

  .hero,
  .panel,
  .recommend,
  .notice-banner {
    border-radius: 0;
  }

  .hero {
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 0;
  }

  .global-nav {
    padding: 14px;
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-right: -10px;
  }

  .global-nav__list {
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 20px;
  }

  .notice-banner,
  .site-footer,
  .timeline__item {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline__item {
    gap: 8px;
  }

  .hero__banner {
    height: 280px;
  }

  .hero__image {
    width: 100%;
    min-width: 0;
    height: 100%;
  }

  .about-section {
    padding: 26px 22px;
  }

  .article-panel,
  .side-panel,
  .detail-article {
    padding: 24px 20px;
  }

  .work-card {
    padding: 28px 20px 24px;
  }

  .about-profile-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .about-profile-card__image {
    width: 112px;
    height: 112px;
  }

  .work-card__details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .detail-actions,
  .detail-navigation {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .detail-nav-link__title {
    max-width: 10em;
  }

  .detail-share {
    align-self: center;
  }

  .panel__header,
  .section-heading {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .detail-nav-link__title {
    max-width: 6.5em;
  }
}
