/* CSSを修正・追加される場合はbundle.cssを編集せずこちらに追加ください */
/* ロゴ変更に伴う変更 */
@media screen and (min-width: 768px){
.p-header__title {
    width: 330px;
	}
	.p-header.-top {
    padding-top: 0px;
}
	.p-main-visual {
    margin: 0px 0 70px;
	}
	.p-header__logo-link {
    width: 480px;
}
	.p-main-visual-slider__catch {
    top: 70px;
}
}
@media screen and (max-width: 768px){
.p-header__title {
    width: 170px;
	}
	.p-header__logo {
    margin-bottom: 15px;
	}
		.p-header__logo-link {
    width: 170px;
}
}

/* TOPの変更 */
.p-main-visual-slider__catch {
    min-width: 200px;
    max-width: 50vw;
	}
@media screen and (min-width: 1130px){
.p-main-visual-slider__catch {
		min-width: 330px;
		max-width: 330px;
	}
}

/* TOPページの改修20241008 */
.main-bg{
    width: 100%;
    text-align: center;
    height: auto;
    background-image: url(https://www.nsb.ac.jp/archives/013/202306/top-main-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    }
    .pc-bg{
    max-width: 1200px;
    margin: 0px auto 20px;
    padding: 70px 0 20px;
    }
    .pc-1{
    display: flex;
    }
    .pc{
    width: 33.333%;
    }
    .pc img{
     width: 100%;
        vertical-align: top;
    }
    .pc-catch{
    width: 100%;
    }
    .pc-catch img{
     width: 100%;
    }
    .sp-bg{
  display: none;
    }
    @media only screen and (max-width: 767px) {
  .pc-bg{
  display: none;
    }
    .sp-bg{
  display: block;
    }
    .sp-bg {
        margin: 14px auto 20px;
    }
    .sp-1{
    display: flex;
    }
    .sp-2{
     width: 100%;
    }
    .sp{
    width: 100%;
    }
    .sp img{
     width: 100%;
     vertical-align: top;
    }
    .sp-catch{
    width: 100%;
    }
    .sp-catch img{
     width: 100%;
    }
    }
    /*スライダーの設定*/
    .c-carousel.top2 .slick-slide {
    min-width: 70vw;
    max-width: 70vw;
    }
    /*h2の設定*/
    .h2-title {
    position: relative;
    font-size: 2rem;
    line-height: 1.5;
    text-align: center;
    margin: 40px 0 30px;
    }
    .h2-title:before {
    content: '';
    position: absolute;
    bottom: -9px;
    display: inline-block;
    width: 200px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: linear-gradient(to right, rgba(255, 113, 116, 0.7), rgba(241, 199, 123, 0.7));
    border-radius: 2px;
    }
    .h2-title-text{
    text-align: center;
    }
    @media only screen and (max-width: 767px) {
    .h2-title {
    font-size: 1.5rem;
    }
    .h2-title:before {
    width: 60px;
    }
    .c-thumbnail {
    margin: 0;
    }
}
/*ヘッダーの設定*/
/*.p-header {
    height: 55px;
}*/
 @media only screen and (max-width: 767px) {
    .p-header-nav__wrap {
    right: 0px;
	}
}
/*フッターの設定*/
.c-banner-floating {
				position: fixed;
				right: 0;
				bottom: 0;
				left: 0;
				z-index: 2;
				}
				.acms-admin-module-edit-wrapper .acms-admin-module-edit {
				position: absolute;
				top: -2px;
				right: -2px;
				margin: 0;
				}
				.acms-admin-module-edit {
				z-index: 100029 !important;
				display: none !important;
				padding: 1px 4px;
				background-color: #000;
				border: 1px solid #000;
				border-bottom-left-radius: 4px;
				opacity: .7;
				}
				.c-banner-floating__list {
				display: -ms-flexbox;
				display: flex;
				margin: 0;
				padding: 0;
				list-style: none;
				}
				.c-banner-floating__item:last-child {
				width: 50%;
				}
				.c-banner-floating__item {
				width: 25%;
				padding: 0;
				}
				a, a:visited {
				text-decoration: none;
				}
/*固定バナーの設定*/
.acms-img-responsive {
    margin: 0 auto;
    }
    @media only screen and (max-width: 767px) {
    .c-heading-img{
        margin: 0px auto 20px;
    }
    .c-banner__item {
    padding: 0 10px 15px;
    }
    .c-banner__wrap {
     margin-bottom: 0px; 
	}
	.p-top-banner {
    padding: 50px 0;
	}
	.c-banner {
    margin: 0px;
	}
	.c-carousel .slick-dots {
    margin: 20px 0;
}
}
/*学科一覧の設定*/
.p-course-nav__item {
     width: 100%; 
}
.p-course-nav__item {
     width: 100%; 
}
.p-course-nav, .p-course-nav__item {
     display: block; /
}
.p-course-nav.-column .p-course-nav__item {
    width: 100%;
}
@media screen and (min-width: 768px) {
    .p-course-nav.-column .p-course-nav__item {
        width: 100%;
    }
}
/*学科一覧モジュールの設定*/
.p-entry-column .c-course-nav {
     display: block; 
}
.p-entry-column .c-course-nav.-column .c-course-nav__item {
   width: 90%;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .p-entry-column .c-course-nav.-column .c-course-nav__item {
        width: 100%;
        padding: 0 10px 32px;
    }
}
/*パンクズのいち*/
.c-topicpath {
    display: block;
    padding: 20px 0 5px;
    overflow: auto;
}
/*h4のフォンんと*/
.p-entry-column h4 {
	font-size: 15px;
}

/*スマホの時のフォント*/
    @media only screen and (max-width: 767px) {
.p-entry-column p {
    font-size: 14px;
	}
}
 /*フローティングの設定*/
    .pop-btn{
    z-index: 30;
    position: fixed;
    top: 80%;
    left: 1%;
    width: 15%;
    height: auto;
    }
    .pop-btn img{
    display: block;
    width: 100%; 
    height: auto;
    }
    .pop-btn label{
    position: relative;
    display: block;
    }
    .pop-btn label::after {
    position: absolute;
    right: -8%;
    width: 2.2em;
    height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    border-radius: 50%;
    color: white;
    content: "×";
    font-weight: bold;
    z-index: 1;
    cursor: pointer;
    margin: 0 auto;
    }
    #close{ display: none; }
    #close:checked ~div{ display: none; }
    
    @media screen and (max-width:767px) {
    .pop-btn{
     top: 75%;
    width: 45%; 
    }
    .pop-btn img{
    width: 80%;
    }
    .pop-btn label::after {
    right: 10%;
    }
}
 /*学科ページの設定*/
.p-course-visual__label {
    display: none!important;
}
 @media screen and (max-width:767px) {
.p-entry-header-course__detail {
    border-top: 0px solid #ccc;
	}
}

/* 講座申し込みボタンの設定 */
.p-trial-index__btn {
  box-sizing: border-box;
}
.p-trial-index__btn:link,
.p-trial-index__btn:visited {
  color: #fff !important;
}
.p-trial-index__btn:hover,
.p-trial-index__btn:active,
.p-trial-index__btn:focus {
  text-decoration: none !important;
}

/* OCページ */
.p-trial-search__item {
    padding: 0 5px 10px;
}
.p-trial-index {
    list-style: none;
    margin: 0;
    padding: 0;
}
.p-trial-index__item {
    margin-bottom: 20px;
    border: 1px solid #ccc;
}
#trialIndex{
	margin: 50px 0 0;
}
@media screen and (max-width: 768px) {
    .p-trial-index__action .p-trial-index__btn {
        width: 100%;
        font-size: 18px;
        font-weight: bold;
        padding: 12px;
        justify-content: center;
        gap: 10px;
    }
}
@media screen and (min-width: 768px) {
    .p-trial-index__action {
        -ms-flex-pack: end;
        justify-content: flex-end;
        -ms-flex-direction: inherit;
        flex-direction: inherit;
        padding: 10px 20px;
    }
}
@media screen and (min-width: 768px) {
    .p-trial-index__item {
        margin-bottom: 56px;
        border: none;
    }
}
@media screen and (max-width: 768px) {
	.p-trial-index__btn{
width: 100%;
    padding: 20px;
		font-size: 20px;
	}