/* WordPress additions */
.home-history__marquee {
  overflow: hidden;
  width: 100%;
}

.home-history__track {
  display: flex;
  width: max-content;
  animation: nara-marquee var(--nara-marquee-duration, 55s) linear infinite;
}

.home-history__group {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 24px;
  padding-right: 24px;
}

.home-history__list__item {
  flex: 0 0 auto;
  width: clamp(125px, 15vw, 210px);
}

.home-history__list__item img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes nara-marquee {
  to {
    transform: translateX(calc(-1 * var(--nara-marquee-distance, 50%)));
  }
}

@media(prefers-reduced-motion:reduce) {
  .home-history__track {
    animation: none;
  }

  .home-history__marquee {
    overflow-x: auto;
  }
}

.nara-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  min-height: 50vh;
}

.nara-content h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 300;
  margin-bottom: 1em;
}

.nara-content article {
  margin-bottom: 35px;
}

.nara-content a {
  color: inherit;
}

.nara-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
}

.nara-archive-card img {
  width: 100%;
  height: auto;
  display: block;
}

.nara-archive-card h2 {
  font-size: 16px;
  margin-top: 12px;
}

.nara-entry {
  margin: 30px 0;
  line-height: 1.9;
}

.nara-empty {
  padding: 20px;
}

/* Responsive navigation */
.header__toggle {
  display: none;
}

@media(max-width: 1023px) {
  .header {
    position: relative;
    z-index: 100;
    justify-content: space-between;
  }

  .header__toggle {
    display: flex;
    position: relative;
    z-index: 102;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 11px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #4f6a34;
    transition: transform .25s, opacity .25s;
  }

  .header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header .header__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 20px 5% 30px;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, .12);
    z-index: 101;
  }

  .header .header__menu.is-open {
    display: block;
  }

  .header .header__menu ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
  }

  .header .header__menu ul li {
    width: 100%;
    border-bottom: 1px solid #ddd;
  }

  .header .header__menu ul li a {
    display: block;
    padding: 16px 5px;
    text-decoration: none;
    color: inherit;
  }

  .header .header__btn {
    width: 100%;
  }

  .header .header__btn a {
    padding: 17px 20px;
  }
}

@media(min-width:1024px) {
  .header__toggle {
    display: none !important;
  }

  .header .header__menu {
    display: flex !important;
  }
}

/* Announcements listing and detail */
.nara-announcements {
  max-width: 1050px;
  padding-top: 90px;
  padding-bottom: 110px;
}

.nara-page-heading {
  padding-bottom: 34px;
  margin-bottom: 40px;
  border-bottom: 1px solid #dce2d6;
}

.nara-page-heading h1 {
  margin: 8px 0 14px;
  font-weight: 400;
  line-height: 1.4;
}

.nara-page-heading>p:last-child {
  line-height: 1.8;
}

.nara-eyebrow {
  font-size: 13px;
  letter-spacing: .2em;
  font-weight: 700;
  color: #68824f;
}

.nara-news-list {
  border-top: 1px solid #dce2d6;
}

.nara-news-item {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
  padding: 25px 6px;
  margin: 0 !important;
  border-bottom: 1px solid #dce2d6;
}

.nara-news-item h2 {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  margin: 0;
  font-weight: 300;
}

.nara-news-item h2 a {
  text-decoration: none;
  transition: color .2s;
}

.nara-news-item h2 a:hover {
  color: #607947;
}

.nara-news-date {
  font-size: 14px;
  letter-spacing: .05em;
  color: #68824f;
  line-height: 1.8;
}

.nara-news-excerpt {
  grid-column: 2;
  margin-top: 8px;
  line-height: 1.8;
  color: #666;
}

.nara-news-single .nara-page-heading {
  margin-bottom: 45px;
}

.nara-news-single .nara-page-heading h1 {
  max-width: 900px;
}

.nara-news-single .nara-article-body {
  max-width: 860px;
  margin: 0 auto;
}

.nara-news-back {
  margin-top: 75px;
  text-align: center;
}

.nara-news-back a {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid #698351;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.nara-news-back a:hover {
  background: #698351;
  color: #fff;
}

.nara-pagination {
  margin-top: 45px;
  text-align: center;
}

.nara-pagination .page-numbers {
  display: inline-block;
  padding: 8px 13px;
  margin: 0 3px;
  text-decoration: none;
}

.nara-pagination .page-numbers.current {
  background: #698351;
  color: #fff;
}

@media(max-width:640px) {
  .nara-announcements {
    padding: 55px 20px 75px;
  }

  .nara-news-item {
    display: block;
    padding: 20px 0;
  }

  .nara-news-item h2 {
    margin-top: 7px;
  }

  .nara-news-excerpt {
    margin-top: 8px;
  }

  .nara-page-heading {
    margin-bottom: 25px;
  }

  .nara-news-single .nara-page-heading {
    margin-bottom: 30px;
  }
}

/* PDF thumbnail display types. Adjust crop side as needed for source PDFs. */
.nara-archive-card.thumb-single img,
.home-history__list__item.thumb-single img {
  object-fit: contain;
}

.nara-archive-card.thumb-spread-left a,
.nara-archive-card.thumb-spread-right a,
.home-history__list__item.thumb-spread-left a,
.home-history__list__item.thumb-spread-right a {
  position: relative;
}

/* Clip double-page PDF previews to one page using an image wrapper added by JS-free markup. */
.nara-thumb-viewport {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.414;
  width: 100%;
}

.nara-thumb-viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-spread-left .nara-thumb-viewport img,
.thumb-spread-right .nara-thumb-viewport img {
  position: absolute;
  max-width: none;
  width: 200%;
  height: 100%;
  object-fit: fill;
}

