/*共通CSS*/
:root {
  --text: #696969;
  --bg: #ffffff;
  --accent: #dc143c;
  /* クリムゾン（タイトル帯・見出し） */
  --italian-red: #ff2800;
  /* 「重要なお知らせ」ラベル背景 */
  --nav-ico: #666666;
  /* ダークグレー（ナビ＆アイコン線色） */
  --muted: #f2f2f2;
  --badge-pink: #fde3f8;
  /* カレンダー背景＆フッター中段 */
  --news-bg: #fff0f5;
  /* 新着情報背景 */
  --dayori-bg: #f5fffa;
  /* 学校通信背景 */
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  /*font-family: "HGS創英角ポップ体", "HGS創英角ゴシックUB", "HGS創英角ゴシック", "創英角ポップ体", "創英角ゴシックUB", "創英角ゴシック", "UDデジタル教科書体", "ヒラギノ角ゴシック W3", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;*/

  font-family: "M PLUS Rounded 1c", sans-serif;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.content-link{
  display: flex;
  align-items: center;    /* 縦中央 */
  justify-content: center;/* 横中央 */
margin-bottom:10px;
gap:15px;
}

.next:hover{
background:#faffff;
}


a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

ol,
ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* PC左右余白 65px（+20） */
.container {
  margin-inline: auto;
  padding-inline: 65px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
padding-bottom:0;
}

/* 画面幅900px以上でコンテンツに左右余白70px（背景は除く） */
@media (min-width: 860px) {
  .container {
    padding-inline: 70px;
    box-sizing: border-box;
    max-width: 1200px;
    width: 100%;
  }

  /* フル幅の背景要素は余白をリセット */
  .full-bleed {
    margin-inline: -70px;
    padding-inline: 70px;
    width: calc(100% + 140px);
    max-width: none;
  }

  /* ヘッダー、カレンダー、地図、フッターの背景は余白なし */
  .header-bar,
  .calendar-section,
  .map-wrap,
  .foot-1,
  .foot-2,
  .foot-3 {
    margin-inline: -70px;
    padding-inline: 70px;

    max-width: none;
  }


}


#backToTop:hover {
  opacity: 1;
}

/* ========== Page Topボタン ========== */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
  opacity: 0.6;
  padding: 10px 15px;
  font-size: 12px;
}

#backToTop:hover {
  background-color: #878787;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#backToTop svg {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
}

/* ============ HEADER ============ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-bar {
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.7);

}

/* 背景 40% */
.logo {
  display: flex;
  align-items: center;
  gap: 12px
}

.logo img {
  width: 160px
}

/* Hamburger */
.hamburger {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #dc143c;
  cursor: pointer;
  user-select: none;
  z-index: 1000 !important;
  position: relative !important;
}

.hamburger .bars {
  display: grid;
  gap: 4px
}

.hamburger .bar {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px
}

.hamburger .menu-label {
  color: #fff;
  font-size: 12px;
  letter-spacing: .15em
}

/* Slide menu */
.drawer {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  width: min(86vw, 340px) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  transform: translateX(100%) !important;
  transition: transform .25s ease !important;
  z-index: 200 !important;
  display: flex !important;
  flex-direction: column !important;
}

.drawer.open {
  transform: translateX(0) !important;
}

.drawer header {
  position: static
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 16px;
  border-bottom: 1px solid #ddd
}

.drawer-close {
    font-size: 50px;
    cursor: pointer;
    margin-right: 2%;
    color: #aaa;
}

.drawer nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  color: #333
}

.drawer nav svg {
  width: 20px;
  height: 20px;
  stroke: #555;
  fill: none;
  stroke-width: 1.8
}

/* ============ HERO / SLIDER ============ */
.hero {
  position: relative;
  margin-top: 0;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform .4s ease
}

.slide {
  min-width: 100%;
  aspect-ratio: 16/6;
  background: #ddd;
  display: grid;
  place-items: center;
  position: relative
}

.slide img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.slide .overlay-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center
}

