/*
Theme Name: uchida-ikuei Theme
Theme URI: https://tsumsk@bitbucket.org/bzcjp/uchida-ikuei.git
Author: Team
Description: WordPress-rendered news theme for uchida-ikuei
Version: 0.3.2
Text Domain: uchida-ikuei
*/

:root {
  --bg: #f5f7fb;
  --surface: #eef1f5;
  --surface-strong: #ffffff;
  --header-surface: rgba(245, 247, 251, 0.92);
  --header-surface-open: rgba(245, 247, 251, 0.98);
  --ink: #0f1b39;
  --text: #3e4d66;
  --line: #d4dbe8;
  --primary: #1f82e8;
  --navy: #08173d;
  --green: #5f7f68;
  --page-gutter: clamp(20px, 4vw, 56px);
  --font-sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  color: var(--ink);
  font-family: var(--font-sans), sans-serif;
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.uchida-wp-body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans), sans-serif;
}

body.has-mobile-menu-open {
  overflow: hidden;
}

.uchida-wp-body a {
  color: inherit;
  text-decoration: none;
}

.uchida-wp-body img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(14, 28, 61, 0.08);
  background: var(--header-surface);
  backdrop-filter: blur(10px);
}

.site-header--menu-open {
  border-bottom-color: rgba(14, 28, 61, 0.12);
  background: var(--header-surface-open);
}

