/* CSSを修正・追加される場合はbundle.cssを編集せずこちらに追加ください */
/* ロゴ変更に伴い変更 */
@media screen and (min-width: 768px){
.p-header__title {
    width: 380px;
	}
	.p-header__logo-link {
    width: 380px;
}
}
@media screen and (max-width: 768px){
.p-header {
    padding-top: 20px;
}
.p-header__title {
    width: 200px;
}
.p-header__logo {
    margin-bottom: 8px;
	}
	.p-header__logo-link {
    width: 150px;
}
}
/* ページのレイアウト */
	.p-entry-column p {
    font-size: 15px;
}
@media screen and (min-width: 768px){
.p-entry-column h4 {
    margin: 20px 0;
	}
}
.p-entry-column h4 {
    margin: 20px 0;
}
.c-banner__item {
    -ms-flex: 1;
    flex: 1;
    padding: 0 10px 10px;
}

/* 学科の一覧のレイアウト */
.p-course-nav__item {
    width: 100%;
}
@media screen and (min-width: 768px){
.p-course-nav.-column .p-course-nav__item {
    width: 100%;
	}
}
.p-course-nav.-column .p-course-nav__item {
    width: 100%;
}

/* TOP学科アイコン */
@media screen and (min-width: 768px){
.p-main-visual-thumbnails__inner {
    -ms-flex-pack: start;
    justify-content: center;
    margin: 0px;
	}
}

/* 体験入学の動物系 */
.p-trial-index__info.-pet-all{
	background-color: #f6ac19;
}
.c-label-white.-pet-all{
	color: #f6ac19;
}
.p-entry-info-trial.-pet-all {
    background-color: #f6ac19;
}
.p-entry-info-trial.-pet-all .p-entry-date-trial .week {
    color: #f6ac19;
}
.p-entry-column .p-trial-carousel__body, .p-trial-carousel__body.-pet-all {
    background-color: #f6ac19;
}
.p-entry-column .p-trial-carousel__body.-pet-all, .p-trial-carousel__body.-pet-all {
    background-color: #f6ac19;
}

/* メインビジュアル2025 */
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
    to {
    transform: translateX(-100%);
  }
  }
  .scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
    width: 100%;
  }
  .scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .scroll-infinity__list--left {
    animation: infinity-scroll-left 30s infinite linear 0.5s both;
  }
  .scroll-infinity__item {
    /* Chromeでのチラツキ防止 */
    margin-left: -1px;
    margin-right: -1px;
    overflow: hidden;
  }
  .p-main-visual {
    position: relative;
  }
  .p-main-visual__copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 75%
  }
  .scroll-infinity__item picture img {
    max-height: 60svh;
  }

/* オススメ講座アイコン */
.p-trial-index__item {
  position: relative;
}
.p-trial-index__pickup {
  width: 80px;
  height: 80px;
  z-index: 1;
  position: absolute;
  top:-5px;
  right: 3px;
}

/* 交通費サポート申請可ラベル */
@media screen and (min-width: 768px){
.p-trial-index__label-item.-support, .p-entry-label__item.-support {
  background-color: #f6ac19;
}
}

/* スマホのときの「この講座を申し込む」ボタン */
@media screen and (max-width: 768px){
  .p-trial-index__action .p-trial-index__btn {
    width: calc(100% - 40px);
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    justify-content: center;
    gap: 10px;
  }
  .p-trial-index__action .p-trial-index__btn::after {
    font-size: 20px;
  }
}


/* evoボタン */
.evo-button-wrapper {
  text-align: center;
}
.evo-button-wrapper img {
  max-width: 400px;
  height: auto;
}

.evo-button-wrapper a {
  transition: opacity 0.4s ease-in-out;
}

.evo-button-wrapper a:hover {
  opacity: 0.8;
	}
	/* OCページ */
	.p-trial-search__item {
    padding: 0 5px 10px;
}

    /* OCバナー */
    /* h2は「中央に置く係」だけ */
    .oc_ttl {
      text-align: center;
      font-size: 1.8rem;
    }

    /* ここが「文字基準」 */
    .oc_ttl__text {
      display: inline-block;
      position: relative;
      padding: 0 40px; /* ← ここで「縦線と文字の距離」を調整 */
    }

    /* 縦線 */
    .oc_ttl__text::before,
    .oc_ttl__text::after {
      content: "";
      position: absolute;
      top: 50%;
      width: 7px;
      height: 40px;
      background: #F10200;
      transform: translateY(-50%);
    }

    .oc_ttl__text::before {
      left: 0;
    }

    .oc_ttl__text::after {
      right: 0;
    }
/*あとで移動　TOPのCSS*/
@media screen and (min-width: 992px) {
  .l-column-main {
      width: 100%;
  }
  
  .l-column-sub {
      display: block
  }
  }
  .acms-container {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box
  }
  .c-banner__item {
  -ms-flex: 1;
  flex: 1;
  padding: 6px;
  }
  
   /* メインビジュアルの修正 */
  @media screen and (max-width: 768px){
  .p-main-visual{
    margin: 0!important;
  }
  }
 @media screen and (min-width: 768px) {
  .p-header__title.-top {
      display: block;
      width: 300px;
  }
  }
  

  /* 重要なお知らせ */
  .important_news{
    position: absolute;
    border: 3px solid #ff0000;
    padding: 10px 30px;
    background: #fdf3f3;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    top: 63%;
    max-width: 900px;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .important_news_inner{
    display: flex;
    gap: 50px;
  }

  .important_news .important_ttl {
    font-weight: bold;
    color: #ff0000;
  }

  .important_news .important_news_text a{
    text-decoration: underline;
  }

  @media screen and (max-width: 768px){
    .important_news {
      left: 50%;
      transform: translateX(-50%);
      width: 80%;
      padding: 13px 30px;
      top: 58%;
  }

    .important_news_inner{
        flex-flow: column;
        gap: 4px;
    }

    .important_news .important_ttl, 
    .important_news .important_news_text {
      margin: 0;
      font-size: 13px;
      line-height: 1.5;
    }
  }

/* PICK UP */
.pickup{
  max-width: 900px;
  display: block;
  margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.pickup_ttl{
  text-align: center;
  font-size: 3rem;
  margin: 0;
  padding-bottom: 10px;
}

.pickup_btn{
  list-style: none;
  transition: .3s;
}

.pickup_btn:hover{
  opacity: 0.7;
}

.pickup_btn span{
  font-size: 18px;
  color: #333333;
  line-height: 2.0;
}

.pickup ul{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-left: 0;
}

.pickup ul li img{
  width: 100%;
}

.pickup ul li a{
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 0 16px;
  flex-flow: column;
  background: #ffa800;
  border-radius: 12px;
  color: #fff;
  text-align: center;
  gap: 0;
}

.br_sp{
  display: none;
}

@media screen and (max-width: 768px){
  .pickup{
    padding: 0 10px;
  }

  .pickup_ttl{
    font-size: 1.8rem;
  }

  .pickup ul{
    gap: 14px;
  }

  .pickup ul li a{
    font-size: 20px;
      padding: 20px 0;
      height: 50px;
  }

  .pickup_btn span{
    font-size: 12px;
  }
  .br_sp{
    display: block;
  }
}