@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

a {
  text-decoration: none;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
  width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  filter: blur(10px);
}

/* フォームリセット */
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type=checkbox],
input[type=radio] {
  display: none;
}

input[type=submit],
input[type=button],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

html {
  font-size: 1rem;
}
html.is-font-large {
  font-size: 1.5rem;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #272727;
  font-weight: 400;
  background-color: #fff;
}

.inner {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}

a[href^="tel:"] {
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  a[href^="tel:"] {
    pointer-events: auto;
  }
}

a {
  transition: opacity 0.3s;
}
a:hover {
  opacity: 0.7;
}

/* =========================================
   サイトヘッダー（お知らせバナー + ヘッダー）
========================================= */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 200;
}

html {
  scroll-padding-top: 170px;
}
@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 150px;
  }
}

/* =========================================
   お知らせバナー
========================================= */
.alert-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  padding: 14px 20px;
  background-color: #ffec43;
}

.alert-bar__text {
  color: #d22700;
  font-weight: 700;
  font-size: 2.125rem;
  line-height: 1.5;
  letter-spacing: 0.0265em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .alert-bar__text {
    font-size: 1.25rem;
  }
}

.alert-bar__link {
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

/* =========================================
   ヘッダー
========================================= */
.header {
  position: relative;
  background-color: #fff;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 1440px;
  min-height: 76px;
  margin-inline: auto;
  padding-left: 15px;
}
@media screen and (max-width: 1024px) {
  .header__inner {
    justify-content: space-between;
    padding: 10px 15px;
  }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo-img {
  width: 71px;
  height: 60px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
}

.header__logo-text {
  color: #003e87;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.05em;
}

.header__hamburger {
  display: none;
}
@media screen and (max-width: 1024px) {
  .header__hamburger {
    position: relative;
    z-index: 170;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
  }
}

.header__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #003e87;
  transition: transform 0.3s, opacity 0.3s;
}

.header__overlay {
  display: none;
}
@media screen and (max-width: 1024px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 150;
  }
}

.header.is-drawer-open .header__overlay {
  opacity: 1;
  visibility: visible;
}

.header.is-drawer-open .header__hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header.is-drawer-open .header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.header.is-drawer-open .header__hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* グローバルナビ */
.gnav {
  margin-left: auto;
}
@media screen and (max-width: 1024px) {
  .gnav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 160;
    width: min(320px, 85vw);
    height: 100dvh;
    margin-left: 0;
    padding: 88px 24px 40px;
    background-color: #fff;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s;
  }
}

@media screen and (max-width: 1024px) {
  .header.is-drawer-open .gnav {
    transform: translateX(0);
  }
}

.gnav__list {
  display: flex;
  align-items: stretch;
  height: 76px;
}
@media screen and (max-width: 1024px) {
  .gnav__list {
    flex-direction: column;
    height: auto;
  }
}

.gnav__item {
  display: flex;
}

.gnav__item + .gnav__item {
  border-left: 1px solid #cccccc;
}
@media screen and (max-width: 1024px) {
  .gnav__item + .gnav__item {
    border-left: none;
    border-top: 1px solid #cccccc;
  }
}

.gnav__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 8px 18px;
  color: #272727;
}
@media screen and (max-width: 1024px) {
  .gnav__link {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    height: auto;
    padding: 16px 0;
  }
}

.gnav__icon {
  width: 40px;
  height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
}

.gnav__text {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .gnav__text {
    text-align: left;
  }
}

/* =========================================
   右側固定ボタン
========================================= */
.side-nav {
  position: fixed;
  top: 176px;
  right: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media screen and (max-width: 768px) {
  .side-nav {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    background-color: #ffefef;
    border-top: 2px solid #1b6fc0;
    font-size: 14px;
  }
}

.side-nav__btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 110px;
  min-height: 104px;
  padding: 10px;
  background-color: #ffefef;
  border: 2px solid #1b6fc0;
  border-right: none;
  border-radius: 18px 0 0 18px;
  color: #003e87;
}
@media screen and (max-width: 768px) {
  .side-nav__btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: auto;
    gap: 4px;
    padding: 6px 2px;
    border: none;
    border-right: 1px solid #1b6fc0;
    border-radius: 0;
  }
}

.side-nav__icon {
  width: 40px;
  height: 40px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 768px) {
  .side-nav__icon {
    width: 24px;
    height: 24px;
  }
}