.site-header__inner {
  width: min(1120px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-header__brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111e3e;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-header__brand-link {
  display: block;
  overflow: hidden;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  width: 45px;
  height: 30px;
  flex: 0 0 45px;
}

.brand-mark__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-bottom: 2px;
  white-space: nowrap;
}

.site-header__nav-item {
  display: inline-flex;
}

.site-header__nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #111e3e;
  font-size: 0.92rem;
  font-weight: 400;
  opacity: 0.9;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.site-header__nav-link--home {
  font-size: 0.96rem;
}

.site-header__nav-button {
  line-height: inherit;
}

.site-header__nav-link:hover,
.site-header__nav-link:focus-visible,
.site-header__nav-item--has-children:hover > .site-header__nav-link,
.site-header__nav-item--has-children:focus-within > .site-header__nav-link {
  border-color: rgba(169, 194, 224, 0.22);
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.site-header__nav-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.72;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.site-header__nav-item--has-children:hover .site-header__nav-caret,
.site-header__nav-item--has-children:focus-within .site-header__nav-caret {
  opacity: 0.92;
  transform: translateY(1px) rotate(-135deg);
}

.site-header__submenu-shell {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  overflow: hidden;
  height: 0;
  border-bottom: 1px solid rgba(14, 28, 61, 0.08);
  background: var(--header-surface);
  opacity: 0;
  pointer-events: none;
  transition:
    height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease;
}

.site-header__nav-item--has-children:hover .site-header__submenu-shell,
.site-header__nav-item--has-children:focus-within .site-header__submenu-shell {
  height: auto;
  min-height: 132px;
  opacity: 1;
  pointer-events: auto;
}

.site-header__submenu {
  width: min(1120px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  overflow: hidden;
}

.site-header__submenu-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  padding: 18px 0 28px;
}

.site-header__submenu-link {
  display: grid;
  min-height: 82px;
  align-content: start;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid rgba(157, 180, 211, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 30px rgba(16, 40, 84, 0.08);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.site-header__submenu-link:hover,
.site-header__submenu-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(31, 130, 232, 0.34);
  box-shadow: 0 20px 34px rgba(31, 130, 232, 0.12);
}

.site-header__submenu-label {
  color: #13244a;
  font-size: 0.96rem;
  font-weight: 600;
}

.site-header__submenu-description {
  color: #617390;
  font-size: 0.82rem;
  line-height: 1.55;
}

.site-header__menu-button {
  display: none;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(14, 28, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(8, 23, 61, 0.08);
  color: #102249;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.site-header__menu-button.is-open {
  border-color: rgba(88, 143, 214, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 242, 253, 0.98) 100%);
  box-shadow: 0 14px 28px rgba(31, 130, 232, 0.14);
}

.site-header__menu-button-icon {
  position: relative;
  width: 18px;
  height: 14px;
  flex: 0 0 18px;
}

.site-header__menu-button-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.site-header__menu-button-icon span:nth-child(1) {
  top: 0;
}

.site-header__menu-button-icon span:nth-child(2) {
  top: 6px;
}

.site-header__menu-button-icon span:nth-child(3) {
  top: 12px;
}

.site-header__menu-button.is-open .site-header__menu-button-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header__menu-button.is-open .site-header__menu-button-icon span:nth-child(2) {
  opacity: 0;
}

.site-header__menu-button.is-open .site-header__menu-button-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-header__mobile-menu-shell {
  position: fixed;
  z-index: 90;
  top: 70px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  background:
    radial-gradient(circle at top right, rgba(196, 223, 248, 0.46), rgba(196, 223, 248, 0) 34%),
    radial-gradient(circle at top left, rgba(233, 242, 251, 0.86), rgba(233, 242, 251, 0) 38%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(238, 245, 251, 0.98) 48%, rgba(245, 247, 251, 0.99) 100%);
  box-shadow: 0 24px 56px rgba(31, 74, 129, 0.12);
  backdrop-filter: blur(10px);
}

.site-header__mobile-menu-inner {
  width: min(1120px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 24px 0 calc(32px + env(safe-area-inset-bottom, 0px));
}

.site-header__mobile-lead,
.site-header__mobile-panel {
  border: 1px solid rgba(167, 195, 227, 0.46);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(33, 86, 148, 0.1);
}

.site-header__mobile-lead {
  display: grid;
  gap: 16px;
  padding: 20px 24px;
}

.site-header__mobile-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.site-header__mobile-action,
.site-header__mobile-item {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(155, 189, 226, 0.4);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.site-header__mobile-action-title,
.site-header__mobile-item-label {
  color: #173358;
  font-size: 1rem;
  font-weight: 700;
}

.site-header__mobile-action-text,
.site-header__mobile-item-text,
.site-header__mobile-panel-summary {
  color: rgba(79, 101, 136, 0.9);
  font-size: 0.84rem;
  line-height: 1.6;
}

.site-header__mobile-topics {
  display: grid;
  gap: 10px;
}

.site-header__mobile-topics-label {
  margin: 0;
  color: rgba(84, 124, 176, 0.84);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.site-header__mobile-topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-header__mobile-topic {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(159, 190, 224, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #17365f;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-header__mobile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.site-header__mobile-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 20px;
}

.site-header__mobile-panel-title {
  margin: 0;
  color: #102249;
  font-size: 1.08rem;
}

.site-header__mobile-list {
  display: grid;
  gap: 10px;
}

.site-header__nav-link:focus-visible,
.site-header__menu-button:focus-visible,
.site-header__submenu-link:focus-visible,
.site-header__mobile-action:focus-visible,
.site-header__mobile-topic:focus-visible,
.site-header__mobile-item:focus-visible,
.news-post__back-link:focus-visible,
.news-post-related-link:focus-visible,
.news-post__footer-link:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.news-post-page {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 42%, #eef3f8 100%),
    var(--surface-strong);
}

.news-post-hero {
  position: relative;
  min-height: clamp(132px, 18vw, 210px);
  overflow: hidden;
  isolation: isolate;
  background: #f6f1ee;
}

.news-post-hero::before,
.news-post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.news-post-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.74) 34%, rgba(255, 255, 255, 0.16) 72%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0 46%, rgba(255, 255, 255, 0.78) 100%);
}

.news-post-hero::after {
  background: linear-gradient(180deg, rgba(11, 28, 62, 0.08), rgba(11, 28, 62, 0));
  opacity: 0.54;
}

.news-post-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.news-post-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.news-post-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - (var(--page-gutter) * 2)));
  min-height: clamp(132px, 18vw, 210px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

.news-post-hero__title {
  width: fit-content;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif), serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  text-shadow: 0 12px 24px rgba(255, 255, 255, 0.88);
}

.news-post {
  width: min(1120px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) 0 clamp(70px, 10vw, 112px);
}

.news-post__header {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  padding-bottom: clamp(34px, 5vw, 56px);
  border-bottom: 1px solid rgba(151, 174, 207, 0.62);
}

.news-post__header > *,
.news-post__layout > * {
  min-width: 0;
}

.news-post__header-main {
  display: grid;
  align-items: center;
  gap: clamp(24px, 4vw, 42px);
}

.news-post__header-copy {
  display: grid;
  gap: 18px;
}

.news-post__back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.news-post__back-link::before {
  content: "←";
  font-size: 0.98rem;
}

.news-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.news-post__date {
  color: #5d6f8b;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.news-post__badge {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(31, 130, 232, 0.1);
  color: #1f6dbd;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.news-post__title {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif), serif;
  font-size: clamp(2rem, 6.2vw, 3.25rem);
  font-weight: 600;
  line-height: 1.18;
  text-wrap: balance;
}

.news-post__lead {
  max-width: 46em;
  margin: 0;
  color: #526783;
  font-size: 1.08rem;
  line-height: 1.85;
}

.news-post__eyecatch {
  position: relative;
  justify-self: center;
  align-self: center;
  width: min(100%, clamp(300px, 72vw, 460px));
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(159, 179, 204, 0.46);
  border-radius: 8px;
  background: #eef3f5;
  box-shadow: 0 24px 52px rgba(32, 56, 94, 0.1);
}

.news-post__eyecatch-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

.news-post__eyecatch-caption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #60718b;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.news-post__layout {
  margin-top: clamp(36px, 6vw, 58px);
  display: grid;
  gap: clamp(38px, 6vw, 64px);
}

.news-post__main {
  display: grid;
  gap: clamp(34px, 5vw, 46px);
}

.news-post-section-head {
  display: grid;
  gap: 8px;
}

.news-post-section-head__eyebrow {
  margin: 0;
  color: #2f77bb;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.news-post-section-head__title,
.news-post-content-section__title,
.news-post-notice__title,
.news-post-sidebar__title,
.uchida-wp-news-card h2 {
  margin: 0;
  color: #14264b;
  font-family: var(--font-serif), serif;
  font-weight: 600;
}

.news-post-section-head__title {
  font-size: clamp(1.48rem, 4vw, 2rem);
}

.news-post-digest {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(151, 174, 207, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 251, 0.95)),
    #ffffff;
  box-shadow: 0 18px 42px rgba(26, 53, 96, 0.06);
}

.news-post-digest__list {
  counter-reset: news-post-point;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-post-digest__item {
  counter-increment: news-post-point;
  position: relative;
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 18px 0 18px 46px;
  border-top: 1px solid rgba(151, 174, 207, 0.45);
}

.news-post-digest__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.news-post-digest__item::before {
  content: counter(news-post-point, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 0;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(95, 127, 104, 0.34);
  border-radius: 50%;
  background: rgba(95, 127, 104, 0.08);
  color: #496d54;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.news-post-digest__item:first-child::before {
  top: 0;
}

.news-post-digest__title {
  color: #17284b;
  font-size: 1.04rem;
  font-weight: 800;
}

.news-post-digest__text,
.uchida-news-wp-content,
.uchida-news-wp-content p,
.uchida-news-wp-content li {
  color: #455a78;
  font-size: 1.04rem;
  line-height: 2;
}

.news-post-content {
  display: grid;
  gap: 34px;
}

.news-post-content-section {
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(151, 174, 207, 0.48);
}

.news-post-content-section--body .news-post-content-section__body {
  margin-top: 0;
}

.news-post-content-section__title {
  position: relative;
  padding-left: 16px;
  font-size: clamp(1.38rem, 3.6vw, 1.86rem);
  line-height: 1.36;
}

.news-post-content-section__title::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 4px;
  height: 1.35em;
  border-radius: 999px;
  background: var(--green);
}

.news-post-content-section__body {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.news-post-content-section__body p {
  margin: 0;
  color: #455a78;
  font-size: 1.04rem;
  line-height: 2;
}

.news-post-content-section__list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.news-post-content-section__list li {
  position: relative;
  min-height: 26px;
  padding-left: 28px;
  color: #314863;
  font-size: 0.98rem;
  line-height: 1.7;
}

.news-post-content-section__list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 8px 0 0 rgba(31, 130, 232, 0.34);
}

.uchida-news-wp-content > * {
  margin-top: 0;
  margin-bottom: 0;
}

.uchida-news-wp-content h2,
.uchida-news-wp-content h3 {
  position: relative;
  margin-top: 1.4em;
  padding-left: 16px;
  color: #14264b;
  font-family: var(--font-serif), serif;
  font-weight: 600;
  line-height: 1.36;
}

.uchida-news-wp-content h2::before,
.uchida-news-wp-content h3::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 4px;
  height: 1.35em;
  border-radius: 999px;
  background: var(--green);
}

.uchida-news-wp-content ul,
.uchida-news-wp-content ol {
  display: grid;
  gap: 10px;
  padding-left: 1.25em;
}

.news-post-notice {
  padding: clamp(22px, 4vw, 30px);
  border: 1px solid rgba(95, 127, 104, 0.28);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.news-post-notice__title {
  font-size: clamp(1.24rem, 3vw, 1.52rem);
}

.news-post-notice__list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.15em;
  color: #415773;
  font-size: 0.98rem;
  line-height: 1.75;
}

.news-post-sidebar {
  min-width: 0;
}

.news-post-sidebar__inner {
  position: relative;
  display: grid;
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(151, 174, 207, 0.62);
}

.news-post-sidebar__section {
  display: grid;
  gap: 16px;
}

.news-post-sidebar__title {
  font-size: 1.22rem;
}

.news-post-summary {
  display: grid;
  gap: 0;
  margin: 0;
}

.news-post-summary__row {
  display: grid;
  gap: 7px;
  padding: 15px 0;
  border-top: 1px solid rgba(151, 174, 207, 0.42);
}

.news-post-summary__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.news-post-summary__label {
  color: #60718b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.news-post-summary__value {
  display: grid;
  gap: 5px;
  margin: 0;
  color: #17284b;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.65;
}

.news-post-summary__value small {
  color: #667994;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.6;
}

.news-post-related-links {
  display: grid;
  gap: 10px;
}

.news-post-related-link {
  display: grid;
  min-height: 88px;
  gap: 7px;
  padding: 16px 17px;
  border: 1px solid rgba(151, 174, 207, 0.58);
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.news-post-related-link:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 130, 232, 0.42);
  box-shadow: 0 14px 28px rgba(28, 63, 109, 0.08);
}

