/* =========================================================
   JPress Renewal Mock
   Common Design System for:
   - jpress.okinawatimes.co.jp
   - sumai.okinawatimes.co.jp
   - fun.okinawatimes.co.jp
   ========================================================= */

:root {
  --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  --color-text: #222;
  --color-muted: #717171;
  --color-border: #e6e6e6;
  --color-bg: #f7f7f5;
  --color-white: #fff;

  --color-jpress: #1f3864;
  --color-sumai: #1f3864;
  --color-fun: #b85042;

  --color-jpress-soft: #e6eef8;
  --color-sumai-soft: #e6eef8;
  --color-fun-soft: #faece7;

  --container: 1200px;
  --wide: 1536px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 8px 24px rgba(0, 0, 0, .06);
  --shadow-hover: 0 14px 34px rgba(0, 0, 0, .10);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

button {
  font: inherit;
}

.site {
  min-height: 100vh;
  background: var(--color-bg);
}

.container {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
}

.wide-container {
  width: min(100% - 48px, var(--wide));
  margin: 0 auto;
}

/* Header
--------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
}

.logo__img {
  height: 44px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 1;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  transition: opacity .2s;
}

.nav a:hover {
  opacity: .6;
}

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

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-link img {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: #333;
  border-radius: 2px;
}

.menu-button {
  gap: 4px;
  flex-direction: column;
  position: relative;
  z-index: 120;
}

.menu-button span {
  transition: opacity .2s, transform .2s;
}

.menu-button::before,
.menu-button::after {
  transition: transform .25s;
}

.site.nav-open .menu-button span {
  opacity: 0;
  transform: scaleX(0);
}

.site.nav-open .menu-button::before {
  transform: translateY(6px) rotate(45deg);
}

.site.nav-open .menu-button::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ナビゲーション ドロップダウン（PC）
--------------------------------------------------------- */
.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  justify-content: center;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s;
}

a.nav__link:hover { opacity: .6; }

.nav__chevron {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s;
  margin-left: 2px;
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: 8px 0;
  list-style: none;
  z-index: 200;
}

.nav__item--has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 22px;
  display: none;
}

.nav__item--has-children:hover::after,
.nav__item--has-children:hover .nav__dropdown {
  display: block;
}

.nav__dropdown li { display: block; }

.nav__dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.nav__dropdown a:hover {
  background: var(--theme-soft);
  color: var(--theme);
  opacity: 1;
}

.header__actions {
  flex-shrink: 0;
}

/* Theme colors
--------------------------------------------------------- */
.theme-jpress {
  --theme: var(--color-jpress);
  --theme-soft: var(--color-jpress-soft);
}

.theme-sumai {
  --theme: var(--color-sumai);
  --theme-soft: var(--color-sumai-soft);
}

.theme-fun {
  --theme: var(--color-fun);
  --theme-soft: var(--color-fun-soft);
}

.theme-color {
  color: var(--theme);
}

/* Hero
--------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.hero--visual {
  min-height: min(82vh, 720px);
  display: flex;
  align-items: flex-end;
}

.hero--message {
  background:
    radial-gradient(circle at 10% 10%, rgba(31,56,100,.13), transparent 32%),
    linear-gradient(135deg, #fff 0%, #f5f7fb 100%);
  padding: 96px 0;
  text-align: center;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(114,145,201,.03) 0%, rgba(114,145,201,.22) 45%, rgba(114,145,201,.42) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 12s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 0 clamp(48px, 8vh, 96px);
  max-width: 920px;
}

.hero__content h1 {
  font-size: 66px;
  font-weight: 900;
  line-height: 1.22;
  margin: 22px 0 18px;
  letter-spacing: .01em;
  text-wrap: balance;
}

.hero__message h1 {
  font-size: 32px;
  line-height: 1.45;
  margin: 16px 0 14px;
  letter-spacing: .02em;
}

.hero__content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .9);
  max-width: 640px;
}

.hero__message p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}

.hero__message {
  max-width: 760px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--theme);
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--theme);
}

.hero__content .eyebrow {
  color: #fff;
}

.hero__content .eyebrow::before {
  background: #fff;
}

.hero__scroll {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .85);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), rgba(255,255,255,0));
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--theme-soft);
  color: var(--theme);
  font-size: 12px;
  font-weight: 700;
}

.badge--white {
  background: rgba(255,255,255,.92);
  color: var(--theme);
}

/* Sections
--------------------------------------------------------- */
.section {
  padding: 72px 0;
}

