:root {
  --color-text: #243042;
  --color-muted: #667085;
  --color-border: #e5d7f7;
  --color-surface: #ffffff;
  --color-background: #fbf7ff;
  --color-primary: #9a18ff;
  --color-primary-dark: #6d00cb;
  --color-primary-light: #f4e6ff;
  --color-accent: #c34eff;
  --color-link-hover: #e6a4ff;
  --stripe-purple-soft: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2712%27%20height%3D%2712%27%20viewBox%3D%270%200%2012%2012%27%3E%3Cpath%20d%3D%27M-1%2013L13%20-1%27%20stroke%3D%27%239a18ff%27%20stroke-opacity%3D%27.14%27%20stroke-width%3D%271.5%27/%3E%3C/svg%3E");
  --stripe-purple-soft-filled: var(--stripe-purple-soft), var(--color-background);
  --stripe-purple-strong: repeating-linear-gradient(
    135deg,
    var(--color-primary) 0,
    var(--color-primary) 4px,
    transparent 4px,
    transparent 8px
  );
  --stripe-white-soft: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16) 0,
    rgba(255, 255, 255, 0.16) 4px,
    transparent 4px,
    transparent 8px
  );
  --layout-max-width: 940px;
  --layout-page-padding: clamp(16px, 2.4vw, 24px);
  --layout-sidebar-width: clamp(196px, 20vw, 208px);
  --layout-gutter: clamp(18px, 2.4vw, 24px);
  --font-sans: Verdana, "MS PGothic", "Hiragino Kaku Gothic ProN", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--stripe-purple-soft-filled);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.85;
}

/* サイト全体のリンクの基本設定。 */
a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
}

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

.view-mode-toggle {
  display: block;
  margin: 8px auto 10px;
  min-width: 104px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--color-primary-dark);
  border-radius: 4px;
  color: #ffffff;
  background: var(--color-primary);
  box-shadow: 0 6px 18px rgba(109, 0, 203, 0.28);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.view-mode-toggle:hover,
.view-mode-toggle:focus-visible {
  background: var(--color-primary-dark);
}

.view-mode-toggle[hidden] {
  display: none !important;
}

.site-header {
  background: var(--color-surface);
}

.site-header__inner,
.site-header__nav-inner,
.base-shell__inner,
.section__inner {
  width: min(var(--layout-max-width), 100% - 32px);
  margin: 0 auto;
}

.site-header__inner,
.site-header__nav-inner {
  width: min(var(--layout-max-width), 100% - 32px);
}

.site-header__inner {
  min-height: 160px;
  padding: 30px 0 34px;
}

.site-header__brand {
  display: block;
  margin: 0;
  color: #333333;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
}

.site-header__description {
  margin: 8px 0 0;
  color: #666666;
  font-size: 12px;
}

.site-header__nav {
  background: var(--color-primary);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}

.site-header__nav-inner {
  min-height: 28px;
}

.site-header__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__menu a {
  display: block;
  padding: 6px 14px;
  color: #ffffff;
  font-weight: 600;
  font-size: 11px;
  text-decoration: none;
}

.site-header__menu a:hover,
.site-header__menu a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.home-shell,
.base-shell {
  width: min(var(--layout-max-width), 100%);
  min-width: calc(var(--layout-sidebar-width) + 620px + var(--layout-gutter) + var(--layout-page-padding) * 2);
  margin: 0 auto;
  padding: var(--layout-page-padding) var(--layout-page-padding) clamp(72px, 8vw, 112px);
  background: #ffffff;
}

.home-shell__inner,
.base-shell__inner {
  display: grid;
  grid-template-columns: var(--layout-sidebar-width) minmax(0, 1fr);
  gap: var(--layout-gutter);
  align-items: start;
  width: auto;
  margin: 0;
  background: #ffffff;
}

.home-sidebar,
.base-sidebar {
  display: grid;
  gap: 22px;
}

.side-menu {
  border: 0;
  border-radius: 0;
  background: var(--stripe-purple-strong);
  padding: 6px;
  box-shadow: none;
  overflow: hidden;
}

.side-menu__list,
.side-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #ffffff;
}

.site-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #dddddd;
}