.news-post-related-link--primary {
  background: #102249;
  color: #ffffff;
}

.news-post-related-link--secondary {
  background: rgba(255, 255, 255, 0.82);
  color: #14264b;
}

.news-post-related-link__label {
  font-weight: 800;
  line-height: 1.4;
}

.news-post-related-link__description {
  color: currentColor;
  font-size: 0.86rem;
  line-height: 1.65;
  opacity: 0.72;
}

.news-post__lead,
.news-post-digest__title,
.news-post-digest__text,
.news-post-content-section__body p,
.news-post-content-section__list li,
.news-post-notice__list li,
.uchida-news-wp-content,
.news-post-summary__value,
.news-post-related-link__label,
.news-post-related-link__description {
  min-width: 0;
  overflow-wrap: anywhere;
}

.news-post__footer {
  margin-top: clamp(42px, 7vw, 66px);
  padding-top: 30px;
  border-top: 1px solid rgba(151, 174, 207, 0.62);
}

.news-post__footer-link,
.button-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(151, 174, 207, 0.7);
  border-radius: 8px;
  color: #17284b;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.news-post__footer-link:hover,
.button-link:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 130, 232, 0.44);
  background: rgba(31, 130, 232, 0.06);
}

.site-footer {
  background: var(--navy);
  color: #9eb0d3;
}