.side-nav__text {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .side-nav__text {
    font-size: 14px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
}

.side-nav__font {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 110px;
  padding: 12px 10px;
  background-color: #ffefef;
  border: 2px solid #1b6fc0;
  border-right: none;
  border-radius: 18px 0 0 18px;
}
@media screen and (max-width: 768px) {
  .side-nav__font {
    flex: 1.1 1 0;
    min-width: 0;
    width: auto;
    gap: 4px;
    padding: 6px 2px;
    border: none;
    border-radius: 0;
  }
}

.side-nav__font-label {
  color: #003e87;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.3;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .side-nav__font-label {
    font-size: 14px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
}

.side-nav__font-btns {
  display: flex;
  gap: 4px;
}
@media screen and (max-width: 768px) {
  .side-nav__font-btns {
    flex-direction: row;
    gap: 3px;
  }
}

.side-nav__font-btn {
  width: 38px;
  padding: 4px 0;
  background-color: #fff;
  border: 1px solid #1b6fc0;
  border-radius: 4px;
  color: #003e87;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .side-nav__font-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 3px 0;
    font-size: 14px;
    width: 40px;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

.footer {
  background-color: #89a065;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

.footer__inner {
  position: relative;
  max-width: 1280px;
  margin-inline: auto;
  padding: 36px 20px;
}

.footer__name {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.5;
  letter-spacing: 0.045em;
}

.footer__address {
  margin-top: 10px;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.footer__pagetop {
  position: absolute;
  right: 20px;
  bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 107px;
  height: 107px;
  padding: 0;
  background-color: #ec8f25;
  border-radius: 50%;
  color: #272727;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .footer__pagetop {
    width: 80px;
    height: 80px;
    font-size: 0.75rem;
  }
}
@media screen and (min-width: 375px) and (max-width: 768px) {
  .footer__pagetop {
    top: 36px;
    bottom: auto;
  }
}

html.is-font-large .footer__pagetop {
  font-size: 13px;
}
@media screen and (max-width: 768px) {
  html.is-font-large .footer__pagetop {
    font-size: 10px;
  }
}

.footer__copy {
  padding: 13px 20px;
  background-color: #89a065;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
}

/* =========================================
   共通：緑の見出し帯（フルブリード）
========================================= */
.ttl-normal {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-block: 13px;
  padding-inline: max(20px, 50vw - 540px);
  background-color: #89a065;
  color: #fff;
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.5;
  letter-spacing: 0.0346em;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .ttl-normal {
    font-size: 1.25rem;
  }
}

.ttl-normal__scroll-note {
  display: none;
  margin-left: 0.5em;
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1024px) {
  .ttl-normal__scroll-note {
    display: inline;
  }
}
@media screen and (max-width: 768px) {
  .ttl-normal__scroll-note {
    display: none;
  }
}

/* =========================================
   ヒーロー
========================================= */
.hero {
  padding-top: 58px;
  min-height: 590px;
  background-image: url("../images/hero-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
  .hero {
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 60px;
  }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 138px;
  padding: 14px 20px;
  background-color: rgba(255, 255, 255, 0.5);
}

.hero__title {
  color: #003e87;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .hero__title {
    font-size: 1.5rem;
  }
}

.hero__lead {
  color: #272727;
  font-weight: 700;
  font-size: 1rem;
  line-height: 2;
  text-align: center;
}

/* =========================================
   見出し（アイコン付き：新着情報）
========================================= */
.ttl-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 51px;
  color: #272727;
  font-weight: 700;
  font-size: 2.125rem;
  line-height: 1.5;
  letter-spacing: 0.0265em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .ttl-heading {
    font-size: 1.625rem;
    padding-top: 24px;
  }
}

.ttl-heading__icon {
  width: 50px;
  height: 50px;
  -o-object-fit: contain;
     object-fit: contain;
}

/* =========================================
   新着情報
========================================= */
.news {
  padding: 80px 0;
  background-color: #fff;
}

.news .inner {
  padding: 36px 115px 72px;
  background-color: #f7f5f0;
}
@media screen and (max-width: 768px) {
  .news .inner {
    padding: 24px 20px 40px;
  }
}

.news__list {
  margin-top: 24px;
}

.news__item {
  border-bottom: 1px solid #1b6fc0;
}

.news__link {
  display: block;
  padding: 27px 18px;
  color: #272727;
}
@media screen and (max-width: 768px) {
  .news__link {
    padding: 18px 0;
  }
}

.news__meta {
  display: flex;
  align-items: center;
  gap: 18px;
}
@media screen and (max-width: 768px) {
  .news__meta {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.news__date {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.news__category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 3px 16px;
  background-color: #ec8f25;
  border-radius: 5px;
  color: #272727;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.0625em;
}

.news__new {
  color: #d22700;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.news__text {
  margin-top: 8px;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* =========================================
   校区回覧板
========================================= */
.kairanban__list {
  padding-block: 40px;
}

.kairanban__item + .kairanban__item {
  margin-top: 12px;
}

.kairanban__link {
  color: #000;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 2.37;
  text-decoration: underline;
}

.kairanban__archive {
  margin-bottom: 40px;
  text-align: center;
}

.event-list__archive {
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.kairanban__archive-btn,
.event-list__archive-btn {
  display: inline-block;
  min-width: 280px;
  padding: 14px 32px;
  background-color: #89a065;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .kairanban__archive-btn,
.event-list__archive-btn {
    min-width: 240px;
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* =========================================
   岡本公民館概要
========================================= */
.overview {
  padding-bottom: 80px;
  background-color: #f7f5f0;
}

.overview__intro {
  margin-top: 80px;
}

.overview__figure {
  display: flex;
  justify-content: center;
}

.overview__img {
  width: 300px;
  height: auto;
}

.overview__sub-ttl {
  margin-top: 25px;
  color: #272727;
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.6;
  text-align: center;
}

.overview__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}

.overview__body p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 2;
  color: #272727;
}

.overview__map {
  margin-top: 25px;
}

.overview__map-frame {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  background-color: #e2e5ec;
}
@media screen and (max-width: 768px) {
  .overview__map-frame {
    height: 360px;
  }
}

.overview__map-note {
  margin-top: 12px;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #272727;
}

/* 概要テーブル */
.info-table {
  width: 100%;
  max-width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;
}
@media screen and (max-width: 768px) {
  .info-table {
    display: block;
  }
  .info-table tbody {
    display: block;
  }
  .info-table tr {
    display: block;
    border-bottom: 1px solid #cccccc;
  }
  .info-table tr:last-child {
    border-bottom: none;
  }
  .info-table th,
.info-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-bottom: none;
  }
}

.info-table th,
.info-table td {
  border-bottom: 1px solid #cccccc;
  vertical-align: middle;
}

.info-table__head {
  width: 420px;
  padding: 20px;
  background-color: #a9afa3;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .info-table__head {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    text-align: left;
  }
}

.info-table__data {
  padding: 21px 20px;
  background-color: #fff;
  color: #333333;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .info-table__data {
    padding: 16px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

.info-table__data a {
  color: #7ca925;
  text-decoration: underline;
  word-break: break-all;
}

.info-table__map-link {
  margin-left: 12px;
}
@media screen and (max-width: 768px) {
  .info-table__map-link {
    display: inline-block;
    margin-left: 0;
    margin-top: 8px;
  }
}

/* =========================================
   コンテンツ群（講座/サークル/レンタル/インスタ）
========================================= */
.contents {
  background-color: #fff;
}

.contents .inner {
  display: flex;
  flex-direction: column;
  gap: 51px;
  padding-block: 0 80px;
}

.event-list__item {
  border-bottom: 1px solid #1b6fc0;
}

.event-list__link {
  display: block;
  padding: 27px 18px;
  color: #272727;
}
@media screen and (max-width: 768px) {
  .event-list__link {
    padding: 18px 0;
  }
}

.event-list__meta {
  display: flex;
  align-items: center;
  gap: 18px;
}
@media screen and (max-width: 768px) {
  .event-list__meta {
    flex-wrap: wrap;
    gap: 10px;
  }
}

.event-list__date {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.event-list__category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 3px 16px;
  background-color: #ec8f25;
  border-radius: 5px;
  color: #272727;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.0625em;
}

.event-list__new {
  color: #d22700;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.event-list__text {
  margin-top: 8px;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.event-block {
  display: flex;
  flex-direction: column;
}

.event-list--archive .event-list__link {
  padding-inline: 19px;
}

/* サークル情報テーブル */
.table-scroll {
  overflow-x: auto;
}
@media screen and (max-width: 768px) {
  .table-scroll {
    overflow-x: visible;
  }
}

.circle-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}
@media screen and (max-width: 768px) {
  .circle-table {
    min-width: 0;
    display: block;
    border: none;
  }
  .circle-table thead {
    display: none;
  }
  .circle-table tbody {
    display: block;
  }
  .circle-table tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #cccccc;
    overflow: hidden;
  }
  .circle-table tr:last-child {
    margin-bottom: 0;
  }
  .circle-table th,
.circle-table td {
    display: block;
    width: 100% !important;
    max-width: none;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid #cccccc;
    text-align: left;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .circle-table tbody td {
    padding: 12px 16px;
    font-size: 1rem;
  }
  .circle-table tbody td:last-child {
    border-bottom: none;
  }
  .circle-table tbody td:nth-child(1)::before,
.circle-table tbody td:nth-child(2)::before,
.circle-table tbody td:nth-child(3)::before,
.circle-table tbody td:nth-child(4)::before {
    display: block;
    margin-bottom: 4px;
    color: #272727;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .circle-table tbody td:nth-child(1)::before {
    content: "曜日";
  }
  .circle-table tbody td:nth-child(2)::before {
    content: "分類";
  }
  .circle-table tbody td:nth-child(3)::before {
    content: "サークル名";
  }
  .circle-table tbody td:nth-child(4)::before {
    content: "備考";
  }
}

.circle-table th,
.circle-table td {
  padding: 8px 9px;
  border: 1px solid #cccccc;
  vertical-align: top;
}

.circle-table thead th {
  background-color: #e6f0fb;
  color: #272727;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .circle-table thead th {
    text-align: left;
  }
}

.circle-table tbody td {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: #272727;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .circle-table tbody td {
    text-align: left;
  }
}

.circle-table tbody td:last-child {
  text-align: left;
}

.circle-table a {
  color: #7ca925;
  text-decoration: underline;
}

.circle-table__line {
  display: block;
  padding-left: 3em;
  text-indent: -3em;
}
@media screen and (max-width: 768px) {
  .circle-table__line {
    padding-left: 0;
    text-indent: 0;
    margin-top: 4px;
  }
  .circle-table__line:first-child {
    margin-top: 0;
  }
}

.circle-table th:nth-child(1),
.circle-table td:nth-child(1) {
  width: 80px;
}

.circle-table th:nth-child(2),
.circle-table td:nth-child(2) {
  width: 215px;
}

.circle-table th:nth-child(3),
.circle-table td:nth-child(3) {
  width: 232px;
}

/* レンタルスペース */
.rental-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 34px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .rental-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.rental-list__item {
  min-width: 0;
}

.rental-list__link {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.rental-list__thumb {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 294/206;
  overflow: hidden;
  background-color: #e2e5ec;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
}

.rental-list__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.rental-list__name {
  padding: 9px 0 15px;
  color: #272727;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5;
  text-align: center;
}

.rental-note {
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  color: #272727;
}

.rental-note a {
  color: #7ca925;
  text-decoration: underline;
}

/* インスタ */
.insta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 78px 60px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .insta-list {
    gap: 40px;
  }
}

.insta-list__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc((100% - 60px) / 2);
}
@media screen and (max-width: 768px) {
  .insta-list__item {
    width: 100%;
  }
}

.insta-list__img {
  width: 100%;
  aspect-ratio: 294/206;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.insta-list__body {
  width: 100%;
  padding: 30px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .insta-list__body {
    padding: 20px;
  }
}

.insta-list__ttl {
  color: #89a065;
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
}

.insta-list__text {
  margin-top: 12px;
  color: #272727;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.7;
  text-align: center;
}

.lg-show {
  display: none;
}
@media screen and (max-width: 1024px) {
  .lg-show {
    display: block;
  }
}

/* =========================================
   公民館だよりアーカイブ（home.html）
========================================= */
.home-archive {
  display: flex;
  justify-content: center;
  padding: 100px 20px;
}
@media screen and (max-width: 768px) {
  .home-archive {
    padding-block: 48px;
    padding-inline: 20px;
  }
}

.home-archive__box {
  width: 100%;
  max-width: 960px;
  background-color: #fff;
}

.home-archive__title {
  padding: 14px 18px 11px;
  background-color: #336633;
  color: #fff;
  font-weight: 700;
  font-size: 1.8125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .home-archive__title {
    font-size: 1.375rem;
  }
}

.home-archive__intro {
  padding: 0 19px;
  margin-top: 18px;
  color: #000;
  font-size: 1rem;
  line-height: 1.8;
}

.home-archive__group {
  margin-top: 18px;
}

.home-archive__group-ttl {
  padding: 13px 19px 9px;
  background-color: #b8cab8;
  color: #000;
  font-weight: 700;
  font-size: 1.5625rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
  .home-archive__group-ttl {
    font-size: 1.25rem;
  }
}

.home-archive__list {
  padding: 0 19px 0 39px;
}

.home-archive__item {
  padding: 9px 0 8px;
  border-bottom: 2px solid #f0f0ee;
}

.home-archive__item + .home-archive__item {
  margin-top: 12px;
}

.home-archive__link {
  color: #333333;
  font-size: 1rem;
  line-height: 1.8;
  text-decoration: underline;
}

.home-archive__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 48px;
  padding: 0 19px 40px;
}

.home-archive__pager-btn {
  display: inline-block;
  min-width: 220px;
  padding: 12px 24px;
  background-color: #89a065;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .home-archive__pager-btn {
    min-width: 180px;
    padding: 10px 16px;
    font-size: 0.875rem;
  }
}

.home-archive__pager-num {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 48px;
  height: 48px;
  background-color: #b8cab8;
  border-radius: 5px;
  color: #000;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
}

.home-archive__pager--latest .home-archive__pager-btn--next {
  display: none;
}

/* =========================================
   講座・イベントアーカイブ（archive-events.html）
   WordPress化時: archive-events.php
========================================= */
.event-archive {
  display: flex;
  justify-content: center;
  padding: 100px 20px;
}
@media screen and (max-width: 768px) {
  .event-archive {
    padding-block: 48px;
    padding-inline: 20px;
  }
}

.event-archive__box {
  width: 100%;
  max-width: 960px;
  background-color: #fff;
}

.event-archive__title {
  padding: 14px 18px 11px;
  background-color: #89a065;
  color: #fff;
  font-weight: 700;
  font-size: 1.8125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .event-archive__title {
    font-size: 1.375rem;
  }
}

.event-archive__intro {
  padding: 0 19px;
  margin-top: 18px;
  color: #000;
  font-size: 1rem;
  line-height: 1.8;
}

.event-archive__group {
  margin-top: 18px;
}

.event-archive__group-ttl {
  padding: 13px 19px 9px;
  background-color: #b8cab8;
  color: #000;
  font-weight: 700;
  font-size: 1.5625rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
  .event-archive__group-ttl {
    font-size: 1.25rem;
  }
}

.event-archive__pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 48px;
  padding: 0 19px 40px;
}