/* For left-bound spreads show the right-hand page; right-bound show left. */
.thumb-spread-left .nara-thumb-viewport img {
  left: -100%;
}

.thumb-spread-right .nara-thumb-viewport img {
  left: 0;
}

/* Chamber news: publication-year archive */
.nara-issue-archive {
  max-width: 1180px;
}

.nara-issue-header {
  margin-bottom: 42px;
}

.nara-issue-header h1 {
  margin-bottom: 12px;
}

.nara-issue-header p {
  color: #666;
  line-height: 1.8;
}

.nara-year-nav {
  background: #f6f7f2;
  padding: 22px 26px;
  margin: 0 0 56px;
  border-radius: 4px;
}

.nara-year-nav__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.nara-year-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nara-year-nav__links a {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #d8dfd0;
  border-radius: 3px;
  font-size: 14px;
  text-decoration: none;
}

.nara-year-nav__links a:hover,
.nara-year-nav__links a:focus-visible {
  background: #607947;
  color: #fff;
}

.nara-year-section {
  margin: 0 0 76px;
  scroll-margin-top: 110px;
}

.nara-year-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 2px solid #698351;
}

.nara-year-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.4;
}

.nara-year-heading span {
  color: #777;
  font-size: 13px;
}

.nara-issue-archive .nara-archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 24px;
}

.nara-issue-archive .nara-archive-card {
  min-width: 0;
  margin: 0;
}

.nara-issue-archive .nara-archive-card a {
  display: block;
  text-decoration: none;
}

.nara-issue-archive .nara-archive-card .nara-thumb-viewport {
  background: #f3f3f3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .09);
}

.nara-issue-archive .nara-archive-card h3 {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 500;
  margin: 12px 0 0;
}

.nara-issue-archive .nara-archive-card a:hover h3 {
  color: #607947;
}

@media (max-width: 850px) {
  .nara-issue-archive .nara-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .nara-issue-archive {
    padding-top: 50px;
  }

  .nara-year-nav {
    padding: 18px;
    margin-bottom: 44px;
  }

  .nara-year-section {
    margin-bottom: 55px;
  }

  .nara-issue-archive .nara-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 16px;
  }

  .nara-issue-archive .nara-archive-card h3 {
    font-size: 13px;
  }
}

/* Compact publication-year selector */
.nara-year-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 22px;
  margin-bottom: 42px;
}

.nara-year-nav__label {
  margin: 0;
  white-space: nowrap;
}

.nara-year-nav__select {
  width: min(100%, 320px);
  min-height: 44px;
  padding: 9px 36px 9px 12px;
  border: 1px solid #c5cfbb;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.nara-year-nav__select:focus-visible {
  outline: 2px solid #607947;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .nara-year-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    margin-bottom: 32px;
  }

  .nara-year-nav__select {
    width: 100%;
  }
}

/* Fiscal-year heading: western year and Japanese text can use separate fonts. */
.nara-year-heading h2>span {
  font-family: "Noto Sans JP", sans-serif;
  font-size: .55em;
  color: inherit;
  margin-left: .2em;
}

.nara-year-heading h2>small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: .48em;
  font-weight: 500;
  margin-left: .65em;
  color: #555;
}


@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?&family=Teachers:ital,wght@0,400..800;1,400..800&family=Arimo:ital,wght@0,400..700;1,400..700&family=Noto+Sans+JP:wght@100..900&family=Oswald:wght@200..700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap");

.nara-issue-archive {
  width: 90%;
  max-width: none;
  margin: 0 auto;
}

.nara-year-section {
  display: flex;
  display: -ms-flexbox;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  -webkit-box-pack: space-between;
  -ms-flex-pack: space-between;
  align-items: flex-start;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
}

.nara-year-heading {
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .nara-year-heading {
    width: 24%;
    margin-right: 2%;
  }
}

@media screen and (min-width: 1400px) {
  .nara-year-heading {
    width: 20%;
    margin-right: 2%;
  }
}

.nara-year-heading {
  border-bottom: none;
}

.nara-year-heading h2 {
  font-size: 3.2rem;
}

@media screen and (min-width: 767px) {
  .nara-year-heading h2 {
    font-size: 4.8rem;
  }
}

@media screen and (min-width: 1024px) {
  .nara-year-heading h2 {
    font-size: 6.4rem;
  }
}

@media screen and (min-width: 1400px) {
  .nara-year-heading h2 {
    font-size: 7.2rem;
  }
}

.nara-year-heading h2 {
  font-weight: 500;
  font-family: "Teachers", sans-serif;
}

.nara-year-heading h2 span {
  font-size: 1.6rem;
}

@media screen and (min-width: 1024px) {
  .nara-year-heading h2 span {
    font-size: 2.8rem;
  }
}

.nara-year-heading h2 span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  color: #282828;
}

.nara-year-heading h2 small {
  font-size: 1.6rem;
}

@media screen and (min-width: 1024px) {
  .nara-year-heading h2 small {
    font-size: 2.8rem;
    display: block;
  }
}

.nara-year-heading h2 small {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #282828;
}

.nara-year-heading h2+span {
  font-size: 2.8rem;
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  font-weight: 400;
  color: #282828;
  display: none;
}

.nara-year-section .nara-archive-grid {
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media screen and (min-width: 767px) {
  .nara-year-section .nara-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1024px) {
  .nara-year-section .nara-archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (min-width: 1400px) {
  .nara-year-section .nara-archive-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.nara-year-section .nara-archive-grid {
  gap: 36px 36px;
}

/*# sourceMappingURL=archives.css.map */