.site-footer__inner {
  width: min(1120px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: 58px 0 26px;
}

.site-footer__columns {
  display: grid;
  gap: 36px;
}

.site-footer__block {
  min-width: 0;
}

.site-footer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f3f7ff;
  font-family: var(--font-serif), serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-footer__meta {
  margin: 0;
  color: #8ea4cb;
  font-size: 1.07rem;
  line-height: 1.9;
}

.site-footer__meta + .site-footer__meta {
  margin-top: 2px;
}

.site-footer__links {
  display: grid;
  gap: 8px;
}

.site-footer__link {
  color: #8ea4cb;
  font-size: 1.06rem;
  line-height: 1.8;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(140, 163, 207, 0.19);
}

.site-footer__copy {
  color: #7187af;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.site-footer__policy {
  color: #8ea4cb;
  font-size: 1.02rem;
}

.uchida-wp-archive {
  width: min(1120px, calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 74px) 0 clamp(70px, 10vw, 112px);
}

.uchida-wp-archive__inner {
  display: grid;
  gap: 18px;
}

.uchida-wp-eyebrow {
  margin: 0;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.uchida-wp-archive p,
.uchida-wp-news-card p,
.placeholder-page__description {
  margin: 0;
  color: #526783;
  line-height: 1.85;
}

.uchida-wp-news-list {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid rgba(151, 174, 207, 0.62);
}

.uchida-wp-news-card {
  border-bottom: 1px solid rgba(151, 174, 207, 0.62);
}

.uchida-wp-news-card a {
  display: grid;
  gap: 10px;
  padding: 22px 0;
}

.uchida-wp-news-card time {
  color: #5d6f8b;
  font-size: 0.88rem;
  font-weight: 800;
}

.uchida-wp-news-card h2 {
  font-size: clamp(1.18rem, 4vw, 1.42rem);
  line-height: 1.42;
}

.placeholder-page {
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 72px 20px;
  text-align: center;
}

.placeholder-page__eyebrow {
  margin: 0;
  color: #2c63a9;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.placeholder-page__title {
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
}

@media (max-width: 640px) {
  .site-header__menu-button {
    min-width: 46px;
    justify-content: center;
    padding: 0 14px;
  }

  .site-header__menu-button-text {
    display: none;
  }

  .site-header__mobile-menu-inner {
    gap: 14px;
    padding-top: 18px;
  }

  .site-header__mobile-lead,
  .site-header__mobile-panel {
    border-radius: 22px;
  }

  .site-footer__title {
    font-size: 1.58rem;
  }
}

@media (max-width: 767px) {
  .news-post-hero,
  .news-post-hero__inner {
    min-height: 128px;
  }

  .news-post__eyecatch-caption {
    position: static;
    max-width: none;
    border-top: 1px solid rgba(151, 174, 207, 0.36);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 1119px) {
  .site-header__inner {
    flex-wrap: nowrap;
    padding: 12px 0;
  }

  .site-header__brand {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.96rem;
  }

  .site-header__menu-button {
    display: inline-flex;
    flex-shrink: 0;
  }

  .site-header__nav {
    display: none;
  }
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 18px 0;
  }
}

@media (min-width: 900px) {
  .site-footer__columns {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 0.6fr);
    gap: 40px;
  }
}

@media (min-width: 960px) {
  .news-post__header-main {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  }

  .news-post__eyecatch {
    justify-self: end;
    align-self: end;
    width: min(100%, clamp(280px, 31vw, 420px));
  }

  .news-post__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    align-items: start;
  }

  .news-post-sidebar__inner {
    position: sticky;
    top: 112px;
    padding-top: 0;
    padding-left: 28px;
    border-top: 0;
  }

  .news-post-sidebar__inner::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 0;
    display: block;
    width: 1px;
    background: linear-gradient(
      180deg,
      rgba(151, 174, 207, 0),
      rgba(151, 174, 207, 0.58) 18%,
      rgba(151, 174, 207, 0.58) 82%,
      rgba(151, 174, 207, 0)
    );
  }
}

@media (min-width: 1120px) {
  .site-header__inner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .site-header__menu-button,
  .site-header__mobile-menu-shell {
    display: none;
  }

  .site-header__nav {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 0;
  }
}

@media print {
  body.has-mobile-menu-open {
    overflow: visible !important;
  }

  .site-header__menu-button,
  .site-header__mobile-menu-shell {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header__nav-link,
  .site-header__nav-caret,
  .site-header__submenu-shell,
  .site-header__submenu-link,
  .news-post-related-link,
  .news-post__footer-link {
    transition: none;
  }
}