/* サイドメニューの各ページリンク */
.side-menu__link {
  display: block;
  min-height: 44px;
  padding: 11px 11px 10px 23px;
  color: #333333;
  background: linear-gradient(#ffffff 0%, #ffffff 70%, #f7f7f7 88%, #eeeeee 100%);
  font-size: 12px;
  font-weight: normal;
  line-height: 1.6;
  text-decoration: none;
  position: relative;
}

.side-menu__link::before {
  content: "»";
  position: absolute;
  top: 11px;
  left: 9px;
  color: var(--color-primary);
  font-weight: 700;
}

.side-menu__link:hover,
.side-menu__link:focus-visible {
  color: var(--color-link-hover);
  background: linear-gradient(#ffffff 0%, #ffffff 65%, #f3f3f3 86%, #e8e8e8 100%);
}

.side-news {
  border: 1px solid #d8d8d8;
  background: #ffffff;
  padding: 8px;
}

/* セクションの区切りに使う紫の帯見出し */
.section-heading-bar,
.side-news__title,
.home-section__title,
.base-section__title,
.news-post__title,
.single-post__title,
.ganbaru-post__title,
.overview-page-content h2,
.school-song-page-content h2 {
  margin: 0;
  color: #ffffff;
  background: var(--stripe-white-soft), linear-gradient(180deg, #c77aea 0%, #aa5fdc 28%, #8642c4 55%, #9b52d1 78%, #bf72e5 100%);
  border: 1px solid #8b39c2;
  border-radius: 0;
  font-size: 114%;
  font-weight: normal;
  line-height: 1.5;
  padding: 7px 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(60, 0, 110, 0.42);
}

.side-news__list {
  display: grid;
}

.side-news__title-link {
  color: #ffffff;
  text-decoration: none;
}

.side-news__title-link:hover,
.side-news__title-link:focus-visible {
  color: #ffffff;
}

.side-news__item {
  border-bottom: 1px solid #eeeeee;
  padding: 13px 4px;
}

.side-news__date {
  display: block;
  color: #333333;
  font-size: 12px;
}

/* サイドバー新着情報の記事タイトル */
.side-news__post-title {
  margin: 0 0 8px;
  border-left: 4px solid var(--color-primary);
  padding: 4px 6px 4px 7px;
  font-size: 12px;
  line-height: 1.5;
  background: var(--stripe-purple-soft-filled);
}

/* サイドバー新着情報の記事タイトルリンク */
.side-news__post-title-link,
.side-news__post-title-text,
.home-facebook__link {
  color: var(--color-accent);
  font-weight: 700;
  transition: color 0.18s ease;
}

.side-news__post-title-link:hover,
.side-news__post-title-link:focus-visible,
.home-facebook__link:hover,
.home-facebook__link:focus-visible {
  color: var(--color-link-hover);
}

.side-news__excerpt,
.side-news__empty {
  margin: 0;
  color: #333333;
  font-size: 13px;
  line-height: 1.75;
}

.side-news__archive {
  margin: 14px 0 0;
  text-align: right;
}

.side-news__archive-link {
  display: inline-block;
  min-width: 72px;
  border: 1px solid #b86cf0;
  background: linear-gradient(180deg, #fdf7ff 0%, #edceff 28%, #c77ff0 54%, #eccbff 100%);
  color: #8f2bd2;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  padding: 6px 14px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(112, 38, 168, 0.28), 0 0 0 1px rgba(220, 177, 255, 0.58);
}

.side-news__archive-link::before {
  content: "▸";
  margin-right: 3px;
  font-size: 10px;
}

.side-news__archive-link:hover,
.side-news__archive-link:focus-visible {
  color: #c06cff;
  background: linear-gradient(180deg, #ffffff 0%, #f1d9ff 28%, #d092f2 54%, #f0d5ff 100%);
  text-decoration: none;
}

.home-welcome {
  border-top: 0;
  padding-top: 0;
  position: relative;
}

.home-welcome::before {
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 14px;
  background: var(--stripe-purple-strong);
}

.home-welcome__title {
  margin: 0 0 18px;
  border-left: 0;
  border-bottom: 1px solid #dddddd;
  box-shadow: 0 7px 8px -9px rgba(0, 0, 0, 0.4);
  color: #333333;
  background: linear-gradient(#ffffff 0%, #ffffff 70%, #f7f7f7 88%, #eeeeee 100%);
  font-size: 18px;
  font-weight: normal;
  line-height: 1.5;
  padding: 5px 0 15px 30px;
  position: relative;
}

.home-welcome__title::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 10px;
  width: 5px;
  height: 28px;
  background: linear-gradient(90deg, #8f00ff 0%, #c34eff 100%);
  border: 1px solid #8f00ff;
  border-radius: 3px;
}

.home-main-visual {
  margin-bottom: 26px;
  border: 0;
  background: transparent;
}

.home-main-visual__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.home-main-visual__placeholder {
  display: grid;
  min-height: 310px;
  place-items: center;
  background: linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.82)), linear-gradient(135deg, #ecf7ff, #f6e6ff);
  color: var(--color-primary-dark);
  font-size: 20px;
  font-weight: 700;
}

.home-section {
  margin-top: 28px;
}

.home-editable-content,
.home-facebook {
  padding: 18px 0 0;
}

.home-editable-content {
  font-size: 13px;
}

.home-editable-content p,
.home-facebook p {
  margin: 0 0 1.25em;
}

.home-editable-content img {
  max-width: min(240px, 45%);
  margin: 0 0 18px 24px;
  float: right;
}

.home-editable-content .wp-block-image.alignright,
.home-editable-content figure.alignright {
  max-width: min(240px, 45%);
  margin: 0 0 18px 24px;
  float: right;
}

.home-editable-content .wp-block-image.alignright img,
.home-editable-content figure.alignright img {
  display: block;
  max-width: 100%;
  margin: 0;
  float: none;
}

.home-publication-menu {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
}

.home-publication-menu li {
  margin: 0;
}

.home-publication-menu a,
.home-publication-menu span {
  display: inline;
  color: var(--color-accent);
  font-size: 23px;
  font-style: italic;
  font-weight: 700;
  transition: color 0.18s ease;
}

.home-publication-menu a:hover,
.home-publication-menu a:focus-visible {
  color: var(--color-link-hover);
}

.home-publication-empty {
  margin: 18px 0 0;
}

.base-content {
  min-width: 0;
}

.base-content__body {
  color: #222222;
  font-size: 13px;
  line-height: 1.85;
}

.home-editable-content a,
.base-content__body a,
.kouka-content__body a,
.constitution-content__body a,
.content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.18s ease;
}

.home-editable-content a:hover,
.home-editable-content a:focus-visible,
.base-content__body a:hover,
.base-content__body a:focus-visible,
.kouka-content__body a:hover,
.kouka-content__body a:focus-visible,
.constitution-content__body a:hover,
.constitution-content__body a:focus-visible,
.content a:hover,
.content a:focus-visible {
  color: var(--color-link-hover);
}

/* 概要ページ本文に入力されたH2の余白 */
.overview-page-content h2 {
  margin: 28px 0 18px;
}

.overview-page-content h2:first-child {
  margin-top: 0;
}

.base-content__body p {
  margin: 0 0 18px;
}

.base-content__body .box,
.base-content__body .base-location {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 0 0 34px;
}

.base-content__body .left,
.base-content__body .right {
  float: none;
}

.base-content__body .parts_tabel_type10_imgBox img,
.base-content__body .base-location .wp-block-image img {
  display: block;
  width: 215px;
  max-width: 215px;
  border: 1px solid #dddddd;
}

.base-content__body table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 13px;
}

.base-content__body th,
.base-content__body td {
  border: 1px solid #e8ddf7;
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.base-content__body th {
  width: 115px;
  background: var(--color-primary-light);
  color: #333333;
  font-weight: normal;
}

.base-content__body iframe,
.base-content__body .mparts-googlemap--map,
.base-content__body .wp-block-embed__wrapper {
  width: 100%;
}

.base-content__body .mparts-googlemap--map,
.base-content__body iframe[src*="google.com/maps"] {
  display: block;
  height: 350px;
  margin: 0 0 34px;
  border: 1px solid #dddddd;
}

.access-map {
  margin: 0 0 34px;
}

.access-map__iframe {
  display: block;
  width: 100%;
  height: 350px;
  margin: 0;
  border: 1px solid #dddddd;
}

/* 概要ページ本文の見出し直後に続く説明文 */
.overview-page-content h2 + div > p,
.overview-page-content h2 + p {
  margin-left: 16px;
  font-size: 13px;
  line-height: 2.2;
}

.kouka-content {
  min-width: 0;
}

.constitution-content {
  min-width: 0;
}

.link-content {
  min-width: 0;
}

.competition-content {
  min-width: 0;
}

.competition-content__body {
  font-size: 13px;
}

.kouka-content__body {
  color: #222222;
  font-size: 13px;
  line-height: 1.85;
}

.constitution-content__body {
  min-height: 180px;
  color: #333333;
  font-size: 13px;
  line-height: 1.85;
}

.link-content__body {
  min-height: 185px;
  padding-top: 4px;
  color: #333333;
  font-size: 13px;
  line-height: 1.85;
}

/* 校歌・役員紹介ページ本文に入力されたH2の余白 */
.school-song-page-content h2 {
  margin: 28px 0 18px;
}

.kouka-content__body p {
  margin: 0 0 18px;
}

.kouka-content__body .box,
.kouka-content__body .wp-block-image {
  margin: 0 0 34px;
}

.kouka-content__body .parts_img_type19_box img,
.kouka-content__body .cparts-img-block img,
.kouka-content__body .wp-block-image img {
  display: block;
  width: 675px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.kouka-content__body .parts_text_type02,
.kouka-content__body .kouka-audio-link {
  margin: 0 0 28px;
  border: 1px solid var(--color-border);
  padding: 14px 18px;
}

.kouka-content__body .parts_text_type02,
.kouka-content__body .kouka-audio-link {
  color: #ff6600;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kouka-content__body .parts_text_type02 a,
.kouka-content__body .kouka-audio-link a {
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
}

.kouka-content__body .parts_text_type02 a:hover,
.kouka-content__body .parts_text_type02 a:focus-visible,
.kouka-content__body .kouka-audio-link a:hover,
.kouka-content__body .kouka-audio-link a:focus-visible {
  color: var(--color-link-hover);
}

.kouka-content__body .parts_text_type02 span,
.kouka-content__body .kouka-audio-link span {
  color: #ff6600;
  font-size: 13px;
  font-weight: normal;
  text-decoration: underline;
}

.constitution-content__body p {
  margin: 0 0 18px;
}

.constitution-content__body > p:first-child,
.constitution-content__body > div:first-child,
.constitution-content__body .constitution-document-link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  min-height: 86px;
  margin: 0 0 16px;
  padding: 0 0 24px;
  background: #ffffff;
}

.constitution-content__body > p:first-child,
.constitution-content__body > div:first-child p,
.constitution-content__body .constitution-document-link {
  color: #45657f;
  margin-bottom: 0;
}

.constitution-content__body a {
  color: var(--color-accent);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.constitution-content__body a:hover,
.constitution-content__body a:focus-visible {
  color: var(--color-link-hover);
}

.constitution-content__body span {
  color: #45657f;
  font-size: 13px;
}

.link-page-content p {
  margin: 0 0 25px;
  line-height: 1.5;
  font-size: 16px;
}

.link-page-content p:first-of-type {
  font-size: 18px;
}

.link-page-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link-page-content a:hover,
.link-page-content a:focus-visible {
  color: var(--color-link-hover);
}

.link-page-content ul,
.link-page-content ol {
  display: grid;
  gap: 18px;
  margin: 0 0 23px;
  padding-left: 1.4em;
}

.news-content__body .wp-block-gallery,
.news-content__body .gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.news-content__body .gallery.gallery-columns-1,
.news-content__body .gallery:has(> .gallery-item:first-child:nth-last-child(1)),
.news-content__body .wp-block-gallery:has(> figure.wp-block-image:first-child:nth-last-child(1)) {
  grid-template-columns: 1fr;
}

.news-content__body .gallery.gallery-columns-2,
.news-content__body .gallery:has(> .gallery-item:first-child:nth-last-child(2)),
.news-content__body .wp-block-gallery:has(> figure.wp-block-image:first-child:nth-last-child(2)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-content__body .gallery.gallery-columns-3,
.news-content__body .gallery:has(> .gallery-item:first-child:nth-last-child(3)),
.news-content__body .wp-block-gallery:has(> figure.wp-block-image:first-child:nth-last-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-content__body .wp-block-gallery.has-nested-images figure.wp-block-image,
.news-content__body .gallery .gallery-item {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.news-content__body .wp-block-gallery.has-nested-images figure.wp-block-image::before,
.news-content__body .wp-block-gallery.has-nested-images figure.wp-block-image::after {
  content: none !important;
  display: none !important;
}

.news-content__body .wp-block-gallery figure.wp-block-image > a,
.news-content__body .gallery .gallery-icon a {
  display: block;
  width: 100%;
}

.news-content__body .wp-block-gallery img,
.news-content__body .gallery img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.news-content__body .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.news-content__body .wp-block-gallery figcaption,
.news-content__body .gallery .gallery-caption {
  position: static !important;
  display: block !important;
  width: auto !important;
  max-height: none !important;
  margin: 4px 0 0;
  padding: 0;
  background: transparent !important;
  color: #333333;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  text-shadow: none !important;
}

.ganbaru-post__body figure.wp-block-image,
.ganbaru-post__body .wp-block-image,
.ganbaru-post__body .wp-block-gallery {
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.ganbaru-post__body figure.wp-block-image > a,
.ganbaru-post__body .wp-block-gallery figure.wp-block-image > a {
  display: block;
  width: 100%;
}

.ganbaru-post__body figure.wp-block-image img,
.ganbaru-post__body .wp-block-image img,
.ganbaru-post__body .wp-block-gallery img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

.home-content::after,
.base-content__body::after,
.kouka-content__body::after,
.constitution-content__body::after,
.section__inner::after {
  content: "";
  display: block;
  height: 19px;
  margin-top: 64px;
  border: 3px solid #eeeeee;
  background: #ffffff;
}

.constitution-content__body::after {
  margin-top: 15px;
}

.home-facebook {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.home-facebook p {
  font-size: 16px;
  line-height: 1.75;
}

.home-facebook__body h1,
.home-facebook__body h3 {
  font-weight: normal;
}

.home-facebook__body h1 {
  font-size: 24px;
}

.home-facebook__link,
.home-facebook__body > p:first-child a {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 24px;
  font-style: italic;
  font-weight: normal;
}

.home-facebook__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-facebook__body > p:first-child a:hover,
.home-facebook__body > p:first-child a:focus-visible,
.home-facebook__body a:hover,
.home-facebook__body a:focus-visible {
  color: var(--color-link-hover);
}

.home-facebook__image-link {
  display: block;
  min-height: 180px;
  border: 1px solid #dddddd;
  background: linear-gradient(rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.34)), linear-gradient(135deg, #3a2d20, #d6c19d 42%, #f5f5f5 42%, #f5f5f5 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.home-facebook__image-link::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 16px;
  width: 168px;
  height: 74px;
  background: linear-gradient(#ffffff 0 20px, #eef2f7 20px 21px, #ffffff 21px), repeating-linear-gradient(0deg, rgba(66, 103, 178, 0.2) 0 10px, rgba(255, 255, 255, 0.9) 10px 20px);
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: -110px 14px 0 -16px rgba(255, 255, 255, 0.86);
}

.home-facebook__image-link--has-image::after {
  content: none;
}

.home-facebook__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.home-facebook__image-placeholder {
  display: inline-block;
  margin: 54px 0 0 18px;
  background: rgba(66, 103, 178, 0.88);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 5px 10px;
}

.home-facebook-register {
  margin: 28px 0 0;
  border: 1px solid var(--color-border);
  padding: 14px 18px;
  font-size: 16px;
}

.home-facebook-register p {
  margin: 0;
  font-size: inherit;
  line-height: 1.75;
}

.home-facebook-register a {
  color: var(--color-accent);
  transition: color 0.18s ease;
}

.home-facebook-register a:hover,
.home-facebook-register a:focus-visible {
  color: var(--color-link-hover);
}

.news-post,
.ganbaru-post,
.active-post {
  margin: 0 0 28px;
}

.news-post__body,
.ganbaru-post__body,
.active-post__body {
  margin: 18px 0 0;
}

.news-post__title {
  margin: 0 0 15px;
}

.single-post__date {
  display: block;
  margin: 0 0 8px;
  color: #111111;
  font-size: 14px;
  line-height: 1.5;
}

.single-post__title {
  margin: 0 0 18px;
}

.news-post__body,
.single-post__body {
  font-size: 13px;
}

.single-post__body {
  margin: 0;
  line-height: 1.9;
}

.single-post__body p {
  margin: 0 0 1.5em;
}

.single-post__back-form {
  margin: 28px 0 0;
}

.single-post__back-button {
  display: inline-block;
  min-width: 72px;
  border: 1px solid #b86cf0;
  background: linear-gradient(180deg, #fdf7ff 0%, #edceff 28%, #c77ff0 54%, #eccbff 100%);
  color: #8f2bd2;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
  padding: 6px 14px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(112, 38, 168, 0.28), 0 0 0 1px rgba(220, 177, 255, 0.58);
}

.single-post__back-button::before {
  content: "▸";
  margin-right: 3px;
  font-size: 10px;
}

.single-post__back-button:hover,
.single-post__back-button:focus-visible {
  color: #c06cff;
  background: linear-gradient(180deg, #ffffff 0%, #f1d9ff 28%, #d092f2 54%, #f0d5ff 100%);
}

.news-post__body h4 {
  margin: 0 0 15px;
  padding: 5px 0 5px 15px;
  background: linear-gradient(90deg, var(--color-primary) 0, var(--color-primary) 4px, transparent 4px), var(--stripe-purple-soft-filled);
  color: #222222;
  font-size: 100%;
  font-weight: bold;
  line-height: 1.5;
}

.active-post__title {
  display: flex;
  gap: 0;
  align-items: baseline;
  margin: 0 0 18px;
  color: #222222;
  font-size: inherit;
  font-weight: normal;
  line-height: 1.85;
}

.active-post__title::before {
  content: "●";
  flex: 0 0 auto;
}

.competition-page-content {
  margin: 0 0 28px;
}

.competition-post {
  margin: 0 0 25px;
}

.competition-post__title {
  margin: 0;
}

.competition-post__title-link,
.competition-post__title-text {
  display: block;
  border: 1px solid #e3ccff;
  padding: 14px 18px;
  color: var(--color-accent);
  background: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.competition-post__title-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.competition-post__title-link:hover,
.competition-post__title-link:focus-visible {
  color: var(--color-link-hover);
}

.competition-post__body {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.85;
}

.competition-post__body p {
  margin: 0 0 18px;
}

.competition-post__body a {
  display: block;
  border: 1px solid #e3ccff;
  padding: 14px 18px;
  color: var(--color-accent);
  background: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.competition-post__body a:hover,
.competition-post__body a:focus-visible {
  color: var(--color-link-hover);
}

.competition-menu {
  display: grid;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.competition-menu li {
  margin: 0;
}

.competition-menu a {
  display: block;
  border: 1px solid #e3ccff;
  padding: 14px 18px;
  color: var(--color-accent);
  background: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.competition-menu a:hover,
.competition-menu a:focus-visible {
  color: var(--color-link-hover);
}

.topics-content__heading {
  margin: 0 0 18px;
}

.topics-list {
  margin: 0;
}

.topics-post {
  margin: 0 0 10px;
  padding: 0 0 10px;
  background-image: linear-gradient(to right, #d2d2d2 1px, transparent 1px);
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: 4px 1px;
}

.topics-post__date {
  display: block;
  margin: 0 0 6px;
  color: #111111;
  font-size: 14px;
  line-height: 1.5;
}

.topics-post__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.55;
}

.topics-list__title-link {
  display: inline-block;
  padding-left: 19px;
  color: var(--color-accent);
  position: relative;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.topics-list__title-link:visited {
  color: var(--color-accent);
}

.topics-list__title-link::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 2px;
  width: 11px;
  height: 11px;
  border: 1px solid #d08aff;
  background: #ffffff;
}

.topics-list__title-link::after {
  content: "";
  position: absolute;
  top: calc(0.3em + 3px);
  left: 6px;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 4px solid var(--color-accent);
}

.topics-list__title-link:hover,
.topics-list__title-link:focus-visible {
  color: var(--color-link-hover);
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.topics-list__title-link--plain {
  color: #222222;
}

.topics-list__title-link--plain:hover,
.topics-list__title-link--plain:focus-visible {
  color: #222222;
}

.topics-post__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.topics-post__thumbnail {
  grid-column: 2;
  grid-row: 1;
  margin: -28px 0 0;
}

.topics-post__thumbnail img {
  display: block;
  width: auto;
  max-width: 100px;
  height: auto;
}

.topics-post__excerpt,
.topics-content__empty {
  margin: 0;
  color: #222222;
  font-size: 13px;
  line-height: 1.8;
}

.topics-post__excerpt {
  grid-column: 1;
  grid-row: 1;
}

.topics-year-nav {
  margin: 34px 0 0;
  text-align: center;
  color: var(--color-accent);
  font-size: 13px;
  line-height: 1.7;
}

.topics-year-nav__link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.topics-year-nav__link:hover,
.topics-year-nav__link:focus-visible {
  color: var(--color-link-hover);
}

.topics-year-nav__current {
  color: #333333;
  font-weight: 700;
}

.topics-year-nav__separator {
  display: inline-block;
  margin: 0 6px;
  color: #777777;
}

.section {
  padding: 56px 0;
}

.section__heading {
  margin-bottom: 24px;
}

.section__label,
.post-meta {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
}

.section__title {
  margin: 0 0 24px;
  color: var(--color-primary-dark);
  font-size: 32px;
  line-height: 1.35;
}

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

.news-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.news-card__link {
  display: block;
  padding: 20px;
  text-decoration: none;
}

.news-card__date {
  display: block;
  color: var(--color-muted);
  font-size: 14px;
}

.news-card__title {
  margin: 6px 0;
  color: var(--color-primary-dark);
  font-size: 20px;
}

.news-card__excerpt {
  margin: 0;
  color: var(--color-muted);
}

.content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px;
}

.site-footer {
  width: min(var(--layout-max-width), 100%);
  margin: 0 auto;
  background: #ffffff;
  border-top: 0;
  color: #333333;
  padding: clamp(34px, 5vw, 64px) var(--layout-page-padding) clamp(24px, 3vw, 36px);
}

.site-footer__page-top {
  margin: 0 0 clamp(22px, 3vw, 32px);
  text-align: right;
}

.site-footer__page-top a {
  color: var(--color-accent);
  font-size: 11px;
  text-decoration: none;
}

.site-footer__page-top a:hover,
.site-footer__page-top a:focus-visible {
  color: var(--color-link-hover);
}

.site-footer__page-top a::before {
  content: "▣";
  margin-right: 5px;
  color: var(--color-accent);
  font-size: 10px;
}

.site-footer__inner {
  border: 1px solid #dddddd;
  min-height: clamp(96px, 9vw, 124px);
  padding: 18px 20px 20px;
}

.site-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 14px;
}

.site-footer__menu li {
  border-right: 1px solid var(--color-border);
  padding: 0 10px;
}

.site-footer__menu li:first-child {
  padding-left: 0;
}

.site-footer__menu a {
  color: var(--color-accent);
  font-size: 12px;
  transition: color 0.18s ease;
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
  color: var(--color-link-hover);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 780px) {
  body {
    overflow-x: hidden;
  }
  .site-header__inner,
  .site-header__nav-inner,
  .section__inner {
    width: calc(100% - 20px);
  }
  .site-header__inner {
    min-height: 120px;
    padding: 24px 0 18px;
  }
  .site-header__brand {
    font-size: clamp(18px, 4vw, 24px);
  }
  .site-header__menu {
    justify-content: flex-start;
  }
  .site-header__menu a {
    padding-right: clamp(8px, 1.8vw, 14px);
    padding-left: clamp(8px, 1.8vw, 14px);
  }
  .home-shell,
  .base-shell {
    width: 100%;
    min-width: 0;
    padding: clamp(10px, 2vw, 16px) clamp(10px, 2vw, 16px) clamp(48px, 7vw, 72px);
    overflow-wrap: anywhere;
  }
  .site-footer {
    width: 100%;
    padding-right: clamp(10px, 2vw, 16px);
    padding-left: clamp(10px, 2vw, 16px);
  }
  .home-shell__inner,
  .base-shell__inner {
    grid-template-columns: clamp(104px, 26vw, 188px) minmax(0, 1fr);
    gap: clamp(10px, 2.2vw, 18px);
  }
  .home-sidebar,
  .base-sidebar {
    order: 0;
    gap: 16px;
  }
  .home-content,
  .base-content,
  .kouka-content,
  .constitution-content,
  .news-content,
  .ganbaru-content,
  .competition-content {
    min-width: 0;
    order: 1;
  }
  .side-menu {
    padding: 4px;
  }
  .side-menu__link {
    min-height: 38px;
    padding: 9px 8px 8px 20px;
    font-size: 11px;
  }
  .side-menu__link::before {
    top: 9px;
    left: 7px;
  }
  .side-news {
    padding: 6px;
  }
  .side-news__item {
    padding-right: 2px;
    padding-left: 2px;
  }
  .home-welcome__title {
    padding-left: 24px;
    font-size: clamp(15px, 2.8vw, 18px);
  }
  .home-welcome__title::before {
    left: 8px;
  }
  .base-content__body .box,
  .base-content__body .base-location {
    grid-template-columns: 1fr;
  }
  .base-content__body .parts_tabel_type10_imgBox img,
  .base-content__body .base-location .wp-block-image img {
    width: auto;
    max-width: 100%;
  }
  .base-content__body table {
    display: block;
    overflow-x: auto;
  }
  .overview-page-content h2 + div > p,
  .overview-page-content h2 + p {
    margin-left: 0;
  }
  .constitution-content__body > p:first-child,
  .constitution-content__body > div:first-child,
  .constitution-content__body .constitution-document-link {
    padding: 0 12px 20px;
  }
  .constitution-content__body a {
    font-size: clamp(18px, 4vw, 26px);
  }
  .news-content__body .wp-block-gallery,
  .news-content__body .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-main-visual__placeholder {
    min-height: 220px;
  }
  .home-publication-menu a,
  .home-publication-menu span,
  .competition-post__title-link,
  .competition-post__title-text,
  .competition-post__body a,
  .competition-menu a {
    font-size: clamp(16px, 3.5vw, 23px);
  }
  .kouka-content__body .parts_text_type02,
  .kouka-content__body .kouka-audio-link,
  .competition-post__title-link,
  .competition-post__title-text,
  .competition-post__body a,
  .competition-menu a {
    padding: 12px clamp(10px, 2vw, 18px);
  }
  .home-editable-content img,
  .home-editable-content .wp-block-image.alignright,
  .home-editable-content figure.alignright {
    display: block;
    max-width: 100%;
    margin: 0 0 18px;
    float: none;
  }
  .home-facebook {
    grid-template-columns: minmax(0, 1fr) minmax(88px, 36%);
    gap: 12px;
  }
  .home-facebook__link {
    font-size: clamp(16px, 3.3vw, 19px);
  }
  .home-facebook__image-link {
    min-height: 140px;
  }
  .content {
    padding: clamp(18px, 4vw, 24px);
  }
}
@media (orientation: portrait) and (max-width: 1100px) {
  .home-shell,
  .base-shell {
    width: 100%;
    min-width: 0;
    padding: clamp(12px, 3vw, 20px) clamp(12px, 3vw, 20px) clamp(48px, 8vw, 80px);
    overflow-wrap: anywhere;
  }
  .site-footer {
    width: 100%;
  }
  .home-shell__inner,
  .base-shell__inner {
    grid-template-columns: 1fr;
    gap: clamp(18px, 4vw, 28px);
  }
  .home-content,
  .base-content,
  .kouka-content,
  .constitution-content,
  .news-content,
  .ganbaru-content,
  .competition-content {
    min-width: 0;
    order: 0;
  }
  .base-sidebar {
    order: 1;
  }
  .home-sidebar {
    display: contents;
  }
  .home-content {
    order: 0;
  }
  .home-sidebar .side-news {
    order: 1;
  }
  .home-sidebar .side-menu {
    order: 2;
  }
  .side-menu {
    padding: 6px;
  }
  .side-menu__link {
    min-height: 42px;
    padding: 10px 11px 9px 23px;
    font-size: 12px;
  }
  .side-menu__link::before {
    top: 10px;
    left: 9px;
  }
  .side-news {
    padding: 8px;
  }
  .home-facebook {
    grid-template-columns: minmax(0, 1fr) minmax(120px, 36%);
    gap: clamp(12px, 3vw, 16px);
  }
  .home-publication-menu a,
  .home-publication-menu span,
  .competition-post__title-link,
  .competition-post__title-text,
  .competition-post__body a,
  .competition-menu a {
    font-size: clamp(17px, 4.2vw, 23px);
  }
  .news-content__body .wp-block-gallery,
  .news-content__body .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .base-content__body table {
    display: block;
    overflow-x: auto;
  }
}