.section--white {
  background: #fff;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: .03em;
}

.section__lead {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 16px;
}

.more-link {
  color: var(--theme);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

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

.card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d8d8d8, #bdbdbd);
  position: relative;
  overflow: hidden;
}

.card__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-image);
  background-size: cover;
  background-position: center;
  transition: transform .35s ease;
}

.card:hover .card__image::before {
  transform: scale(1.05);
}

.card__body {
  padding: 18px 18px 20px;
}

.card__title {
  min-height: 3.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 10px 0 10px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.card__date {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
}

/* Feature / CTA Cards
--------------------------------------------------------- */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.cta-card:hover {
  border-color: var(--theme);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.cta-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--theme-soft);
  color: var(--theme);
  font-weight: 800;
  flex: 0 0 auto;
}

.cta-card__body h3 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.4;
}

.cta-card__body p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.media-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.media-card__image {
  min-height: 220px;
  background: var(--card-image);
  background-size: cover;
  background-position: center;
}

.media-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-card__body h3 {
  margin: 8px 0 12px;
  font-size: 24px;
  line-height: 1.45;
}

.media-card__body p {
  margin: 0 0 18px;
  color: var(--color-muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--theme);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  width: fit-content;
}

.button--ghost {
  background: #fff;
  color: var(--theme);
  border: 1px solid var(--theme);
}

/* Search box
--------------------------------------------------------- */
.search-panel {
  margin-top: -46px;
  position: relative;
  z-index: 10;
}

.search-panel__inner {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.field select,
.field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  font-size: 16px;
}

/* Banner / Ads
--------------------------------------------------------- */
.archive-banner {
  border-radius: var(--radius-md);
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(31,56,100,.92), rgba(31,56,100,.72)),
    linear-gradient(135deg, #c8ced8, #edf2f8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.archive-banner h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.4;
}

.archive-banner p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.76);
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ad {
  min-height: 96px;
  border: 1px dashed #bbb;
  border-radius: var(--radius-sm);
  background: #eee;
  display: grid;
  place-items: center;
  color: #777;
  font-size: 12px;
}

