:root {
  --red: #9b1b1b;
  --red-deep: #6c0003;
  --red-cinnabar: #940a0a;
  --red-bar: #b53939;
  --red-soft: #d64c4c;
  --red-link: #b35353;
  --text: #1a1c1c;
  --text-2: #555555;
  --text-3: #5a403d;
  --text-4: #5f5e5e;
  --border: #e2beb9;
  --paper: #f5f2ec;
  --white: #ffffff;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --content: 1428px;
  --gutter: 40px;
  --section-y: 48px;
  --section-y-sm: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  min-width: 320px;
}

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

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

button,
input {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ========== Header ========== */
.header {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}

.header__inner {
  overflow: visible;
}

.header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo__mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo__wordmark {
  width: 168px;
  height: 56px;
  object-fit: cover;
}

.search {
  display: flex;
  width: 576px;
  max-width: 100%;
  height: 40px;
  border-radius: 2px;
  overflow: hidden;
}

.search__input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--border);
  border-right: 0;
  padding: 9px 16px 9px 17px;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
}

.search__input::placeholder {
  color: #6b7280;
}

.search__btn {
  width: 66px;
  height: 40px;
  border: 0;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search__btn img {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--red-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 48px;
  border-top: 1px solid var(--red-cinnabar);
  overflow: visible;
  position: relative;
  z-index: 110;
}

.nav__link {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--text-3);
  line-height: 26px;
  padding: 10px 8px 11px;
  white-space: nowrap;
  height: 47px;
  display: flex;
  align-items: center;
}

.nav__link.is-active {
  font-weight: 600;
  color: var(--red-deep);
  border-bottom: 2px solid var(--red-deep);
  padding-bottom: 9px;
}

.nav__group {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

.nav__link--parent {
  padding-right: 18px;
  position: relative;
}

.nav__link--parent::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transform: translateY(-30%);
  opacity: 0.65;
}

.nav__group:hover > .nav__link--parent::after {
  opacity: 1;
}

.nav__group.is-active > .nav__link--parent {
  font-weight: 600;
  color: var(--red-deep);
  border-bottom: 2px solid var(--red-deep);
  padding-bottom: 9px;
}

.nav__toggle {
  display: none;
  width: 28px;
  height: 47px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.nav__toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-3);
  transform: translate(-50%, -40%);
  transition: transform 0.2s ease;
}

.nav__group.is-open > .nav__toggle::before {
  transform: translate(-50%, -60%) rotate(180deg);
}

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 8px 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
}

.nav__sub--long {
  min-width: 300px;
  max-width: 360px;
  padding: 6px 0;
}

.nav__group:hover .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__sublink {
  display: block;
  padding: 10px 16px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 22px;
  color: var(--text-3);
  white-space: nowrap;
}

.nav__sub--long .nav__sublink {
  white-space: normal;
  padding: 10px 18px;
  font-size: 14px;
  line-height: 24px;
}

.nav__sublink:hover {
  color: var(--red-deep);
  background: rgba(196, 30, 58, 0.04);
}

.nav__sublink.is-active {
  color: var(--red-deep);
  font-weight: 600;
  background: rgba(196, 30, 58, 0.06);
}

/* ========== Hero ========== */
.hero {
  background: var(--white);
  padding: 20px 0 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 890.67fr) minmax(0, 433.33fr);
  gap: 20px;
  min-height: 480px;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  background: #e8e8e8;
  min-height: 480px;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 103.22%;
  height: 100%;
  left: -1.61%;
  object-fit: cover;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(108, 0, 3, 0.8) 0%, rgba(108, 0, 3, 0.2) 50%, rgba(108, 0, 3, 0) 100%);
}

.hero__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 746px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__tag {
  background: var(--white);
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
  line-height: 16px;
  padding: 2px 12px;
}

.hero__date {
  color: var(--white);
  opacity: 0.8;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 40px;
  line-height: 50px;
  color: var(--white);
}

.hero__desc {
  font-size: 18px;
  line-height: 30px;
  color: var(--white);
  opacity: 0.9;
}

.news-panel {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
}

.news-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.news-panel__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--red-soft);
}

.bar-red {
  width: 4px;
  height: 24px;
  background: var(--red-bar);
  display: inline-block;
  flex-shrink: 0;
}