.event-archive__pager-btn {
  display: inline-block;
  min-width: 220px;
  padding: 12px 24px;
  background-color: #89a065;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .event-archive__pager-btn {
    min-width: 180px;
    padding: 10px 16px;
    font-size: 0.875rem;
  }
}

.event-archive__pager-num {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 48px;
  height: 48px;
  background-color: #b8cab8;
  border-radius: 5px;
  color: #000;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
}

.event-archive__pager--latest .event-archive__pager-btn--next {
  display: none;
}

/* =========================================
   固定ページ・404ページの本文
========================================= */
.page-content {
  padding: 24px 19px 40px;
  color: #000;
  font-size: 1rem;
  line-height: 1.8;
}
.page-content > * + * {
  margin-top: 1.2em;
}
.page-content h2,
.page-content h3,
.page-content h4 {
  font-weight: 700;
  line-height: 1.5;
}
.page-content h2 {
  font-size: 1.375rem;
}
.page-content h3 {
  font-size: 1.1875rem;
}
.page-content ul,
.page-content ol {
  padding-left: 1.5em;
}
.page-content li + li {
  margin-top: 8px;
}
.page-content ul li {
  list-style: disc;
}
.page-content ol li {
  list-style: decimal;
}
.page-content a {
  text-decoration: underline;
}
.page-content img {
  height: auto;
}

