@layer pages {
  /* ベースカラー・フォントカラー上書き */
  html,
  body.page-admissions {
    --color-main: #008ee5;
    --color-text: #103049;
    color: #103049;
    overflow-x: hidden;
  }

  /* Layout */
  .l-wrapper {
    display: flex;
   /* min-height: 100vh;*/
  }

  .l-header {
    width: 250px;
    height: auto; /* 100vh から auto に変更 */
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    /* border-right: 1px solid #eee; */ /* 右側のラインを削除 */
    z-index: 100;
    /* overflow-y: auto; */ /* 高さが自動になるため不要 */
  }

  .l-main {
    width: 100%;
    padding-left: 250px;
    background: #fff;
    min-width: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .l-sp-fixed-header {
    display: none;
  }

  /* Header / Nav */
  .l-header__inner {
    padding: 20px 0;
  }

  .l-header__logo {
    padding: 0 20px 0; /* 下パディングを0に変更 */
    /* border-bottom: 1px solid #eee; */ /* ラインを削除 */
    margin-bottom: 20px; /* ナビゲーションとの間隔を20pxに設定 */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .l-header__logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-text);
  }

  .l-header__logo img {
    width: 180px; /* ロゴの幅を180pxに変更 */
    margin-bottom: 10px;
  }

  .l-header__logo span {
    font-size: 1.4rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px; /* 幅を180pxに固定 */
    height: 40px; /* 高さを適宜設定 */
    border-top: 1px solid var(--color-text); /* 上ライン */
    border-bottom: 1px solid var(--color-text); /* 下ライン */
  }

  .l-nav__list {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    width: 180px; /* ナビゲーションリストの幅を180pxに固定 */
    
  }

  .l-nav__link {
    display: flex;
    align-items: center;
    padding: 8px 0; /* 12px から 8px に縮小 */
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.4rem;
    font-weight: normal;
    transition: background 0.3s;
  }

  .l-nav__link:hover {
    background: #f9f9f9;
  }

  .l-nav__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* アイコンエリアの幅を固定して文字の開始位置を揃える */
    margin-right: 12px;
    flex-shrink: 0;
  }

  .l-nav__icon {
    width: auto;
    height: auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 拡大アニメーションを追加 */
  }

  .l-nav__link:hover .l-nav__icon {
    transform: scale(1.15); /* マウスオーバーで1.15倍に拡大 */
  }

  .l-nav__icon.v-event { width: 24px; }
  .l-nav__icon.v-adm { width: 36px; }
  .l-nav__icon.v-gakubu { width: 32px; }
  .l-nav__icon.v-gakusei { width: 20px; }
  .l-nav__icon.v-senpai { width: 27px; }
  .l-nav__icon.v-kyoin { width: 18px; }

  .l-nav__arrow,
  .l-nav__blank {
    width: 12px;
    margin-left: auto;
    /* transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 削除 */
  }

  @keyframes slideArw {
    0% {
      opacity: 1;
      transform: translateX(0);
    }
    49.9% {
      opacity: 0;
      transform: translateX(10px);
    }
    50% {
      opacity: 0;
      transform: translateX(-10px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideArwRev {
    0% {
      opacity: 1;
      transform: translateX(0);
    }
    49.9% {
      opacity: 0;
      transform: translateX(-10px);
    }
    50% {
      opacity: 0;
      transform: translateX(10px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideArwSub {
    0% {
      opacity: 1;
      transform: translateY(-50%) translateX(0);
    }
    49.9% {
      opacity: 0;
      transform: translateY(-50%) translateX(10px);
    }
    50% {
      opacity: 0;
      transform: translateY(-50%) translateX(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(-50%) translateX(0);
    }
  }

  .l-nav__link:hover .l-nav__arrow,
  .l-nav__link:hover .l-nav__blank {
    animation: slideArw 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  }

  /* Sub Menu */
  .l-nav__item--has-sub {
    position: relative;
  }

  .l-nav__sub {
    position: fixed;
    top: 0;
    left: 220px;
    width: 310px;
    height: 100vh;

  
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    overflow-y: auto;
    box-sizing: border-box;
    pointer-events: none;
    padding-left: 30px;
  }

  .l-nav__sub.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .l-nav__sub.v-kyoin {
    top: 300px;
    height: calc(100vh - 300px);
  }

  .l-nav__sub-inner {
    background: #e1f0f7;
    padding: 40px 20px;
    height: 100vh;
  }

  .l-nav__sub-title {
    font-size: 1.8rem;
    font-weight: normal;
    color: #004a82;
    margin-bottom: 20px; /* 30px から 20px に縮小 */
    padding-left: 10px;
  }

  .l-nav__sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .l-nav__sub-list li {
    border-bottom: 1px solid rgba(0, 74, 130, 0.1);
  }

  .l-nav__sub-list a {
    display: flex;
    align-items: center;
    padding: 10px; /* 15px から 10px に縮小 */
    text-decoration: none;
    color: #333;
    font-size: 1.4rem;
    font-weight: normal;
    transition: color 0.3s;
    position: relative;
    line-height: 1.3; /* 行間を少し詰める */
  }

  .l-nav__sub-list a:hover {
    color: #004a82;
  }

  .l-nav__sub-list a::after {
    content: "";
    width: 12px; /* nav_icon_arrow.svg のサイズに合わせる */
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg id='_レイヤー_2' data-name='レイヤー 2' xmlns='http://www.w3.org/2000/svg' width='10' height='7.61' viewBox='0 0 10 7.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23204263;%7D%3C/style%3E%3C/defs%3E%3Cg id='_デザイン' data-name='デザイン'%3E%3Cpolygon class='cls-1' points='5.16 6.57 7.19 4.54 0 4.54 0 3.07 7.19 3.07 5.16 1.04 6.19 0 10 3.81 6.19 7.61 5.16 6.57'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    /* transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 削除 */
  }

  .l-nav__sub-list a:hover::after {
    animation: slideArwSub 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  }

  .l-nav__search {
    padding: 0;
    margin: 0 auto 15px;
    width: 180px; /* 検索エリアの幅を180pxに固定 */
  }

  .l-nav__search-form {
    position: relative;
    display: flex;
    align-items: center;
  }

  .l-nav__search-input {
    width: 100%;
    padding: 8px 15px 8px 35px; /* 左側にアイコン用の余白を確保 */
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 1.2rem;
    box-sizing: border-box;
  }

  .l-nav__search-btn {
    position: absolute;
    left: 10px; /* 右から左に変更 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
  }

  .l-nav__search-btn img {
    width: 18px;
  }

  .l-nav__official {
    padding: 0;
    margin: 0 auto 15px;
    width: 160px; /* 公式サイトリンクの幅を180pxに固定 */
    font-size: 1.2rem;
  }

  .l-nav__official a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text);
    font-weight: normal;

  }

  .l-nav__official a img {
    width: 12px;
    margin-left: auto;
  }

  .l-nav__official a:hover img {
    animation: slideArw 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  }

  .l-nav__sns {
    display: flex;
    justify-content: space-between; /* 両端に広げて180pxに収める */
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 auto 15px;
    width: 180px; /* SNSエリアの幅を180pxに固定 */
  }

  .l-nav__sns img {
    width: 24px;
  }

  .l-nav__btns {
    padding: 0;
    margin: 0 auto;
    width: 180px; /* ボタンエリアの幅を180pxに固定 */
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .c-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* センター寄せから左寄せに変更 */
    padding: 12px 12px 12px 70px; /* 文字の開始位置を左から70pxに設定 */
    width: 100%; /* 親の180pxに合わせる */
    height: 50px; /* 高さを統一 */
    box-sizing: border-box;
    border-radius: 25px;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
   /* font-weight: bold;*/
    position: relative; /* アイコンの絶対配置用 */
  }

  .c-btn img {
    position: absolute;
    left: 30px; /* アイコンを左から30pxに配置 */
    top: 50%;
    transform: translateY(-50%);
    display: block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 拡大アニメーションを追加 */
  }

  .c-btn:hover img {
    transform: translateY(-50%) scale(1.1); /* マウスオーバーで拡大（中央揃えを維持） */
  }

  .c-btn--shiryo img {
    width: 18px; /* 資料請求アイコンの幅 (約110%) */
    left: 34px; /* 資料請求アイコンのみ左から34pxに配置 */
  }

  .c-btn--shutsugan img {
    width: 26px; /* ネット出願アイコンの幅 (約110%) */
    left: 30px; /* ネット出願は30pxを維持 */
  }

  .c-btn--shiryo,
  .c-btn--shutsugan {
    background: var(--color-main); /* --color-main を使用 */
    transition: background-color 0.3s;
  }

  .c-btn--shiryo:hover,
  .c-btn--shutsugan:hover {
    background-color: #4cb0ed; /* マウスオーバー時のカラーを指定 */
  }

  /* KV */
  .p-kv {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-bottom-left-radius: 40px; /* PC版の角丸サイズを40pxに変更 */
    opacity: 0;
    animation: kvFadeIn 2s ease-out forwards;
  }

  @keyframes kvFadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .is-top .p-kv {
    height: 610px;
  }

  .p-kv__logo {
    display: none;
  }

  .p-kv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .p-kv__moji {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 500px;
    z-index: 5;
    pointer-events: none;
  }

  .p-kv__moji img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .p-kv__title {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: #fff;
  }

  .p-kv__title h1 {
    font-size: 3.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }

  /* TOP KV Scroll */
  .p-kv__scroll {
    position: absolute;
    right: 40px;
    bottom: 30px;
    writing-mode: vertical-rl;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    padding-bottom: 80px;
    color: #333;
  }

  .p-kv__scroll::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 60px;
    background: #333;
    transform: translateX(-50%);
    transform-origin: top;
    animation: scrollLine 2.1s ease-in-out infinite;
  }

  @keyframes scrollLine {
    0% {
      transform: translateX(-50%) scaleY(0);
    }
    47.6% { /* 約1秒で伸びる */
      transform: translateX(-50%) scaleY(1);
    }
    95.2% { /* 1秒間静止 */
      transform: translateX(-50%) scaleY(1);
    }
    100% { /* 0.1秒で縮む */
      transform: translateX(-50%) scaleY(0);
    }
  }

  /* TOP Contents */
  .p-top-contents {
    padding-top: 60px;
  }

  .p-top-section {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 40px;
  }

  .p-top-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center; /* タイトルグループとMoreボタンを縦中央で揃える */
    margin-bottom: 30px;
  }

  .p-top-section__title-wrap {
    display: flex;
    align-items: baseline; /* ベースライン（文字の下端）で揃える */
    gap: 20px;
  }

  .p-top-section__title {
    font-size: 3.6rem;
    font-weight: bold;
    color: var(--color-main);
    line-height: 1;
  }

  .p-top-section__subtitle {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    transform: translateY(-5px); /* 5px 上に移動 */
  }

  .p-top-section__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 40px;
    border: 1px solid #8797a4; /* 通常時のボーダー色 */
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    position: relative; /* absoluteから戻す */
    padding-right: 15px;
  }

  .p-top-section__more::after {
    content: "";
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg id='_レイヤー_2' data-name='レイヤー 2' xmlns='http://www.w3.org/2000/svg' width='10' height='7.61' viewBox='0 0 10 7.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23204263;%7D%3C/style%3E%3C/defs%3E%3Cg id='_デザイン' data-name='デザイン'%3E%3Cpolygon class='cls-1' points='5.16 6.57 7.19 4.54 0 4.54 0 3.07 7.19 3.07 5.16 1.04 6.19 0 10 3.81 6.19 7.61 5.16 6.57'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .p-top-section__more:hover {
    background: #ccedfa;
    color: #333;
    border-color: #8797a4; /* マウスオーバー時も同じボーダー色 */
  }

  .p-top-section__more:hover::after {
    animation: slideArwSub 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  }

  /* TOP Pick up */
  .p-top-pickup {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .p-top-pickup.is-inview {
    opacity: 1;
    transform: translateY(0);
  }

  .p-top-pickup .unit-carousel {
    margin: 0 -40px;
    padding: 0 40px;

    .swiper-button-next,
    .swiper-button-prev {
      background: var(--color-main);
      border-color: var(--color-main);
      color: #fff;
    }

    .swiper-button-pause {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: opacity 0.3s;
      background: transparent;
      border: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27.86 27.86'%3E%3Crect fill='%23f4f4f4' width='27.86' height='27.86' rx='2.4' ry='2.4'/%3E%3Crect fill='%23637b92' x='10.45' y='8.71' width='2.09' height='10.45' rx='.24' ry='.24'/%3E%3Crect fill='%23637b92' x='16.02' y='8.71' width='2.09' height='10.45' rx='.24' ry='.24'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      user-select: none;
      -webkit-user-select: none;
      caret-color: transparent;
      outline: none;

      &:hover {
        opacity: 0.7;
      }

      &.is-paused {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Crect fill='%23f4f4f4' width='40' height='40' rx='3' ry='3'/%3E%3Cpath fill='%2300a5e6' d='M16.9,13.2l8.92,6.48c.22.16.22.49,0,.65l-8.92,6.48c-.26.19-.64,0-.64-.32v-12.95c0-.33.37-.52.64-.32Z'/%3E%3C/svg%3E");
      }
    }
  }

  .p-top-pickup .unit-carousel__thumb {
    border-radius: 0;
    overflow: hidden;
  }

  .p-top-pickup .unit-carousel__thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  .p-top-pickup .unit-carousel__ttl {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 1.6rem;
  /*  font-weight: bold;*/
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  /* Pickup Index List */
  .adm_picup_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .adm_picup_box {
    margin-bottom: 0;
  }

  .adm_picup_box .unit-carousel__link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
  }

  .adm_picup_box .unit-carousel__link:hover {
    opacity: 0.7;
  }

  .adm_picup_box__thumb {
    width: 100%;
    aspect-ratio: 433 / 289;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f6f6f8;
  }

  .adm_picup_box__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .adm_picup_box__ttl {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
    margin: 0;
  }

  /* TOP Grid (Events & News) */
  .p-top-events,
  .p-top-news {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .p-top-events.is-inview,
  .p-top-news.is-inview {
    opacity: 1;
    transform: translateY(0);
  }

  .p-top-grid {
    background: #f6f6f8;
    padding: 80px 0;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    margin-bottom: 95px;
  }

  .p-top-grid__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 40px;
  }

  .p-top-grid .p-top-section {
    margin: 0;
    padding: 0;
    max-width: none;
  }

  /* TOP Event List */
  .p-top-event-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .p-top-event-item {
    border-bottom: none;
  }

  .p-top-event-link {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s;
  }

  .p-top-event-link:hover {
    opacity: 0.7;
  }

  .p-top-event-thumb {
    width: 230px;
    flex-shrink: 0;
  }

  .p-top-event-thumb img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
  }

  .p-top-event-content {
    flex: 1;
    min-width: 0;
  }

  .p-top-event-ttl {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #8797a4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  .p-top-event-dates {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .p-top-event-date-row {
    font-family: "Jost", sans-serif;
    font-weight: normal;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #333;
  }

  .p-top-event-date-row .year {
    font-size: 1.4rem;
    color: #666;
  }

  .p-top-event-date-row .day {
    font-size: 2.4rem;
    font-weight: normal;
    margin: 0 4px;
  }

  .p-top-event-date-row .dow {
    font-size: 1.2rem;
    margin-right: 4px;
  }

  .p-top-event-date-row .is-sun,
  .p-top-event-date-row .is-sun span { color: #e60012; }

  /* Related Buttons */
  .p-event-related {
    margin-top: 60px;
  }

  .p-event-related__inner {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .p-event-related__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 290px;
    min-height: 70px;
    padding: 10px 25px;
    border: 1px solid #ddd;
    border-radius: 35px;
    text-decoration: none;
    color: #333;
    font-size: 1.6rem;
    font-weight: bold;
    position: relative;
    box-sizing: border-box;
    transition: background-color 0.3s, border-color 0.3s;
  }

  .p-event-related__btn:hover {
    background-color: #f9f9f9;
    border-color: #ccc;
  }

  .p-event-related__btn::after {
    content: "";
    width: 50px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg id='_レイヤー_2' data-name='レイヤー 2' xmlns='http://www.w3.org/2000/svg' width='62.72' height='9.68' viewBox='0 0 62.72 9.68'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23008ee5;%7D%3C/style%3E%3C/defs%3E%3Cg id='_枠' data-name='枠'%3E%3Cpolygon class='cls-1' points='56.56 8.37 59.15 5.77 0 5.77 0 3.91 59.15 3.91 56.56 1.32 57.88 0 62.72 4.84 57.88 9.68 56.56 8.37'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
    flex-shrink: 0;
    margin-left: 15px;
  }

  .p-event-related__btn:hover::after {
    animation: slideArw 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  }

  /* TOP News List */
  .p-top-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr; /* 1カラムに変更 */
    gap: 0;
  }

  .p-top-news-item {
    border-bottom: 1px solid #ddd;
  }

  .p-top-news-link {
    display: flex; /* 横並びに変更 */
    align-items: center; /* 縦中央揃え */
    gap: 15px; /* 隙間を調整 */
    padding: 15px 0;
  }

  .p-top-news-link time {
    display: block;
    font-size: 1.4rem;
    font-family: "Jost", sans-serif;
    color: #666;
    flex-shrink: 0;
    margin-bottom: 0; /* マージンをゼロに */
  }

  .p-top-news-sep {
    color: #008ee5;
    font-size: 1.4rem;
    flex-shrink: 0;
  }

  .p-top-news-category {
    font-size: 1.4rem;
    color: #333;
    flex-shrink: 0;
    min-width: 4.5em;
    text-align: center;
  }

  .p-top-news-ttl {
    flex: 1;
    font-size: 1.6rem;
    font-weight: normal; /* 太さを普通に変更 */
    line-height: 1.5;
    margin-bottom: 0; /* マージンをゼロに */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* PC版では1行で省略表示 */
  }

  .p-top-news-ttl a {
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s;
  }

  .p-top-news-ttl a:hover {
    opacity: 0.7;
  }

  .p-top-news-ttl a[href*=".pdf" i]::after,
  .p-top-news-ttl a[href*=".xlsx" i]::after,
  .p-top-news-ttl a[href*=".docx" i]::after {
    content: "";
    display: inline-block;
    width: 24px;
    aspect-ratio: 1/1;
    margin-left: 0.5em; /* テキストのすぐ右に配置 */
    background: no-repeat center/contain;
    vertical-align: middle;
    flex-shrink: 0;
  }

  .p-top-news-ttl a[href*=".pdf" i]::after {
    background-image: url("data:image/svg+xml,%3Csvg id='_レイヤー_2' data-name='レイヤー 2' xmlns='http://www.w3.org/2000/svg' width='24' height='30.55' viewBox='0 0 24 30.55'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fff;%7D.cls-2%7Bfill:%23c60932;%7D%3C/style%3E%3C/defs%3E%3Cg id='_コンテンツ' data-name='コンテンツ'%3E%3Cg%3E%3Cg%3E%3Cpolygon class='cls-1' points='7 .53 .54 7 .54 30.02 23.47 30.02 23.47 .53 7 .53'/%3E%3Cpath class='cls-2' d='M23.46,0H7s-.05.01-.07.01c-.02,0-.05,0-.07.01-.09.02-.17.06-.24.13,0,0,0,0,0,0l-3.23,3.23L.16,6.62c-.07.07-.11.15-.13.24,0,.02,0,.04-.01.06,0,.02-.01.05-.01.07v23.02c0,.3.24.54.54.54h22.93c.3,0,.54-.24.54-.54V.54c0-.3-.24-.54-.54-.54ZM22.93,29.48H1.07V7.53h5.93c.3,0,.54-.24.54-.54V1.07h15.4v28.41Z'/%3E%3C/g%3E%3Cg%3E%3Cpath class='cls-2' d='M6.03,13.33h-2.63c-.06,0-.11.05-.11.11v8.4c0,.06.05.11.11.11h1.7c.06,0,.11-.05.11-.11v-2.84h.81c1.75,0,2.79-1.07,2.79-2.87s-1.02-2.81-2.79-2.81ZM6.89,16.13c0,.86-.32,1.2-1.15,1.2h-.52v-2.33h.52c.81,0,1.15.34,1.15,1.13Z'/%3E%3Cpath class='cls-2' d='M12.21,13.33h-2.61c-.06,0-.11.05-.11.11v8.4c0,.06.05.11.11.11h2.61c2.38,0,2.88-2.05,2.88-3.77v-1.1c0-2.5-.97-3.77-2.88-3.77ZM13.15,18.19c0,1.54-.25,2.09-.94,2.09h-.79v-5.27h.79c.71,0,.94.53.94,2.09v1.1Z'/%3E%3Cpath class='cls-2' d='M20.6,13.33h-4.43c-.06,0-.11.05-.11.11v8.4c0,.06.05.11.11.11h1.7c.06,0,.11-.05.11-.11v-3.32h2.31c.06,0,.11-.05.11-.11v-1.44c0-.06-.05-.11-.11-.11h-2.31v-1.87h2.61c.06,0,.11-.05.11-.11v-1.44c0-.06-.05-.11-.11-.11Z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  .p-top-news-ttl a[href*=".xlsx" i]::after {
    background-image: url("data:image/svg+xml,%3Csvg id='_レイヤー_2' data-name='レイヤー 2' xmlns='http://www.w3.org/2000/svg' width='24' height='30.55' viewBox='0 0 24 30.55'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fff;%7D.cls-2%7Bfill:%23085b22;%7D%3C/style%3E%3C/defs%3E%3Cg id='_コンテンツ' data-name='コンテンツ'%3E%3Cg%3E%3Cpolygon class='cls-1' points='7 .54 .54 7 .54 30.02 23.47 30.02 23.47 .54 7 .54'/%3E%3Cpath class='cls-2' d='M23.46,0H7s-.05.01-.07.01c-.02,0-.04,0-.06.01-.09.02-.18.06-.24.13,0,0,0,0,0,0l-3.23,3.23L.16,6.62c-.07.07-.11.15-.13.24,0,.02,0,.04-.01.06,0,.02-.01.05-.01.07v23.02c0,.3.24.54.54.54h22.93c.3,0,.54-.24.54-.54V.54c0-.3-.24-.54-.54-.54ZM22.93,29.48H1.07V7.53h5.93c.3,0,.54-.24.54-.54V1.07h15.4v28.41Z'/%3E%3Cpath class='cls-2' d='M13.98,17.69l2.98-5.93s0-.04,0-.06c-.01-.02-.03-.03-.06-.03h-3.2s-.05.01-.06.04l-1.65,3.48-1.65-3.48s-.03-.04-.06-.04h-3.2s-.04.01-.06.03c-.01.02-.01.04,0,.06l2.97,5.93-3.34,6.33s0,.04,0,.06c.01.02.03.03.06.03h3.2s.05-.01.06-.03l2.03-3.77,2.03,3.77s.03.03.06.03h3.2s.04-.01.06-.03c.01-.02.01-.04,0-.06l-3.36-6.33Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  .p-top-news-ttl a[href*=".docx" i]::after {
    background-image: url("data:image/svg+xml,%3Csvg id='_レイヤー_2' data-name='レイヤー 2' xmlns='http://www.w3.org/2000/svg' width='22' height='28.01' viewBox='0 0 22 28.01'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23082c7c;%7D.cls-2%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Cg id='_コンテンツ' data-name='コンテンツ'%3E%3Cg%3E%3Cpolygon class='cls-2' points='6.41 .49 .49 6.41 .49 27.51 21.51 27.51 21.51 .49 6.41 .49'/%3E%3Cpath class='cls-1' d='M21.51,0H6.41s-.04,0-.06.01c-.02,0-.04,0-.06.01-.08.02-.16.06-.22.12L.14,6.07c-.06.06-.1.14-.12.22,0,.02,0,.04-.01.06,0,.02-.01.04-.01.06v21.1c0,.27.22.49.49.49h21.02c.27,0,.49-.22.49-.49V.49c0-.27-.22-.49-.49-.49ZM21.02,27.02H.98V6.9h5.43c.27,0,.49-.22.49-.49V.98h14.11v26.04Z'/%3E%3Cpath class='cls-1' d='M16.93,11.42s-.04-.03-.07-.03h-2.34s-.08.03-.09.08l-.87,6.12-1.45-6.13s-.05-.07-.09-.07h-2.05s-.08.03-.09.07l-1.45,6.13-.87-6.12s-.04-.08-.09-.08h-2.34s-.05.01-.07.03c-.02.02-.02.05-.02.08l1.99,10.56s.05.07.09.07h2.04s.08-.03.09-.07l1.75-6.63,1.75,6.63s.05.07.09.07h2.04s.08-.03.09-.07l1.99-10.56s0-.05-.02-.08Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  /* News Tabs */
  .p-news-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: none;
    list-style: none;
    padding: 0;
  }

  .p-news-tab {
    width: 120px;
    text-align: center;
    position: relative;
  }

  .p-news-tab a {
    text-decoration: none;
    color: #333;
    font-size: 1.8rem;
    font-weight: normal;
    display: block;
    padding: 0 0 10px; /* aタグにパディングを移動 */
    transition: color 0.3s;
    position: relative;
  }

  .p-news-tab a::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--color-main);
    transition: all 0.3s ease;
    opacity: 0;
  }

  .p-news-tab a:hover::after {
    width: 100%;
    left: 0;
    opacity: 0.5; /* 非active時は少し薄く */
  }

  .p-news-tab.active a::after {
    width: 100%;
    left: 0;
    opacity: 1;
  }

  .p-news-tab a:hover {
    color: #4cb0ed; /* 非active時は少し薄い青 */
  }

  .p-news-tab.active a:hover {
    color: #333; /* active時は色を変えない */
  }

  .p-news-tab.active a {
    color: #333;
  }

  /* Back Button */
  .c-back-btn-wrap {
    padding-left: 250px;
    box-sizing: border-box;
  }

  .c-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 50px;
    margin: 60px auto;
    background: #f4f4f4;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-size: 1.4rem;
    font-weight: bold;
    transition: background-color 0.3s;
    position: relative;
    padding-left: 20px;
  }

  .c-back-btn:hover {
    background-color: #eee;
  }

  .c-back-btn::before {
    content: "";
    width: 16px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg id='_レイヤー_2' data-name='レイヤー 2' xmlns='http://www.w3.org/2000/svg' width='14' height='10.66' viewBox='0 0 14 10.66'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23103049;%7D%3C/style%3E%3C/defs%3E%3Cg id='_デザイン' data-name='デザイン'%3E%3Cpolygon class='cls-1' points='6.78 1.45 3.93 4.3 14 4.3 14 6.35 3.93 6.35 6.78 9.2 5.33 10.66 0 5.33 5.33 0 6.78 1.45'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
  }

  .c-back-btn:hover::before {
    animation: slideArwRevSub 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  }

  @keyframes slideArwRevSub {
    0% {
      opacity: 1;
      transform: translateY(-50%) translateX(0);
    }
    49.9% {
      opacity: 0;
      transform: translateY(-50%) translateX(-10px);
    }
    50% {
      opacity: 0;
      transform: translateY(-50%) translateX(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(-50%) translateX(0);
    }
  }

  @media screen and (max-width: 768px) {
    .c-back-btn-wrap {
      padding-left: 0;
    }
    .c-back-btn {
      margin: 40px auto;
    }
  }

  body.is-top .c-back-btn-wrap {
    display: none;
  }

  /* Lower Page Layout (Common) */
  .p-lower-layout {
    margin-top: 20px;
  }

  .unit-breadcrumbs.v-sp {
    display: none;
  }

  .unit-breadcrumbs__item a,
  .unit-breadcrumbs__item.is-current {
    color: #000 !important;
  }

  .unit-breadcrumbs__item:not(:first-child)::before {
    color: #000;
  }

  .p-event-head {
    display: block;
    margin-bottom: 40px;
    margin-top: 30px;
  }

  .p-event-head__date {
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 15px;
  }

  .p-event-head__date .year {
    display: inline-block;
    font-size: 1.4rem;
    color: #333;
    font-weight: bold;
  }

  .p-event-head__date .day {
    display: inline-block;
    font-size: 3.2rem;
    font-weight: normal;
  }

  .p-event-head__date .day span {
    font-size: 1.8rem;
    margin-left: 5px;
  }

  .p-event-head__title {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
  }

  /* News Article Head（タイトル → 境界線 → 日付） */
  .p-news-head {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .p-news-head__title {
    font-family: var(--font-family-base);
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.45;
    color: #252830;
    margin: 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #b9c6d4;
    letter-spacing: 0.02em;
  }

  .p-news-head__date {
    margin: 4px 0 0;
    ;line-height: 1.2;
  }

  .p-news-head__date time {
    font-size: 1.4rem;
    font-weight: 500;
    color: #666;
  }

  /* Contents */
  .p-contents {
    max-width: 910px;
    margin: 40px auto;
    padding: 0 40px;
  }

  .p-admission-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 60px;
  }

  .p-admission-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px 15px 20px; /* 右側にアイコン用の余白を確保 */
    border: 1px solid #333;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    min-height: 60px;
    transition: background 0.3s, color 0.3s;
  }

  .p-admission-btn::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg id='_レイヤー_2' data-name='レイヤー 2' xmlns='http://www.w3.org/2000/svg' width='10' height='7.61' viewBox='0 0 10 7.61'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23204263;%7D%3C/style%3E%3C/defs%3E%3Cg id='_デザイン' data-name='デザイン'%3E%3Cpolygon class='cls-1' points='5.16 6.57 7.19 4.54 0 4.54 0 3.07 7.19 3.07 5.16 1.04 6.19 0 10 3.81 6.19 7.61 5.16 6.57'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/contain;
  }

  .p-admission-btn:hover {
    background-color: #e1f0f7;
  }

  .p-admission-btn:hover::after {
    animation: slideArwSub 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
  }

  /* .p-admission-btn:first-child:hover {
    background-color: #d1e6f0;
  } */

  .p-placeholder {
    background: #ddd;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .p-placeholder p {
    background: #fff;
    padding: 20px 40px;
    font-size: 2.4rem;
    font-weight: bold;
    margin: 0;
  }

  /* Footer */
  .l-footer {
    padding-left: 250px;
    background: #fff;
    box-sizing: border-box;
  }

  .l-footer__inner {
    background: var(--color-main); /* --color-main を使用 */
    color: #fff;
    padding: 60px 20px 0; /* 下パディングを0に */
    border-top-left-radius: 40px;
    text-align: center;
    width: 100%; /* 幅を100%に */
    box-sizing: border-box;
  }

  .l-footer__logo {
    margin-bottom: 20px;
  }

  .l-footer__logo img {
    width: 306px; /* PC版のロゴ幅を306pxに設定 */
    max-width: 100%;
  }

  .l-footer__contact {
    max-width: 800px; /* 住所が折り返さないよう十分な幅を確保 */
    margin: 0 auto 30px;
  }

  .l-footer__contact-ttl {
    font-size: 2rem;
    font-weight: bold;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    display: inline-block;
    width: 306px; /* 「お問い合わせ」のライン幅を306pxに設定 */
    max-width: 100%;
    line-height: 1.1;
  }

  .l-footer__info-name {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 10px;
  }

  .l-footer__info-address,
  .l-footer__info-tel,
  .l-footer__info-mail {
    font-size: 1.4rem;
    margin-bottom: 3px;
    line-height: 1.1;
  }

  .l-footer__info-tel a,
  .l-footer__info-mail a {
    color: inherit;
    text-decoration: none;
  }

  .l-footer__info-tel a {
    pointer-events: none; /* PCではクリック無効 */
  }

  .l-footer__info-mail a:hover {
    text-decoration: underline;
  }

  .l-footer__copyright {
    font-size: 1.2rem;
    padding: 0px 0 20px; /* margin-top を padding-top に、margin-bottom を padding-bottom に変更 */
    opacity: 0.8;
    margin: 0; /* marginをリセット */
  }

  /* Responsive */
  @media screen and (max-width: 768px) {
    .l-wrapper {
      flex-direction: column;
      padding-top: 74px; /* fixedヘッダー分の余白 */
    }

    .l-header {
      display: none;
    }

    .l-sp-fixed-header {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 74px;
      background: #fff;
      z-index: 10001;
      border-bottom: 1px solid #e5e5e5;
    }

    .l-sp-fixed-header__logo {
      display: block;
      width: 100%;
      height: 100%;
      padding: 14px 16px;
      box-sizing: border-box;
    }

    .l-sp-fixed-header__logo img {
      display: block;
      width: auto;
      max-width: 320px;
      height: 46px;
    }

    .l-main {
      padding-left: 0;
    }

    .l-header__logo {
      padding: 15px 20px;
      margin-bottom: 0;
      border-bottom: none;
    }

    .l-header__logo a {
      flex-direction: row;
      align-items: center;
      gap: 15px;
    }

    .l-header__logo img {
      width: 120px;
      margin-bottom: 0;
    }

    .l-nav {
      display: none;
    }

    .p-kv {
      height: 200px;
      border-bottom-left-radius: 30px; /* SP版の角丸サイズを30pxに変更 */
    }

    .is-top .p-kv {
      height: 630px; /* SP版TOPの高さ */
    }

    .p-kv__logo {
      display: block;
      position: absolute;
      top: 20px;
      left: 20px;
      width: 260px;
      z-index: 10;
    }

    .p-kv__logo img {
      width: 100%;
      height: auto;
    }

    .p-kv__moji {
      left: -50px;
      top: 80px;
      bottom: auto;
      width: 90vw;
    }

    .p-kv__title {
      left: 20px;
    }

    .p-kv__title h1 {
      font-size: 2.4rem;
    }

    /* TOP Mobile */
    .p-kv__scroll {
      right: 20px;
      font-size: 1rem;
      padding-bottom: 60px;
    }

    .p-kv__scroll::after {
      height: 40px;
    }

    .p-top-contents {
      padding-top: 40px;
    }

    .p-top-section {
      margin-bottom: 60px;
      padding: 0 20px;
    }

    .p-top-section__title {
      font-size: 2.8rem;
    }

    .p-top-section__title-wrap {
      display: block; /* SP版は縦並びに */
    }

    .p-top-section__subtitle {
      margin-top: 10px; /* 縦並びの隙間 */
      transform: none; /* デスクトップ用の調整をリセット */
    }

    .p-top-section__more {
      width: 100px;
      height: 32px;
      font-size: 1rem;
    }

    .p-top-pickup .unit-carousel {
      margin: 0 -20px;
      padding: 0 20px;
    }

    .p-top-pickup .unit-carousel__ttl {
      font-size: 1.4rem;
    }

    .adm_picup_list {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .adm_picup_box__ttl {
      font-size: 1.6rem;
    }

    .p-top-grid {
      padding: 60px 0;
      border-top-left-radius: 40px;
      border-bottom-left-radius: 40px;
      margin-bottom: 80px;
    }

    .p-top-grid__inner {
      grid-template-columns: 1fr;
      gap: 60px;
      padding: 0 20px;
    }

    .p-top-event-list {
      grid-template-columns: 1fr;
      gap: 30px;
    }

    .p-top-event-thumb {
      width: 40%;
    }

    .p-top-event-ttl {
      font-size: 1.6rem;
    }

    .p-top-event-date-row .day {
      font-size: 2rem;
      font-weight: normal;
    }

    .p-event-related {
      margin-top: 40px;
    }

    .p-event-related__inner {
      flex-direction: column;
      gap: 15px;
      padding: 0 20px;
    }

    .p-event-related__btn {
      width: 100%;
      min-height: 60px;
      font-size: 1.4rem;
    }

    .p-event-related__btn span br {
      display: none;
    }

    .p-top-news-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
    }

    .p-top-news-link {
      gap: 10px;
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .p-top-news-sep {
      font-size: 1.2rem;
      margin-top: 2px;
    }

    .p-top-news-category {
      font-size: 1.2rem;
      min-width: 4em;
      margin-top: 2px;
    }

    .p-top-news-link time {
      font-size: 1.2rem;
      margin-bottom: 0;
    }

    .p-top-news-ttl {
      width: 100%;
      flex: none;
      font-size: 1.4rem;
      white-space: normal; /* SP版は複数行表示 */
      margin-top: -5px;
    }

    .p-top-news-ttl a[href*=".pdf" i]::after,
    .p-top-news-ttl a[href*=".xlsx" i]::after,
    .p-top-news-ttl a[href*=".docx" i]::after {
      width: 20px; /* SP版では少し小さく */
    }

    .p-news-tabs {
      width: 100%;
      gap: 0;
      margin-bottom: 30px;
      justify-content: space-between;
      padding: 0;
    }

    .p-news-tab {
      width: auto;
      flex: 1;
    }

    .p-news-tab a {
      font-size: 1.4rem;
    }

    .p-lower-layout {
      margin-top: 20px;
    }

    .unit-breadcrumbs.v-pc {
      display: none;
    }

    .unit-breadcrumbs.v-sp {
      display: block;
      margin-top: 40px;
      margin-bottom: 0px;
    }

    /* Event Head */
    .p-event-head {
      display: block;
      margin-bottom: 30px;
      margin-top: 20px;
    }

    .p-event-head__date {
      margin-top: 10px;
      margin-bottom: 0;
      display: flex;
      align-items: baseline;
      gap: 5px;
    }

    .p-event-head__date .year {
      font-size: 1.2rem;
      margin-bottom: 0;
      display: inline-block;
    }

    .p-event-head__date .day {
      font-size: 2.4rem;
      display: inline-block;
      vertical-align: baseline;
    }

    .p-event-head__date .day span {
      font-size: 1.4rem;
    }

    .p-event-head__title {
      display: block;
      font-size: 1.8rem;
      margin-left: 0;
      margin-bottom: 0;
      padding-bottom: 10px;
      border-bottom: 1px solid #333;
    }

    .p-news-head {
      margin-top: 20px;
      margin-bottom: 30px;
    }

    .p-news-head__title {
      font-size: 1.8rem;
      padding-bottom: 6px;
    }

    .p-news-head__date time {
      font-size: 1.3rem;
    }

    .p-news-head__date {
      margin-top: 6px;
    }

    .p-contents {
      padding: 0 20px;
      margin: 30px auto;
    }

    .p-admission-btns {
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .p-admission-btn {
      padding: 12px 40px 12px 15px;
      font-size: 1.3rem;
      text-align: left;
      justify-content: flex-start;
    }

    .l-footer {
      margin-left: 0;
      padding: 0; /* 左右と下の余白を削除 */
    }

    .l-footer__inner {
      border-radius: 30px 30px 0 0; /* 上側だけ角丸に（サイズはKVに合わせて30px） */
      padding: 40px 15px 0; /* 下パディングを0に */
    }

    .l-footer__logo img {
      width: 80vw; /* 80vh から 80vw に修正（ロゴの横幅指定） */
    }

    .l-footer__contact-ttl {
      font-size: 1.8rem;
      width: 80vw;
      max-width: 100%;
      border-top: 1px solid #fff; /* ラインの色を白に */
      border-bottom: 1px solid #fff; /* ラインの色を白に */
    }

    .l-footer__info-name {
      font-size: 1.6rem;
    }

    .l-footer__info-address,
    .l-footer__info-tel,
    .l-footer__info-mail {
      font-size: 1.3rem;
    }

    .l-footer__info-tel a {
      pointer-events: auto; /* SPでは電話をかけられるように */
    }
    .l-footer__copyright {
      font-size: 1.2rem;
      padding: 0px 0 60px; /* margin-top を padding-top に、margin-bottom を padding-bottom に変更 */
      margin: 0;
    }
  }
}

/* SP Fixed Nav */
.l-sp-nav {
  display: none;
}

@media screen and (max-width: 768px) {
  .l-sp-nav {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 54px;
    background: #fff;
   /* border-top: 1px solid #333;*/
    z-index: 10000;
  }

  .l-sp-nav__list {
    display: flex;
    list-style: none;
    padding: 0 10px;
    margin: 0;
    height: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .l-sp-nav__item {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .l-sp-nav__item.v-menu {
    flex: 0 0 54px; /* MENUボタンのみ幅を固定気味に */
  }

  .l-sp-nav__item.v-menu .l-sp-nav__link {
    background: #f4f4f4;
    border-radius: 6px;
    height: 44px;
    width: 50px;
  }

  .l-sp-nav__item.v-menu .v-close {
    display: none !important;
  }

  body.is-drawer-open .l-sp-nav__item.v-menu .v-open {
    display: none !important;
  }

  body.is-drawer-open .l-sp-nav__item.v-menu .v-close {
    display: block !important;
  }

  .l-sp-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
  }

  .l-sp-nav__link img {
    height: 40px; /* キャプチャに合わせてサイズを調整 */
    width: auto;
    max-width: 100%;
  }

  /* 下部ナビに隠れないように余白を追加 */
  .l-wrapper {
    padding-bottom: 20px;
  }
}

/* SP Drawer Styles (高優先度) */
.l-sp-drawer {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .l-sp-drawer {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }

  body.is-drawer-open .l-sp-drawer {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  body.is-drawer-open {
    overflow: hidden;
  }

  .l-sp-drawer__logo {
    display: block;
    width: 260px;
    margin: 0 auto 30px;
  }

  .l-sp-drawer__logo img {
    width: 100%;
    height: auto;
  }

  .l-sp-drawer__list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0 auto 40px;
    width: 280px;

  }

  .l-sp-drawer__item {
    border-bottom: 1px solid #eee;
    padding-left: 20px;
    padding-right: 20px;
  }

  .l-sp-drawer__link {
    display: flex;
    align-items: center;
    padding: 15px 0;
    font-size: 1.4rem;
    font-weight: normal;
    color: #333;
    text-decoration: none;
  }

  .l-sp-drawer__icon-wrap {
    width: 40px;
    margin-right: 15px;
    display: flex;
    justify-content: center;
  }

  .l-sp-drawer__icon {
    max-width: 100%;
    height: auto;
  }

  .l-sp-drawer__arrow {
    margin-left: auto;
    width: 12px;
  }

  .l-sp-drawer__blank {
    margin-left: auto;
    width: 18px;
  }

  .l-sp-drawer__search {
    margin: 40px auto 0;
    width: 280px;
  }

  .l-sp-drawer__search-form {
    display: flex;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 15px;
  }

  .l-sp-drawer__search-input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    padding: 5px;
  }

  .l-sp-drawer__search-btn {
    width: 24px;
    background: transparent;
    border: none;
  }

  .l-sp-drawer__official {
    margin-top: 30px;
    text-align: center;
  }

  .l-sp-drawer__official a {
    display: inline-flex;
    align-items: center;
    font-size: 1.4rem;
   /* font-weight: bold;*/
    color: #333;
    text-decoration: none;
  }

  .l-sp-drawer__official img {
    width: 18px;
    margin-left: 8px;
  }

  .l-sp-drawer__sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 0 0 100px;
    list-style: none;
  }

  .l-sp-drawer__sns img {
    width: 36px;
  }
}

  /* Page Top */
  .c-pagetop {
    position: fixed;
    right: 20px;
    bottom: 15px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    width: 60px;
  }

  .c-pagetop.is-show {
    opacity: 1;
    visibility: visible;
  }

  .c-pagetop img {
    width: 100%;
    height: auto;
  }

  @media screen and (max-width: 768px) {
    .c-pagetop {
      right: 5px;
      bottom: 70px;
      width: 50px;
    }
  }


  