.bar-red--thick {
  width: 6px;
}

.bar-red--tall {
  width: 4px;
  height: 32px;
}

.link-muted {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text-3);
}

.news-panel__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.news-panel__list li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.news-panel__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-panel__list h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
  color: var(--text);
  margin-bottom: 8px;
}

.badge-new {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  background: rgba(108, 0, 3, 0.1);
  color: var(--red-soft);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  padding: 2px 6px;
}

.news-panel__list p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin-top: 20px;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  letter-spacing: 1.6px;
  line-height: 24px;
}

/* ========== Overview / Archives ========== */
.overview,
.matrix,
.notices,
.orig-banner,
.originals,
.work-desk,
.outlook,
.links {
  background: rgba(245, 242, 236, 0.5);
  position: relative;
}

.overview {
  padding: var(--section-y) 0;
  overflow: hidden;
}

.overview__bg,
.notices__bg,
.work-desk__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

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

.overview {
  --home-panel-body: 446px;
  --home-panel-subhead: 48px;
  --home-panel-block: calc(var(--home-panel-subhead) + var(--home-panel-body));
}

.overview__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 547.67fr) minmax(0, 776.33fr);
  gap: 24px;
  align-items: stretch;
}

.overview__left {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.archives {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  letter-spacing: 2px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title--red {
  color: var(--red);
}

.section-title__rule {
  width: 48px;
  height: 1px;
  background: var(--red-deep);
  display: inline-block;
}

.section-title__icon {
  width: 20px;
  height: 16px;
  flex-shrink: 0;
}

.overview-card {
  margin-top: 24px;
  flex: 1;
  min-height: var(--home-panel-block);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.overview-card p {
  flex: 1;
  font-size: 16px;
  line-height: 26px;
  color: var(--text);
  margin: 0;
}

.overview-card .link-arrow {
  margin-top: auto;
}

.overview-card__photo {
  overflow: hidden;
  height: 240px;
  flex-shrink: 0;
}

.overview-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-deep);
  font-size: 16px;
  line-height: 24px;
}

.link-arrow img {
  width: 16px;
  height: 12px;
}

.archives__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pager {
  display: flex;
  gap: 8px;
}

.pager__btn {
  width: 40px;
  height: 40px;
  border: 1px solid #8e706c;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pager__btn:hover:not(.swiper-button-disabled) {
  border-color: var(--red);
  background: rgba(155, 27, 27, 0.04);
}

.pager__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pager__btn img {
  width: 8px;
  height: 12px;
}

.archives__body {
  margin-top: 24px;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  min-height: var(--home-panel-block);
}

.timeline h3,
.hist-articles h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  margin-bottom: 24px;
}

.timeline,
.hist-articles {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.timeline {
  position: relative;
}

.hist-articles {
  min-height: 100%;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
  z-index: 0;
}

.timeline-swiper {
  flex: 1;
  height: var(--home-panel-body);
  min-height: var(--home-panel-body);
  margin-left: -1px;
  padding-left: 49px;
  overflow: hidden;
}

.timeline-swiper .swiper-slide {
  position: relative;
  box-sizing: border-box;
}

.timeline__dot {
  position: absolute;
  left: -49px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 4px solid var(--white);
  background: #e2e2e2;
  color: var(--text-4);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-swiper .swiper-slide.is-active .timeline__dot {
  background: var(--red-bar);
  color: var(--white);
}

.timeline__year {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-4);
  margin-bottom: 8px;
}

.timeline-swiper .swiper-slide.is-active .timeline__year {
  color: var(--red-deep);
}

.timeline h4,
.hist-articles h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: var(--text);
  margin-bottom: 8px;
}

.hist-articles h4 {
  line-height: 30px;
  margin-bottom: 0;
}

.timeline p,
.hist-articles p {
  font-size: 14px;
  line-height: 32px;
  color: var(--text-2);
}

.hist-articles ul {
  flex: 1;
  min-height: var(--home-panel-body);
  max-height: var(--home-panel-body);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.hist-articles ul li {
  padding-bottom: 17px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.hist-articles ul li:last-child {
  margin-bottom: 0;
}

.hist-articles__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.hist-articles time {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text-4);
  flex-shrink: 0;
}

/* ========== 3-column matrix ========== */
.matrix {
  padding: var(--section-y) 0;
}

.matrix__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "a b c"
    "banner banner c";
  gap: 20px;
  align-items: start;
}