.slide .overlay-text img {
  max-width: min(80%, 800px)
}

/* ヘッダーテキスト画像 */

.slider .nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none
}

.slider button {
  pointer-events: auto;
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, .7);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  margin: 0 10px;
  cursor: pointer
}

/* ============ NAV AREA (desktop only) ============ */
.nav-area {
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  background: #fff
}

/* メイン前ナビは左右余白 15px */
.nav-area .container {
  padding-inline: 15px
}



.nav-item {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  transition: transform .15s ease
}

.nav-item:hover {
  transform: translateY(-2px)
}

.nav-item svg {
  width: 34px;
  height: 34px;
  stroke: var(--nav-ico);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.nav-item span {
  font-size: 13px;
  color: #333
}

/* ボーダーでメインと差別化 */
.divider {
  border-bottom: 3px double #e0e0e0
}

/* ============ MAIN ============ */
main {
  padding: 28px;
  margin-top: 20px;
  /* ヘッダーの高さ分のマージンを追加 */
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
margin-top:0;
}

.card-header svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  stroke: none
}

#new ,
.new{
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0
}

#new li,
.new li {
  padding: 10px 4px;
  border-bottom: 1px dashed #ccc
}

.card-foot,
.info-link-container {
  display: flex;
  justify-content: center;
  align-items: center;
margin-bottom:10px;
}

.more-btn {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid #bbb;
  border-radius: 999px;
  font-size: 13px
}

.pagination-btn {
  padding: 7px 14px;
  border: 1px solid #bbb;
  border-radius: 999px;
  font-size: 13px;
  background: var(--news-bg);
}

#pageInfo {
  display: flex;
  align-items: center;
  margin-inline: 10px;
}

.card.dayori {
  background: var(--dayori-bg)
}

.card.news {
  background: var(--news-bg)
}

/* ============ CALENDAR ============ */
.calendar-section {
  background: var(--badge-pink);
  padding: 34px 0;
  margin-top: 28px
}

.calendar-title {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 25px;
  margin-bottom: 18px
}

.calendar-title::before,
.calendar-title::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--accent)
}

.calendar-table {
  text-align: center;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  overflow: hidden;
  border: 1px solid #eee;
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}


.calendar-table thead th {
  background: #fafafa
}

.calendar-table .muted {
  color: #bbb
}

.calendar-table td small {
  display: block;
  font-size: 11px;
  margin-top: 4px
}

.event-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  padding: 12px 16px;
  font-size: 1.1em;
  max-width: 100%;
  margin: 0 auto;
}

.event-list-prev,
.event-list-next {
  color: #7b7b7b;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.calendar-header {
  padding: 10px 0;
  text-align: center;
  padding: 10px 0;
  text-align: center;
  font-size: 18px;
}

.calendar-header h3 {
  color: var(--accent) !important;
  margin: 0;
}

/* スマホ表示：行事日のみ表 */
.event-list {
  display: none;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
  box-sizing: border-box;
margin-inline:20px;

}

.event-list {
  width: 100%;
  border-collapse: collapse
}

.event-list ul,
.event-list li {
  border-bottom: 1px solid #eee;
  padding: 10px 12px;
text-align:left;
}

/* ============ MAP ============ */
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0
}

/* ============ FOOTER ============ */
footer {
  margin-top: 0;
}

.foot-1 {
  background: var(--badge-pink);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee
}

/* PCは 33% / 67% 配分 */
.foot-1 .inner {
  display: grid;
  align-items: start;
  padding: 22px 40px;
}

/* 左：ロゴ+その下に小さめSNS（さらに小さく & 揃える） */
.brand-social {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px
}

.brand-social .school-logo {
  width: 140px
}

.sns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.sns a {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ccc
}

.sns a svg {
  width: 14px;
  height: 14px;
  fill: #666
}

.vline {
  display: none
}