.ad-bnr {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ad-bnr li {
  margin: 0;
}

.ad-bnr a {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.ad-bnr a:hover {
  border-color: var(--theme);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.ad-bnr img {
  width: 100%;
  height: auto;
}

/* Bukken (物件情報) Banner
--------------------------------------------------------- */
.bukken-banner {
  text-align: center;
}

.bukken-banner a {
  display: inline-block;
  transition: opacity .2s;
}

.bukken-banner a:hover {
  opacity: .85;
}

.bukken-banner img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Property Banner
--------------------------------------------------------- */
.property-banner {
  background: linear-gradient(135deg, #f0f4fa 0%, #e8eef8 100%);
  border: 1px solid rgba(31,56,100,.12);
  border-radius: var(--radius-md);
  padding: 44px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.property-banner__title {
  margin: 14px 0 10px;
  font-size: 28px;
  line-height: 1.35;
  color: var(--theme);
}

.property-banner__text {
  margin: 0 0 24px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.property-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.property-banner__icon {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .18;
}

.property-banner__icon svg {
  width: 100%;
  height: 100%;
  fill: var(--theme);
}

/* Topics / Footer
--------------------------------------------------------- */
.topic-list {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.topic-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
}

.topic-row:last-child {
  border-bottom: 0;
}

.topic-date {
  color: var(--color-muted);
  font-size: 14px;
}

.footer {
  background: #111;
  color: #aaa;
  padding: 48px 0 32px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-bottom: 24px;
}

.footer__nav a {
  font-size: 14px;
}

.footer__copy {
  text-align: center;
  font-size: 12px;
  color: #777;
  margin: 0;
}

.footer__copy + .footer__copy {
  margin-top: 8px;
}

.footer__copy--small {
  font-size: 11px;
  color: #555;
  line-height: 1.8;
}

/* Responsive
--------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav,
  .header__actions {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  /* SP ハンバーガー全画面オーバーレイ */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  .menu-button {
    position: relative;
    z-index: 120;
  }

  .site.nav-open .nav {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    overflow-y: auto;
  }

  .site .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 20px;
    width: 100%;
  }

  .site .nav__item {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .site .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
  }

  .site .nav__item--has-children.is-open > button > .nav__chevron {
    transform: rotate(-135deg) translateY(2px);
  }

  .site .nav__dropdown {
    display: block !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site .nav__item--has-children.is-open > .nav__dropdown {
    max-height: 400px;
    padding: 4px 0 12px !important;
  }

  .site .nav__dropdown a {
    padding: 11px 0 11px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    white-space: normal;
  }

  .site .nav .header__actions {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: auto;
    padding: 28px 28px 0;
    justify-content: flex-start;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-panel__inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .media-card__image {
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .container,
  .wide-container {
    width: min(100% - 32px, var(--container));
  }

  .header__inner {
    height: 68px;
  }

  .site.nav-open .nav {
    top: 68px;
  }

  .logo {
    min-width: auto;
  }

  .logo__img {
    height: 34px;
  }

  .hero--visual {
    min-height: 70vh;
  }

  .hero--message {
    padding: 72px 0;
  }

  .hero__content {
    padding-bottom: 40px;
  }

  .hero__content h1 {
    font-size: 28px;
  }

  .hero__message h1,
  .section__title,
  .archive-banner h2 {
    font-size: 28px;
  }

  .section {
    padding: 56px 0;
  }

  .section__header {
    display: block;
  }

  .section__lead {
    margin-bottom: 14px;
  }

  .card-grid,
  .cta-grid,
  .media-grid,
  .ad-grid {
    grid-template-columns: 1fr;
  }

  .ad-bnr {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-panel {
    margin-top: -28px;
  }

  .search-panel__inner {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .archive-banner {
    display: block;
    padding: 28px;
  }

  .archive-banner .button {
    margin-top: 20px;
  }

  .property-banner {
    padding: 28px;
    gap: 0;
  }

  .property-banner__icon {
    display: none;
  }

  .topic-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* =========================================================
   News (お知らせ) — list & detail
   ========================================================= */

/* Page header & breadcrumb */
.page-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0 36px;
}

.page-header__title {
  margin: 10px 0 0;
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: .03em;
}

.page-header__sub {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--theme);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--color-muted);
  padding: 18px 0;
}

.breadcrumb a {
  color: var(--color-muted);
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--theme);
}

.breadcrumb__sep {
  color: #c5c5c5;
}

/* News list */
.news-list {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.news-row {
  display: grid;
  grid-template-columns: 110px 110px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--color-border);
  transition: background .2s;
}

.news-row:last-child {
  border-bottom: 0;
}

.news-row:hover {
  background: #fafaf8;
}

.news-row__date {
  color: var(--color-muted);
  font-size: 13px;
}

.news-row .badge {
  justify-self: start;
}

.news-row__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.news-row:hover .news-row__title {
  color: var(--theme);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  transition: border-color .2s, color .2s;
}

.pagination a:hover {
  border-color: var(--theme);
  color: var(--theme);
}

.pagination .is-current {
  background: var(--theme);
  border-color: var(--theme);
  color: #fff;
}

/* Article detail — 2 column */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding: 8px 0 72px;
}

.article-layout__main {
  min-width: 0;
}

.article {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 48px 56px 56px;
}

.article__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.article__date {
  color: var(--color-muted);
  font-size: 13px;
}

.article__title {
  margin: 18px 0 0;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.article__body {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 16px;
  line-height: 1.95;
}

.article__body p {
  margin: 0 0 1.6em;
}

.article__body h2 {
  margin: 2.2em 0 .8em;
  padding: 10px 16px;
  font-size: 22px;
  line-height: 1.45;
  background: var(--theme-soft);
  border-left: 4px solid var(--theme);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article__body h3 {
  margin: 2em 0 .7em;
  padding-bottom: 8px;
  font-size: 19px;
  line-height: 1.5;
  border-bottom: 2px solid var(--theme);
}

.article__body h4 {
  margin: 1.8em 0 .6em;
  padding-left: 12px;
  font-size: 17px;
  border-left: 3px solid var(--theme);
}

.article__body h5 {
  margin: 1.6em 0 .5em;
  font-size: 15px;
  color: var(--theme);
}

.article__body h6 {
  margin: 1.6em 0 .5em;
  font-size: 15px;
  color: inherit;
  font-weight: 400;
}

.article__body ul {
  margin: 0 0 1.6em;
  padding-left: 1.4em;
}

.article__body li {
  margin-bottom: .4em;
}

.article__body a {
  color: var(--theme);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article__footer {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
}

/* Sidebar */
.sidebar {
  display: grid;
  gap: 24px;
}

.widget {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.widget__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.widget__list li {
  border-bottom: 1px solid var(--color-border);
}

.widget__list li:last-child {
  border-bottom: 0;
}

.widget__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 2px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  transition: color .2s, padding-left .25s;
}

.widget__list a:hover {
  color: var(--theme);
  padding-left: 6px;
}

.widget__count {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}

.widget__list--recent a {
  display: block;
}

.widget__recent-date {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--color-muted);
  font-weight: 700;
  margin-top: 5px;
}

/* Responsive: news & article */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 32px 0 28px;
  }

  .page-header__title {
    font-size: 28px;
  }

  .news-row {
    grid-template-columns: auto auto;
    gap: 8px 14px;
    padding: 16px 18px;
  }

  .news-row__title {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .article {
    padding: 28px 22px 36px;
  }

  .article__title {
    font-size: 24px;
  }

  .article__body {
    margin-top: 24px;
    padding-top: 24px;
  }

  .article__body h2 {
    font-size: 19px;
  }

  .article__body h3 {
    font-size: 17px;
  }
}

/* アーカイブバナー（画像のみ）
--------------------------------------------------------- */
.archive-banner-link {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  line-height: 0;
}

.archive-banner-link img {
  width: 100%;
  height: auto;
  display: block;
}

/* エディター画像アライメント */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}
.alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}
.alignnone {
  display: block;
}

/* Archive feature (#13) */
.archive-feature {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.archive-feature__image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}
.archive-feature__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #1a2040;
  font-weight: 700;
  margin-bottom: 16px;
}
.archive-feature__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #1a2040;
  flex-shrink: 0;
}
.archive-feature__sub {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}
.archive-feature__title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #111;
}
.archive-feature__desc {
  font-size: 15px;
  color: #8d8b86;
  line-height: 1.8;
  margin-bottom: 28px;
}
.archive-feature__btn {
  display: inline-block;
  padding: 12px 28px;
  background: #1a2040;
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  text-decoration: none;
}
.archive-feature__btn:hover { opacity: .85; }
@media (max-width: 768px) {
  .archive-feature { grid-template-columns: 1fr; gap: 24px; }
  .archive-feature__title { font-size: 40px; }
}

/* Listings section (#14) */
.section--listings {
  background: #f5f3ef;
}
.listings-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 16px 0;
}
.listings-feature__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #1a2040;
  font-weight: 700;
  margin-bottom: 12px;
}
.listings-feature__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #1a2040;
  flex-shrink: 0;
}
.listings-feature__title {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 16px;
  color: #111;
}
.listings-feature__desc {
  font-size: 14px;
  color: #8d8b86;
  line-height: 1.8;
}
.listings-feature__btn {
  display: inline-block;
  white-space: nowrap;
  padding: 14px 28px;
  background: #1a2040;
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.listings-feature__btn:hover { opacity: .85; }
@media (max-width: 768px) {
  .listings-feature { flex-direction: column; align-items: flex-start; }
  .listings-feature__title { font-size: 44px; }
}

/* Hero Banner */
.hero-banner { background: #fff; padding: 20px 0; }
.hero-banner__inner { width: min(100% - 48px, 960px); margin: 0 auto; }
.hero-banner__inner h2 { margin-bottom: 12px; }
.hero-banner img { width: 100%; display: block; border-radius: 8px; }

.search-form { margin-bottom: 32px; }
.search-form__inner { display: flex; gap: 8px; max-width: 480px; }
.search-form__input { flex: 1; height: 44px; padding: 0 16px; border: 1.5px solid var(--color-border); border-radius: 4px; font-size: 15px; font-family: inherit; background: #fff; }
.search-form__input:focus { outline: none; border-color: var(--theme); }
.search-form__btn { height: 44px; padding: 0 22px; background: var(--theme); color: #fff; border: none; border-radius: 4px; font-size: 14px; font-family: inherit; cursor: pointer; white-space: nowrap; }
.search-form__btn:hover { opacity: .85; }
.search-noresult { padding: 60px 0; text-align: center; color: #666; }