.matrix__col--review {
  display: flex;
  flex-direction: column;
}

.matrix__col--review .review-box {
  flex: 1;
}

.matrix__col:nth-child(1) { grid-area: a; }
.matrix__col:nth-child(2) { grid-area: b; }
.matrix__col:nth-child(3) { grid-area: c; }
.matrix__banner { grid-area: banner; display: block; }

.col-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  letter-spacing: 1.5px;
  color: var(--text);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.dated-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dated-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dated-list__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  flex-shrink: 0;
}

.dated-list__date strong {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.7px;
  line-height: 32px;
  color: var(--red-deep);
}

.dated-list__date span {
  font-size: 12px;
  line-height: 15px;
  color: var(--text-3);
}

.dated-list p {
  font-size: 15px;
  line-height: 26px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.matrix__photo {
  position: relative;
  height: 148px;
  overflow: hidden;
  margin-bottom: 16px;
}

.matrix__photo img {
  position: absolute;
  left: 0;
  top: -26%;
  width: 100%;
  height: 153%;
  object-fit: cover;
}

.matrix__photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(108, 0, 3, 0.2);
  mix-blend-mode: multiply;
}

.review-box {
  background: rgba(226, 226, 226, 0.29);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.review-box__month {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: var(--text-4);
  display: flex;
  align-items: flex-end;
  gap: 7px;
}

.review-box__month span {
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  color: var(--red-link);
}

.review-box__quote {
  font-weight: 300;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-3);
  padding-bottom: 16px;
}

.review-item {
  background: var(--white);
  border-left: 4px solid var(--red-bar);
  padding: 12px 12px 12px 16px;
}

.review-item h5 {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text);
  margin-bottom: 4px;
}

.review-item p {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-2);
}

.matrix__banner img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: left center;
  border-radius: 2px;
}

/* ========== Notices ========== */
.notices {
  padding: var(--section-y) 0 var(--section-y-sm);
  overflow: hidden;
}

.notices__bg {
  mix-blend-mode: multiply;
  opacity: 0.12;
}

.notices__bg img {
  position: absolute;
  width: 131%;
  height: 300%;
  left: -13%;
  top: -81%;
  max-width: none;
  object-fit: cover;
}

.notices .container,
.originals .container,
.outlook .container {
  position: relative;
  z-index: 1;
}

.notices__head,
.outlook__head,
.originals__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.notices__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text-3);
}

.btn-outline {
  border: 1px solid var(--red-link);
  color: var(--red-link);
  padding: 7px 17px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.notice-card {
  background: var(--white);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  height: 100%;
  border: 1px solid rgba(226, 190, 185, 0.6);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.notice-card:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  border-color: var(--border);
}

.notice-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.notice-card__top img {
  flex-shrink: 0;
}

.notice-card time {
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  color: var(--red-link);
}

.notice-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 26px;
  color: var(--text);
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-card__foot {
  border-top: 1px solid var(--border);
  padding-top: 17px;
  display: flex;
  justify-content: flex-end;
}

.notice-card__foot img {
  width: 20px;
  height: 14px;
}

/* ========== Member originals ========== */
.orig-banner {
  padding: 12px 0;
}

.orig-banner a {
  display: block;
}

.orig-banner img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 2px;
}

.originals {
  padding: var(--section-y-sm) 0 var(--section-y);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-cinnabar);
  color: var(--white);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  padding: 8px 20px;
  border-radius: 2px;
  margin-left: 8px;
}

.btn-submit img {
  width: 20px;
  height: 20px;
}

