@charset "utf-8";

/*---------------------- 基本 ----------------------*/
html {
  background-color: #1a252f;
}

/* リンク関連 */
a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

/* カラー */
.bg-gray {
  background-color: var(--bs-gray);
}

/* ナビゲーション */
nav.bg-secondary {
  --bs-bg-opacity: 0.9;
}

/* section上下padding */

.page-section:first-of-type:not(.portfolio) {
  padding-top: clamp(8rem, 14vw, 10rem);
}


.page-section {
  padding: clamp(4.2rem, 7vw, 6rem) 0;
}

/* ヘッダー */
.header-logo {
  display: none;
}

#hero-sp {
  display: none;
}

@media (max-width: 600px) {
  #hero-sp {
    display: block;
  }

  #hero-pc {
    display: none;
  }
}

/*　ヘッダーキャッチ（予行練習で差をつけよう）　

.header-catch {
  width: 100%;
  height: auto;
  padding: 1.5rem;
  animation: hero 2s ease-in-out;
}

.header-catch-pc {
  display: none;
}

@media (min-width: 600px) {
  .header-catch {
    width: 85%;
    height: auto;
    padding: 0 1rem;
  }
}

@media (min-width: 900px) {
  .header-catch {
    display: none;
  }

  .header-catch-pc {
    display: block;
    width: 460px;
    transform: rotate(8deg);
    position: absolute;
    top: 35%;
    left: 15%;
    animation: hero 2s ease-in-out;
  }
}

@media (min-width: 1200px) {
  .header-catch {
    display: none;
  }

  .header-catch-pc {
    display: block;
    width: 520px;
    transform: rotate(8deg);
    position: absolute;
    top: 35%;
    left: 20%;
    animation: hero 2s ease-in-out;
  }
}

@media (min-width: 1400px) {
  .header-catch-pc {
    top: 35%;
    left: 24%;
    width: clamp(30rem, -3.654rem + 38.46vw, 42.5rem);
  }
}
*/
/* ヘッダーメリット（公立高校と同じ入試など） 

.header-merit {
  position: absolute;
  bottom: 1.8rem;
  left: 1rem;
  width: clamp(8.75rem, 0.893rem + 39.29vw, 15.625rem);
  z-index: 20;
  animation: hero 2s ease-in-out;
}

.header-merit-pc {
  display: none;
}

@media (min-width: 600px) {
  .header-merit {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: clamp(12.5rem, 5.357rem + 35.71vw, 18.75rem);
  }
}

@media (min-width: 900px) {
  .header-merit {
    display: none;
  }

  .header-merit-pc {
    display: block;
    position: absolute;
    bottom: 3rem;
    left: 15%;
    width: clamp(18.75rem, 9.375rem + 16.67vw, 21.875rem);
  }
}

@media (min-width: 1200px) {
  .header-merit-pc {
    position: absolute;
    left: 20%;
    max-width: 250px;
  }
}

@media (min-width: 1400px) {
  .header-merit-pc {
    position: absolute;
    bottom: 4rem;
    left: 24%;
  }
}
*/
/* ヘッダー日程 

.header-date {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  max-width: clamp(9.375rem, 5.966rem + 17.05vw, 18.75rem);
  z-index: 30;
  animation: hero 2s ease-in-out;
}

@media (min-width: 600px) {
  .header-date {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    max-width: clamp(9.375rem, 5.966rem + 17.05vw, 18.75rem);
  }
}

@media (min-width: 1200px) {
  .header-date {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
  }
}


@keyframes hero {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.masthead {
  padding-top: calc(2.5rem + 74px);
}
*/

/*
header::before {
  content: '';
  background-color: rgba(0, 0, 0, .5); 
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
*/

/* お知らせ */
.info {
  height: 250px;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 599px) {
  .info li {
    font-size: 0.875rem;
  }
}

/* 日程 */
#date {
  background-color: var(--bs-gray-200);
}

/* 日程：フェードイン */
.fadein {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 0.5s;
}

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

/* 特徴 */
#about {
  background-color: var(--bs-blue);
}

.markerDeepYellow {
  background: linear-gradient(transparent 50%, #ffff66 0%);
}

/* 受験会場＆受験料 */
.place li {
  border-bottom: 1px dashed;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .place ul {
    display: flex;
    justify-content: center;
  }

  .place li {
    display: inline-block;
    margin-right: 0.5rem;
  }
}

#price .col-md-6 {
  border: solid 2rem;
}

#price .place {
  border-color: var(--bs-indigo);
}

#price .price {
  border-color: var(--bs-cyan);
}

/* 出題範囲＆時間割 */

#program table {
  font-size: 14px;
}

#program td {
  width: 20%;
}

#schedule th,
#schedule td {
  width: 14.3%;
}

/* 過去問 */
#past_paper {
  background-color: #f8f9fa;
}

#past_paper h2 {
  position: relative;
  z-index: 50;
}

#quantity {
  width: 100px;
  transform: rotate(-20deg);
}