/* =========================================
   PDFモーダル
========================================= */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.pdf-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.pdf-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.pdf-modal__inner {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  height: min(90vh, 800px);
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.pdf-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}

.pdf-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.single-calendar,
.single-event {
  padding: 80px 0 120px;
  background-color: #fff;
}
@media screen and (max-width: 768px) {
  .single-calendar,
.single-event {
    padding: 48px 0 80px;
  }
}

.single-calendar__header,
.single-event__header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #cccccc;
}
@media screen and (max-width: 768px) {
  .single-calendar__header,
.single-event__header {
    margin-bottom: 32px;
    padding-bottom: 20px;
  }
}

.single-calendar__date,
.single-event__date {
  display: block;
  margin-bottom: 12px;
  color: #272727;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.single-calendar__category,
.single-event__category {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  padding: 3px 16px;
  background-color: #ec8f25;
  border-radius: 5px;
  color: #272727;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.0625em;
}

.single-calendar__title,
.single-event__title {
  color: #272727;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
  .single-calendar__title,
.single-event__title {
    font-size: 1.5rem;
  }
}

.single-calendar__heading,
.single-event__heading {
  margin-bottom: 32px;
  color: #272727;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .single-calendar__heading,
.single-event__heading {
    margin-bottom: 24px;
    font-size: 1.25rem;
  }
}

.single-calendar__figure,
.single-event__figure {
  margin: 0;
}

.single-calendar__img,
.single-event__img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
}