.originals__body {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.cat-nav {
  display: flex;
  flex-direction: column;
}

.cat-nav button,
.cat-nav a {
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-2);
  padding: 16px 0 8px;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.cat-nav button:hover,
.cat-nav a:hover {
  color: var(--red);
}

.cat-nav button.is-active,
.cat-nav a.is-active {
  background: #f6e9e9;
  color: var(--red);
  padding: 8px 16px;
  border-radius: 2px;
}

.books {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.news-panel__list a:hover h4,
.hist-articles a:hover h4,
.dated-list a:hover p,
.notice-card:hover h3,
.outlook__grid a:hover h3,
.book:hover .book__meta h4,
.work-item:hover strong,
.review-item:hover h5 {
  color: var(--red-deep);
}

.dated-list a {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
}

.book {
  display: flex;
  gap: 10px;
  width: auto;
  min-width: 0;
}

.book img {
  width: 108px;
  height: 144px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.book__meta {
  padding-top: 8px;
  min-width: 0;
}

.book__meta h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book__meta p {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text-4);
  margin-top: 8px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
  border-top: 1px solid var(--border);
}

.work-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--serif);
  padding: 14px 0;
  border-bottom: 1px solid rgba(226, 190, 185, 0.5);
}

.work-item.is-hidden {
  display: none;
}

.tag {
  font-size: 16px;
  line-height: 15px;
  flex-shrink: 0;
}

.tag--prose { color: #106b37; }
.tag--novel { color: #b53939; }
.tag--essay { color: #f3a81d; }
.tag--poem { color: #59aee6; }
.tag--report { color: rgba(82, 29, 31, 0.8); }
.tag--review { color: #6b4c9a; }

.originals__empty {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 26px;
  color: var(--text-4);
  text-align: center;
}

.originals__main.is-switching {
  opacity: 0.4;
  transition: opacity 0.15s ease;
}

.originals__main {
  transition: opacity 0.2s ease;
}

.work-item__sep {
  color: rgba(26, 28, 28, 0.3);
  font-size: 16px;
  line-height: 15px;
  flex-shrink: 0;
}

.work-item strong {
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}

.originals__foot {
  margin-top: 24px;
  text-align: center;
}

.originals__foot .link-accent {
  font-size: 14px;
  line-height: 22px;
}

.work-item em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text-4);
  flex-shrink: 0;
  margin-left: auto;
}

/* ========== Work & service ========== */
.work-desk {
  padding: var(--section-y) 0;
  overflow: hidden;
}

.work-desk__bg {
  mix-blend-mode: multiply;
  opacity: 0.12;
  transform: scaleY(-1);
}

.work-desk__bg img {
  width: 100%;
  height: 400%;
  object-fit: cover;
  position: absolute;
  top: -133%;
  left: 0;
  max-width: none;
}

.work-desk .container {
  position: relative;
  z-index: 1;
}

.work-desk__grid {
  display: grid;
  grid-template-columns: minmax(0, 776.33fr) minmax(0, 547.67fr);
  gap: 24px;
}

.work-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.work-card,
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  min-height: 0;
}

.work-card {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: rgba(108, 0, 3, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card__icon img {
  width: 21px;
  height: 20px;
}

.work-card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  padding-top: 12px;
}

.work-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
}

.work-card p a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-link);
  font-size: 16px;
  line-height: 24px;
  padding-top: 12px;
}

.work-card a img {
  width: 8px;
  height: 12px;
}

.service-card__btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.btn-red {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 51px;
  background: var(--red);
  color: var(--white);
  border-radius: 2px;
  font-size: 16px;
  line-height: 24px;
}

.btn-red img {
  width: 22px;
  height: 16px;
  flex-shrink: 0;
}

.btn-red--outline {
  background: #fff;
  color: var(--red);
  border: 1px solid var(--red);
}

.service-card h5 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.7px;
  line-height: 20px;
  padding-top: 16px;
  margin: 16px 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text-2);
}

.contact-list img {
  width: 20px;
  height: 16px;
  flex-shrink: 0;
}

/* ========== Outlook ========== */
.outlook {
  padding: var(--section-y) 0;
}

.link-accent {
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--red-link);
}

.outlook__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.outlook__img {
  height: 320px;
  overflow: hidden;
  background: var(--white);
}

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

.outlook h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  margin-top: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.outlook p {
  font-size: 15px;
  line-height: 24px;
  color: var(--text-2);
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== Links ========== */
.links {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.links h4 {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 20px;
  color: var(--text-4);
  margin-bottom: 32px;
}

.links__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}

.links__row a {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-4);
}

.links__row a:hover {
  color: var(--red);
}

/* ========== Footer ========== */
.footer {
  background: var(--red);
  color: #f1f1f1;
  padding: 64px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo-img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer__logo strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
}