/* 右：フッターナビ（縦に3列ほど） */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.footer-nav h4 {
  margin: 0 0 8px 0;
  font-weight: 800
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.footer-nav li {
  font-size: 12px;
  line-height: 1.7
}

.foot-2 {
  background: #fff;
  padding: 20px;
}
.foot-3 {
  background: var(--accent);
  color: #fff
}



.school-info h3 {
  margin-bottom: 6px;
  font-size: 18px
}

.school-info ul {
  margin-top: 8px;

}

.school-info li {
  opacity: 0.8;
  margin: 0;
  font-size: 11px;
}

.school-info img {
  width: 180px;
}

.city-links {
  margin-right: 0;
  display: grid;
  gap: 8px;
  justify-items: end;
  max-width: 100%;
  box-sizing: border-box;
  padding-right: 20px;
}

.city-links .banner {
  width: 100%;
  max-width: 260px;
  height: 60px;
  background: rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  border-radius: 8px;
  box-sizing: border-box;
}

.copyright {
  font-size: 12px;
  opacity: .85
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .container {
    padding-inline: 15px;
  }



  .cards {
    /*grid-template-columns: 1fr;*/
    gap: 10px;
  }

  .foot-1 .inner {
    grid-template-columns: 1fr
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }



  .city-links {
    justify-items: start
  }

  .container {
    font-size: 0.8rem;
  }




}

@media (max-width: 1024px) {

  .container th,
  .container td {
    width: auto;
    min-width: 0;
  }

}

@media (max-width: 567px) {
  .calendar-title {
    font-size: 20px;
    gap: 10px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 13px;
    margin: 0 auto;
    padding: 0;
  }

main{padding:10px;}

  /* ヒーローセクションのマージンを削除 */
  .hero {
    margin-top: 80px;
  }


  /* メインコンテンツのマージンを削除 */
  main {
    margin-top: 0;
  }

  /* スマホ版のコンテナ余白を統一 */
  .container {
    padding-inline: 15px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* メイン前のナビゲーション非表示 */
  .nav-area {
    display: none
  }


  .cards {
    grid-template-columns: 1fr;
  }



  /* カレンダー -> 行事のみ */
  .calendar-table {
    display: none
  }


  .event-list {
    text-align: center;
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .event-list ul,
  .event-list li {
    border: 1px solid #eee;
  }



  .brand-social {
    flex-direction: column;
    align-items: flex-start
  }

    .pc-only {
        display: none !important;
    }

  /* ヘッダー、カレンダー、地図、フッターの統一された余白 */
  .header-inner {
    padding: 10px 10px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .calendar-section .container {
    padding-inline: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .full-bleed {
    margin-inline: 0 !important;
    padding-inline: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .foot-1 .inner,
  .foot-2 .container,
  .foot-3 .inner {
    padding-inline: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* カードの余白調整 */
  .card {
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }



  .card-header {
    padding: 10px 10px !important;
  }

  .card-foot,
  .info-link-container {
    padding: 10px 10px !important;

  }

  /* リストの余白調整 */
  #new li , 
.new li {
    padding: 10px 0 !important;
  }

  .foot-3 {
    text-align: center;
    padding: 10px 0;
  }


  .school-info h3 {
    margin: 10px 0;
    text-align: center;
  }

  .school-info p {
    margin: 10px 0;
    text-align: center;
  }

  .foot-3 .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
  }

  .school-info h3 {
    margin: 10px 0;
    text-align: center;
  }

  .school-info p {
    margin: 10px 0;
    text-align: center;
  }

  .city-links {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 0;
  }

  .slider button {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .drawer {
    background: rgba(255, 255, 255, 0.9) !important;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    padding-inline: 20px;
  }

}



@media (min-width: 720px) {

  .foot-3 .inner {
    padding-inline: 20px !important;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 20px 40px !important;
    box-sizing: border-box;
  }

  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .footer-nav h4 {
    font-size: 16px !important;
  }

  .footer-nav li {
    font-size: 14px !important;
  }

}

@media (max-width: 700px) {
  .foot-3 .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 15px 20px;
    text-align: center;
  }

  .school-info {
    order: 1;
  }

  .city-links {
    order: 2;
    margin: 0;
    justify-self: center;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 0;
  }

  .container th,
  .container td {
    width: auto;
    min-width: 0;
  }

}

@media (max-width: 412px) {
  .footer-nav {
    padding-inline: 20px;
    grid-template-columns: 1fr;
  }

  .footer-nav h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
  }

  .footer-nav ul {
    display: none
  }

  .footer-nav h4::after {
    content: "\25BE";
    font-size: 12px
  }

  .pagination-btn,
  .more-btn {
    font-size: 10px;
    padding: 5px 10px;
  }

}

@media (min-width: 412px) {

  .footer-nav h4 {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 800;
    position: relative;
  }

  .footer-nav li {
    font-size: 12px;
  }

  .footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100px;
    height: 1px;
    background-color: #dc0000;
  }
}

@media screen and (min-width: 568px) {
  .foot-2 {
    max-width: 921.6px;
    margin: 5% auto 6% !important;
    text-align: center !important;
    vertical-align: top !important;
  }
}



/* ==============CALENDAR================ */
.calendar-container {
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.calendar-header {
  padding: 10px 0;
  text-align: center;
  width: 100%;
}

.calendar-header h3 {
  margin: 0 !important;
  font-size: 1.2em;
}

.calendar-table {
  border-collapse: collapse;
  background: #fff;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}

.calendar-table th,
.calendar-table td {
  padding: 8px 5px !important;
  text-align: center;
  border: 1px solid #dee2e6;
  vertical-align: middle;
  position: relative;
  border-radius: 0 !important;
  width: auto;
  min-width: 0;
}

.calendar-table th {
  background: #f8f9fa;
  font-weight: bold;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
}

.calendar-table td:empty {
  background: #f8f9fa;
}

.event-day {
  background: #f8f0f5 !important;
  font-weight: bold;
}

.event-title {
  display: block;
  font-size: 0.75em;
  color: #333;
  font-weight: normal;
  margin-top: 5px;
  line-height: 1.2;
}

.calendar-events {
  max-width: 900px;
  margin: 20px auto 0 auto;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 6px;
  font-size: 1em;
  color: #333;
}

.calendar-events ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.calendar-events li {
  padding: 5px 0;
  font-size: 1em;
}

.calendar-events .date {
  font-weight: bold;
  color: #7b7b7b;
}


@media screen and (max-width: 768px) {
  .calendar-events {
    font-size: 0.95em;
    padding: 15px 15px;
  }
}

.pc-only {
  display: inline;
}


@media screen and (min-width: 720px){
.sp-only {
  display: none;
}
}



@media screen and (max-width: 768px) {

  .event-list ul,
  .event-list li {
    height: auto;
  }

  .calendar-header h3 {
    font-size: 15px;
    margin: 10px 0;
    padding: 0;
  }

  .sp-only {
    display: block;
  }

}

/* ハンバーガーメニューの動作を確実にする */
.drawer {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  width: min(86vw, 340px) !important;
  background: rgba(255, 255, 255, 0.90) !important;
  box-shadow: -6px 0 18px rgba(0, 0, 0, .12) !important;
  transform: translateX(100%) !important;
  transition: transform .25s ease !important;
  z-index: 2000 !important;
  display: flex !important;
  flex-direction: column !important;
}

.drawer.open {
  transform: translateX(0) !important;
}

.hamburger {
  cursor: pointer !important;
  display: inline-flex !important;
  z-index: 1000 !important;
  position: relative !important;
}

/* サブバナーのプレースホルダー */
.sub-banner-placeholder {
  width: 100%;
  aspect-ratio: 16/6;

  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
}

.event-section-center {
	display: flex;
	justify-content: center;
	width: 100%;
}

.section-container {
	width: 100%;
	max-width: 900px;
}
.event-list-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	font-size: 1.1em;
	max-width: 100%;
	margin: 0 auto;
	margin-bottom: 16px;
}

.pc-only .event-list-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	padding: 12px 16px;
	font-size: 1.1em;
	max-width: 100%;
	margin: 0 auto;
	margin-bottom: 16px;
}

.event-list-title {
	font-weight: bold;
	font-size: 1.2em;
}

.event-list-prev,
.event-list-next {
	text-decoration: none;
	font-weight: bold;
	transition: color 0.2s;
}

.event-list-prev:hover,
.event-list-next:hover {
	color: #dc143c;
background:none;
	text-decoration: underline;
}

.event-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 700px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.event-list li {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	border-bottom: 1px solid #eee;
	padding: 16px 12px;
	font-size: 1.1em;
}

.event-list li:last-child {
	border-bottom: none;
}

.event-date {
	font-weight: bold;
	min-width: 120px;
	margin-right: 16px;
}

.event-detail {
	color: #333;
	display: contents;
	margin-bottom: 4px;
	line-height: 1.3;
	width: 100%;
	/*margin-left: calc(120px + 16px);*/
}
@media (max-width: 600px) {


	.event-list li {
		align-items: flex-start;
		padding: 12px 8px;
	}

	.event-date {
		margin-bottom: 4px;
		margin-right: 0;
	}

	.event-list-header {
		display: flex;
		gap: 6px;
		padding: 10px 8px;
		font-size: 1em;
		max-width: 100%;
	}
.page__contents__wrapper .contents-title-container h3,
 .section-title,
 .event-list-title{font-size:24px !important;}
}


.section-container {
	padding: 20px;
	margin: 0 auto;
}

.calendar-table td span{
    text-align: left !important;
}

/* PC：常に“最大3列”で中央寄せ。2枚なら真ん中に並ぶ */
.sub-banners {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center; 
}

/* 直下要素（aでもdivでもimgでもOK）を“3カラム幅”にする */
.sub-banners > * {
  flex: 0 1 calc((100% - 28px) / 3); 
  max-width: 340px;
}

.sub-banners img {
  height: auto;
  object-fit: cover;
  display: block;
}

/* タブレット：2列 */
@media (max-width: 900px) {
  .sub-banners > * {
    flex: 0 1 calc((100% - 14px) / 2);
  }
}

/* スマホ：1列（全幅） */
@media (max-width: 567px) {
  .sub-banners > * {
    flex: 0 1 100%;
    max-width: 520px;
  }
}
.school_list02 {
    width: 100%;
    padding: 1em 2em 1em !important;
    margin: 1.5% auto 3%;
}

.school_list02 li {
    font-size: 14px;
    line-height: 1.4em;
    padding: 1.3em 1em .3em;
    text-indent: -.7em;
    text-align: left !important;
}

.school_list02 li:before {
    content: '\f138';
    font-family: 'FontAwesome';
    display: inline-block;
    vertical-align: middle !important;
    margin-right: .5em;
    color: #f29600;
}

.next:hover,.prev:hover{background:#FFFAFF;}

.event-list { margin: 0; padding: 0; list-style: none; }

.event-list li {
  display: flex;
  align-items: center;
  gap: .2rem; 
  border-bottom: 1px solid #eee;
  font-size: 1.1em;
}

.event-list li .event-date{
  flex: 0 0 25%;
  min-width: 0; 
  white-space: nowrap;
  overflow: hidden; 
}
.event-list li .event-detail{
  flex: 1 1 auto;
  min-width: 0;
}

.event-date {
    margin-inline: 8px;
}

@media (max-width: 567px){
.sub-banners img {
    width: 250px;
}
.sub-banners{
gap: 0px;
}
}
.news_contents p{
    padding: 1em 0em .3em;
}

.news_contents p a {
    font-size: 16px;
    line-height: 1.4em;
    border-bottom: dashed 1px #898989;
    color: #3c3a39;
    display: block;
    margin: 0 0 5px 0;
    padding:1em;
}

.news_contents p a:before {
    content: '\f0a9';
    font-family: 'FontAwesome';
    display: inline-block;
    vertical-align: middle !important;
    margin-right: .5em;
    color: #f29600;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* font-family: 'FontAwesome'; */
}