/* LINE */
#line {
  background-color: #06c755;
}

#line_btn img {
  background-color: #fff;
  border-radius: 3px;
}

/* フッター */
.footer {
  padding-bottom: 0;
}

/* よくあるご質問 */
.faq {
  background: #F6F6F6;
  padding: 1em;
  border-radius: 1em;
}

.faq dt {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px dotted;
  font-weight: bold;
}

.faq dt:before {
  content: "Q";
  font-weight: normal;
  background: #cc0000;
  color: #fff;
  width: 1.5em;
  height: 1.5em;
  line-height: 1.5;
  text-align: center;
  display: inline-block;
  border-radius: 1em;
  margin-right: .5em;
}

.faq dd {
  margin-bottom: 2em;
}

.faq dd:last-child {
  margin-bottom: 0;
}

/**/
.tokushoho td {
  width: 10em;
}

/* 記事 */

#news .page-section-heading {
  font-size: 1.2rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  #news .page-section-heading {
    font-size: 1.8rem;
    line-height: 1.6;
  }
}



/* スクロールトップ */
#scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 77%;
}

#scroll-top a {
  background: #1abc9c;
  text-decoration: none;
  color: #fff;
  width: 100px;
  padding: 30px 0;
  text-align: center;
  display: block;
  border-radius: 5px;
  opacity: 0.8;
}

#scroll-top a:hover {
  text-decoration: none;
  background: #999;
}

footer {
  position: sticky;
  top: 100vh;
}


/* メニュー(ナビゲーション) */
#mainNav {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}


#navigation {
  background: #23ad8d;
}

#navigation a {
  color: #FFF;
  text-align: center;
  display: grid;
  font-size: 14px;
  line-height: 1.3;
  height: 60px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

#navigation a:hover {
  color: #FC0;
  text-decoration: none !important;
}

/* メニュー */
#grid {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  grid-template-rows: repeat(1, 1fr);
  justify-content: space-between;
  justify-items: center;
  align-items: center;
  font-size: 0.95rem;
}

#grid a {
  display: block;
}

.menu1 {
  grid-column: span 2;
}

.menu2 {
  grid-column: span 2;
}

.menu3 {
  grid-column: span 2;
}

.menu4 {
  grid-column: span 2;
}

.menu5 {
  grid-column: span 2;
  text-align: center;
}

.menu6 {
  grid-column: span 2;
  text-align: center;
}

.menu7 {
  grid-column: span 2;
}

.menu8 {
  grid-column: span 2;
}


@media (max-width: 840px) {
  #grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    font-size: 0.95rem;
  }

  .menu1 {
    grid-column: span 1;
  }

  .menu2 {
    grid-column: span 1;
  }

  .menu3 {
    grid-column: span 1;
  }

  .menu4 {
    grid-column: span 1;
  }

  .menu5 {
    grid-column: span 1;
  }

  .menu6 {
    grid-column: span 1;
  }

  .menu7 {
    grid-column: span 1;
  }

  #grid .py-3 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .navbar {
    display: block;
  }

}

@media (min-width: 600px) {
  .smbr {
    display: none;
  }
}

@media (max-width: 600px) {
  .smbr {
    display: block;
  }
}


/* 追尾申し込み */
.floating-banner {
  position: fixed;
  z-index: 99999;
  bottom: 0;
  right: 0;
}

.banner {
  width: 300px;
  /* バナーの横幅 */
  padding: 40px 10px;
  background: linear-gradient(86.13deg, #7080F7 -3.42%, #3E9ED9 59.59%);
  /* バナーの背景色 */
  color: #fff;
  /* バナー内の文字色 */
  font-weight: bold;
  text-align: center;
}

.floating-banner a {
  text-decoration: none;
  /* リンクに下線が入らないように */
}

.copy {
  font-size: 28px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.cta {
  display: inline-block;
  width: 200px;
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  background: linear-gradient(270deg, #F4A240 0%, #E3A608 100%);
  /* ボタンの背景 */
  box-shadow: 0px 0px 30px #2984BA;
  /* ボタンの影 */
  border-radius: 25px;
  margin: 0
}

@media screen and (max-width: 990px) {
  .floating-banner {
    display: none;
  }
}

@media screen and (max-width: 560px) {
  .floating-banner {
    display: inline-block;
  }

  .banner {
    width: 100vw;
    padding: 8px;
  }

  .sp {
    display: none;
  }

  .copy {
    font-size: 18px;
    margin: 0 auto 6px;
  }

  .cta {
    height: 28px;
    line-height: 28px;
    font-size: 15px;
  }
}

/* 埼玉新聞模試終了 


.hero-info {
  position: relative;
}

.hero-info-pc,.hero-info-sp {
  padding: 1.5rem;
  position: absolute;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
}

.hero-img {
  filter: brightness(0.5);
}

@media (max-width:599px) {
  .hero-sp .hero-info-sp {
    font-size: 12px;
  }

  .hero-sp .hero-info-sp p {
    width: 300px!important;
  }
}

*/