.footer__contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0.8;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
}

.footer__contact img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__navs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer__navs h5 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.7px;
  line-height: 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 24px;
}

.footer__navs a {
  display: block;
  font-size: 14px;
  line-height: 22px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.footer__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__qr-box {
  background: var(--white);
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.footer__qr-box img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.footer__qr p {
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  opacity: 0.9;
  padding-bottom: 16px;
}

.footer__copy {
  margin-top: 24px;
  text-align: center;
  opacity: 0.6;
  font-size: 10px;
  line-height: 15px;
}

/* ========== Responsive ========== */
@media (max-width: 1440px) {
  .hero__title { font-size: 32px; line-height: 42px; }
  .originals__body { gap: 32px; }
  .books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
  .search { width: 360px; }
  .overview__grid,
  .work-desk__grid,
  .archives__body {
    grid-template-columns: 1fr;
  }
  .overview {
    --home-panel-body: 400px;
  }

  .overview-card {
    min-height: auto;
  }

  .archives__body {
    min-height: auto;
  }

  .timeline-swiper {
    height: var(--home-panel-body);
    min-height: var(--home-panel-body);
  }

  .hist-articles ul {
    min-height: var(--home-panel-body);
    max-height: var(--home-panel-body);
  }
  .matrix__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "a b"
      "banner banner"
      "c c";
  }
  .notice-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__qr { align-items: flex-start; }
}

@media (max-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual,
  .news-panel {
    min-height: 0;
  }
  .hero__visual { height: 420px; }
  .outlook__grid,
  .work-cards,
  .service-card__btns {
    grid-template-columns: 1fr;
  }
  .originals__body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cat-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
  }
  .cat-nav button {
    padding: 8px 16px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }

  .header__top { height: 64px; }
  .logo__wordmark { width: 120px; height: 40px; }
  .logo__mark { width: 40px; height: 40px; }
  .search { display: none; }
  .menu-toggle { display: flex; }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
    padding: 8px 0 16px;
  }
  .nav.is-open { display: flex; }
  .nav__group {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
  }
  .nav__group > .nav__link--parent {
    flex: 1;
    border-bottom: 0;
    padding-right: 8px;
  }
  .nav__group.is-active > .nav__link--parent {
    border-bottom: 0;
    box-shadow: inset 0 -2px 0 var(--red-deep);
  }
  .nav__toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: auto;
    min-height: 48px;
  }
  .nav__link--parent::after {
    display: none;
  }
  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-top: 1px solid var(--border);
    padding: 0;
    display: none;
    background: #faf8f6;
  }
  .nav__group.is-open .nav__sub {
    display: block;
  }
  .nav__sublink {
    padding: 12px 16px 12px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav__link {
    height: auto;
    padding: 12px 8px;
    border-bottom: 1px solid var(--border);
  }
  .nav__link.is-active {
    border-bottom: 1px solid var(--border);
    box-shadow: inset 0 -2px 0 var(--red-deep);
  }

  .hero { padding: 16px 0; }
  .hero__visual { height: 320px; }
  .hero__caption { padding: 20px; }
  .hero__title { font-size: 22px; line-height: 30px; }
  .hero__desc { font-size: 14px; line-height: 22px; }

  .section-title { font-size: 24px; line-height: 34px; }
  .overview,
  .matrix,
  .notices,
  .originals,
  .work-desk,
  .outlook { padding: 36px 0; }

  .notices { padding-bottom: 24px; }
  .originals { padding-top: 24px; }

  .overview-card { padding: 20px; }
  .overview-card__photo { height: 180px; }
  .timeline-swiper { height: 320px; }
  .matrix__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "banner"
      "c";
  }
  .notice-grid,
  .work-grid,
  .footer__grid,
  .footer__navs {
    grid-template-columns: 1fr;
  }
  .books { margin-bottom: 24px; grid-template-columns: 1fr; }
  .book { width: 100%; }
  .orig-banner img { height: 100px; }
  .outlook__img { height: 200px; }
  .links__row { gap: 12px 24px; justify-content: flex-start; }
  .footer { padding: 40px 0; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 20px; line-height: 28px; }
  .news-panel { padding: 16px; }
  .col-title { font-size: 20px; }
  .work-item strong { font-size: 14px; }
}
