@charset "utf-8";



.header-container {
    background-color: #f0f0f0;
    padding: 0.5%;
    text-align: center;
}

.header-container h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    padding: 5px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    color: #1e73be; /* アイコン色（青系） */
    text-decoration: none;
    transition: color 0.3s;
}

.map-link:hover {
    color: #0f4a8a; /* ホバー時の色 */
}

.map-icon {
    margin-left: 200%;
    width: 70px;
    height: 70px;
}






.main-content {
    padding: 20px 15%;
    line-height: 1.8;
}

.main-content-background-color {
    background-color: #e2ebf5;
}

.main-content h2 {
    color: #eb5527;
    margin-top: 40px;
    font-weight: bold;
    text-align: center;
}

.main-content h3 {
    color: #3b79bb;
    margin-top: 20px;
    text-align: center;
    font-size: 1.25rem;
}

.main-content p {
    /*margin: 10px 0;*/
    font-size: 15px;
    line-height: 200%;
    margin-top: 2%;
}




.button-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
    margin-bottom: 7.5%;
    margin-top: 2.5%;
}

.custom-button {
    position: relative;
    background-color: #3071b7;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center; /* 中央寄せ */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.custom-button:hover {
    background-color: #255a94;
    transform: translateY(-1px);
}

.button-text {
    text-align: center;
}

.arrow {
    position: absolute;
    right: 20px; /* 右端の余白 */
    font-size: 1.2rem;
    font-weight: bold;
}




.sub-content {
    padding: 20px 10%;
    line-height: 1.6;
    margin-top: 5%;
}

.sub-content h3 {
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;    
}

.sub-content p {
    font-size: 13px;
    line-height: 160%;
    text-align: center;
}


.sub-header {
    margin-top: 20px;
    /*margin-bottom: 5px;*/
}

.sub-header p {
    font-size: 18px;
    line-height: 160%;
    font-weight: 800;
    text-decoration: underline;
}

.flex-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

.flex-container img {
    max-width: 100%;
    border-radius: 10px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
}

.teacher-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 2%;
    margin-bottom: 5%;
}

.teacher-container img {
    max-width: 150px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.teacher-container h3 {
    flex: 1;
}

iframe {
    border: 0;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.highlight {
    font-size: 1.2rem;
    font-weight: bold;
    color: #118fd2;
    background-color: #e6f4fa;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

.achievements {
    padding: 20px;
    font-size: 1.2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    color: #118fd2;
    background-color: #f0f8ff;
}

.quote {
    font-style: italic;
    background-color: #f0f8ff;
    border-left: 4px solid #118fd2;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 5px;
}

.highlight-large {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0056b3;
    text-align: center;
    margin-top: 20px;
    background-color: #e6f4fa;
    padding: 15px;
    border-radius: 10px;
}

.highlight-large-2 {
    font-weight: bold;
    color: #118fd2;
    text-align: center;
    margin-top: 60px;
    /*margin-bottom: 30px;*/
    background-color: #e6f4fa;
    padding: 15px;
    border-radius: 10px;
}
.highlight-large-2 p{
    font-size: 2.0rem;
    line-height: 160%;
    position: relative;
    display: inline; /* テキストの幅に合わせる */
    background: linear-gradient(to bottom, transparent 80%, #ffd700 80%);
    font-weight: 800;
    padding: 0 2px; /* 文字に沿うよう、余白を最小限に */
}

.head-space{
    margin-top: 10%;
}

.head-space-half{
    margin-top: 7.5%;
}

/** 単純な開くもの **/
details {
    font-family: Arial, sans-serif;
    margin-bottom: 10px;
}

summary {
    cursor: pointer;
    font-weight: bold;
    color: #1b65c4;
}

details[open] summary {
    color: #333; /* 展開中の色を変更する例 */
}




.content {
    overflow: hidden;
    max-height: 200px; /* 初期状態で見せたい高さ */
    transition: max-height 0.3s ease, color 0.3s ease;
    position: relative;
}
.content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px; /* フェードアウトの高さ */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.content.expanded {
    /*max-height: 1000px; /* 必要に応じて十分大きな値に */
    max-height: 100%;
}
.content.expanded::after {
    display: none; /* 展開後はフェードアウト効果を消す */
}

.read-more {
    color: #118fd2;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 2.5%;
    display: inline-block;
    text-decoration: underline;
}


.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 5%;
    margin-bottom: 15%;
}

.university-card {
    background: #118fd2;
    color: #fff;
    text-align: center;
    padding: 15px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 15px;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}



/**カルーセル　画像*/
.carousel-osaka {
    position: relative;
    /*width: 80%;*/
    max-width: 50%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 400px;
}

.carousel-osaka2 {
    position: relative;
    /*width: 80%;*/
    max-width: 30%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-track {
    display: flex;
    transition: transform 1.0s ease-in-out;
}

.carousel-track2 {
    display: flex;
    transition: transform 1.0s ease-in-out;
}

.carousel-slide {
    flex: 0 0 auto;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* ナビゲーションボタン */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.carousel-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.yellow-underline {
    text-decoration: underline;
    text-decoration-color: yellow;
    text-decoration-thickness: 3px;
}


/* アクセス詳細 */
.access-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 2%;
    margin-bottom: 5%;
    margin-left: 10%;
    /*margin-right: 5%;*/
}

.access-container img {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.access-container h3 {
    flex: 1;
}

.access-container p{
    font-size: 20px;
}
/* アクセス詳細 */


.sp-display{
    display: none;
}

.pc-display{
    display: block;
}






/* カルーセル */
.carousel {
  position: relative;
  max-width: 900px; /* 必要に応じて調整 */
  margin: auto;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  width: 100%;
  font-family: serif;
  border-radius: 8px;
}

.text-overlay h2 {
  font-size: 2.0rem;
  margin: 0 0 30px;
}

.text-overlay p {
  font-size: 1rem;
  line-height: 1.5;
}

/* ドットのスタイル */
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: white;
}





@media (max-width: 768px) {
    .sp-display{
        display: block;
    }

    .pc-display{
        display: none;
    }




    .main-content {
        padding: 12% 5%;
        line-height: 1.8;
    }


    .point-section {
        margin: 15% 5% !important;
    }



    .header-container {
        padding: 0.5%;
    }

    .header-container h1 {
        font-size: 1.5rem;
    }
    .map-icon {
        margin-left: 60%;
        width: 45px;
        height: 45px;
    }




    .button-container {
         margin-bottom: 25%;
         margin-top: 0;
    }


    .sub-content {
        margin-top: 5%;
    }


    .flex-container {
        flex-direction: column;
    }

    .flex-container img {
        max-width: 100%;
    }

    .teacher-container {
        flex-direction: column;
        text-align: center;
        margin-top: 15%;
        margin-bottom: 15%;
    }

    .teacher-container img {
        /*margin-bottom: 3px;*/
    }


    /* アクセス詳細 */
    .access-container {
        flex-direction: column;
        text-align: center;
        margin-top: 15%;
        margin-bottom: 15%;
        margin-left: 0%;
        margin-right: 0%;
    }

    .access-container img {
        max-width: 450px;
    }

    .access-container p{
        font-size: 16px;
    }
    /* アクセス詳細 */



    .highlight-large {
        font-size: 1.0rem;
        margin-bottom: 20px;
    }

    .highlight-large-2 p{
        font-size: 1.3rem;
    }


    .main-content {
    
    }


    .main-content h2 {
        color: #eb5527;
        /*font-size: 2.75vh;*/
        margin-bottom: 20px;
        text-align: center;
    }
    iframe {
        height: 300px;
    }

    .head-space{
        margin-top: 30%;
    }

    .head-space-half{
        margin-top: 12.5%;
    }

    .university-grid {
        grid-template-columns: repeat(3, 1fr); /* スマホは3列 */
        margin-top: 10%;
        margin-bottom: 35%;
    }
    .university-card {
        font-size: 15px;
    }
    .carousel-osaka{
        max-width: 100%;
        height: 100%;
    }

    .carousel-osaka2{
        max-width: 100%;
        height: 100%;
        margin-top: -25px;
    }

    .read-more {
        margin-bottom: 5%;
    }
}





/* 全体的な画像スタイル */
.responsive-image {
    display: block; /* 画像をブロック要素にして中央揃えを可能に */
    /*max-width: 90%; /* 画像が親要素や画面幅を超えないように制限 */
    height: auto; /* アスペクト比を維持 */
    margin: 20px auto; /* 上下に20px、左右中央寄せ */
    border-radius: 8px; /* 角を少し丸める（オプション） */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 軽い影を付ける（オプション） */
}

/* PC用スタイル */
@media (min-width: 768px) {
    .responsive-image {
        max-width: 70%; /* PCでは画像を少し広く表示 */
        margin: 30px auto; /* 上下に余裕を追加 */
        /*margin-bottom: 10%;*/
    }

    .content-space {
        margin-top: 2.5%;
        margin-bottom: 7.5%;
    }
}

/* スマホ用スタイル */
@media (max-width: 767px) {
    .responsive-image {
        /*max-width: 90%; /* スマホでは画面幅に近いサイズで表示 */
        margin: 15px auto; /* 上下の余白を少し狭める */
        /*margin-bottom: 20%;*/
    }
    .content-space {
        margin-top: 5%;
        margin-bottom: 20%;
    }
}










/* POINTセクション */
.point-section {
  background-color: #fff;
  margin: 60px 15%;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.point-header {
  background: linear-gradient(to right, #3b93e4, #66b5ff);
  padding: 10px 15px;
  color: #fff;
  text-align: center;
}

.point-number {
  font-weight: 700;
  font-size: 1rem;
}

.point-content {
  padding: 15px;
  font-size: 0.9rem;
}

.point-content p {
  margin: 0 0 1em 0;
}

.point-content b {
  font-weight: bold;
  color: #000;
}

.point-subtitle {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1em 0;
}

/* 相談会セクション */
.consultation-section {
  padding: 5px 15px;
    margin-bottom: 0;
}

.consultation-text {
  font-size: 0.9rem;
  color: #3b79bb;
  margin-bottom: 20px;
}

.consultation-button {
  display: inline-block;
  background-color: #ff8c00;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.consultation-button:hover {
  background-color: #e67e00;
}

/* 校舎情報セクション */
.campus-info {
  padding: 0% 15px;
  margin-bottom: 20%;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  border-bottom:none !important;
}

/* 麹町校設備タイトル調整 */
.section-title.white-bg {
  background-color: transparent;
  color: #3b93e4;
  margin-bottom: 20px;
  font-size: 2.0em !important;
  /*font-size: 2.5vh !important;*/
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
  gap: 3% 10px;
}

.campus-item {
  /*background-color: #fff;*/
  padding: 5px;
  border-radius: 5px;
  /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.campus-item img {
  text-align: center;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
  margin-bottom: 5px;
    max-height: 500px;
    aspect-ratio: 4 / 3;
}


.campus-item h3 {
  text-align: left;
  margin: 0;
  font-size: 0.9rem;
  color: black;
  font-weight: 600;
}

.campus-item p {
  text-align: left;
  margin: 0;
  font-size: 0.75rem;
  line-height: 150%;
}


/* ------------------------------------- */
/* PC向けレイアウト                      */
/* ------------------------------------- */
@media (min-width: 768px) {
  body {
    background-color: #fff;
  }



    .campus-item h3 {
      text-align: left;
      margin: 0;
      font-size: 1.25rem;
      color: black;
      font-weight: 600;
    }


  .section-title.white-bg {
      font-size: 2.0em !important;
      /*font-size: 2.5vh !important;*/
  }


  .container {
    max-width: 960px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #f0f8ff;
  }

  .main-header {
    height: 70px;
    background-color: #fff; /* PC版はヘッダー背景を白に */
  }
  
  .header-title {
    font-size: 1.5rem;
    position: static;
  }
  
  .header-logo {
    font-size: 1.8rem;
    right: 25px;
    color: #3b93e4; /* PC版はロゴも青系に */
  }
  
  .point-header {
    padding: 15px 25px;
  }

  .point-number {
    font-size: 1.2rem;
  }

  .point-content {
    padding: 25px;
    font-size: 1rem;
  }

  .point-subtitle {
    font-size: 1.2rem;
  }

  .consultation-section {
    padding: 15px 20px;
    margin-bottom: 10%;
  }

  .consultation-text {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .campus-info {
    padding: 0 20px;
  margin-bottom: 5%;
  }

  .campus-grid {
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 20px;
  }

  .campus-item img {
    /*height: 150px;*/
    object-fit: cover;
    max-height: 500px;
    aspect-ratio: 4 / 3;
  }


}  






/*アクセス*/
.access-info {
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
    margin-bottom: 10%;
}


.access-section {
  padding-bottom: 20px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 12.5%;
}


/* PC向けレイアウト */
@media (min-width: 768px) {
    .access-info {
        margin-bottom: 5%;
    }

    .access-section {
      padding-bottom: 20px;
      border-bottom: 1px solid #ccc;
      margin-bottom: 20px;
    }
}






ul {
  list-style: disc;
  margin: 0;
}

li {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.access-section p {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}

.map-link {
  color: #3071b7;
  text-decoration: underline;
  font-size: 14px;
  display: block;
  margin-top: 10px;
}

.tel-link {
  color: #3071b7;
  text-decoration: none;
  font-size: 14px;
  display: block;
}

.tel-link:last-of-type {
  margin-top: 5px;
}

/* リンクホバー時のスタイル */
a.map-link:hover,
a.tel-link:hover {
  opacity: 0.8;
}









.jp-container {
  max-width: 100%;
  margin: 0 auto;
  background-color: #e2ebf5;
    padding: 13% 0;
}

/* 合格者の声セクション */
.jp-testimonial-section {
  padding: 5%;
  padding-left: 5%;  /* スマホの余白 */
  padding-right: 5%; /* スマホの余白 */
}

.jp-section-header {
  padding: 15px;
  text-align: center;
  color: #fff;
  background: linear-gradient(to right, #ffc9e0, #ea5f95, #ffc9e0);
  margin-bottom: 10%;
}

.jp-section-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

/* 合格者の声カード */
.jp-testimonial-card {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 15px;
  margin-bottom: 10%;
}

.jp-testimonial-header {
  padding: 30px 30px;
  border-bottom: 1px solid #eee;
}

.jp-badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #ea5f95;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  gap: 10px;
}

.jp-badge-text-secondary {
  font-size: 1.1rem;
  color: #000;
  background-color: #fff;
  padding: 0 15px;
  border-radius: 3px;
}

.jp-profile {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.jp-profile-icon {
  width: 30%;
  /*height: 60px;
  border-radius: 50%;*/
  margin-right: 30px;
  border: 1px solid #ccc;
}

.jp-profile-info .jp-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  margin-bottom: 10%;
}

.jp-profile-info .jp-location {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.jp-testimonial-body {
  padding: 15px 30px;
}

.jp-testimonial-body p {
  font-size: 1.0rem;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* PC向けレイアウト */
@media (min-width: 768px) {
    .jp-profile-icon {
      width: 10%;
      /*height: 60px;
      border-radius: 50%;*/
      margin-right: 30px;
      border: 1px solid #ccc;
    }

  .jp-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 3% 0;
  }

  .jp-testimonial-section {
    padding: 5%;
    padding-left: 15%;  /* PCの余白 */
    padding-right: 15%; /* PCの余白 */
  }

  .jp-section-header {
    padding: 15px 50px;
    margin-bottom: 3%;
  }
  
  .jp-section-title {
    font-size: 1.5rem;
  }

  .jp-testimonial-header {
    padding: 30px 50px;
    border-bottom: 1px solid #eee;
  }

  .jp-testimonial-body {
    padding: 15px 50px;
  }
  
  .jp-testimonial-card {
    margin-top: 20px;
    margin-bottom: 40px;
  }
  
  .jp-profile-info .jp-name {
    font-size: 1.5rem;
  }

  .jp-profile-info .jp-location {
    font-size: 1.2rem;
  }
}








/* 寮リストセクションの共通スタイル */
.dormitory-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Noto Sans JP', sans-serif;
  /*background-color: #f9f9f9;*/
}

.dormitory-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* 個々の寮カードのスタイル */
.dorm-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 90px;
  overflow: hidden;
}

.dorm-header {
  padding: 15px 20px;
  background-color: #3b93e4;
  color: #fff;
}

.dorm-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.dorm-body {
  padding: 20px;
  display: flex;
  flex-direction: column; /* スマホでは縦並び */
  gap: 20px;
}

.dorm-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.dorm-info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dorm-info-list dt {
  font-weight: bold;
  color: #3b93e4;
  margin-top: 10px;
  margin-bottom: 5px;
}

.dorm-info-list dd {
  margin-left: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.dorm-footer {
  padding: 20px;
  background-color: #f0f8ff;
  border-top: 1px solid #e0e0e0;
}

.dorm-fee-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: bold;
  color: #333;
}

.dorm-fee-text {
  margin: 5px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* PC向けレイアウト（横並び） */
@media (min-width: 768px) {
  .dorm-body {
    flex-direction: row; /* PCでは横並び */
  }
  
  .dorm-image {
    flex: 1;
  }
  
  .dorm-details {
    flex: 2;
  }

  .dorm-info-list dt {
    width: 120px; /* PCではタイトル幅を固定 */
    /*float: left;*/
    clear: left;
    margin-right: 15px;
  }
  
  .dorm-info-list dd {
    overflow: hidden;
    margin-bottom: 12.5px;
  }
}




/*講師紹介*/
.jp-teacher-container {
  max-width: 100%;
  margin: 0 auto;
}

/* 合格者の声セクション */
.jp-teacher-section {
  padding: 5% 0%;
}

.jp-teacher-section-header {
  padding: 15px;
  text-align: center;
  color: #fff;
  background: linear-gradient(to right, rgb(0, 123, 229), #05a7e5);
}

.jp-teacher-section-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}


/* PC向けレイアウト*/
@media (min-width: 768px) {
    .jp-teacher-container {
      max-width: 80%;
    }
    .jp-teacher-section {
      padding: 5%;
      padding-left: 5%;  /* スマホの余白 */
      padding-right: 5%; /* スマホの余白 */
    }
}



/*動画箇所*/
.video-container {
    display: flex;
    flex-direction: row;
    /*width: 100%;*/
    max-width: 70%;
    margin: 0 auto;
    padding: 0 20px;
}
.sidebar {
    flex: 1;
    background: #f4f4f4;
    overflow-y: auto;
    padding: 10px;
    min-width: 250px;
}
.sideba-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 30px;
    margin-top: 20px;
    /*margin-left: 20px;*/
    text-align: center;
}
.main-video {
    flex: 2;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    object-fit: contain;
}
.main-video video {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}
.video-item {
    display: flex;
    align-items: center;
    /*padding: 10px;*/
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
    /*border-bottom: 1px solid #ddd;*/
    border-top: 1px solid #ddd;
    height: 15%;
}
.video-item:hover {
    background: #ddd;
}
.video-thumbnail {
    width: 40%;
    /*max-width: 120px;*/
}
.video-thumbnail img {
    width: 100%;
    height: auto;
}
.video-title {
    color: #4d4d4d;
    width: 55%;
    padding: 0 10px;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 160%;
}
.video-duration {
    /*width: 5%;*/
    text-align: right;
    font-size: 13px;
    color: #666;
    margin-right: 10px;
}

/* スマホ用レイアウト */
@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .sidebar {
        /*width: 100%;*/
        height: auto;
        /*max-height: 200px;*/
        overflow-x: auto;
        order: 2;
        margin-bottom: 10%;
    }

    .sideba-title {
        font-size: 15px;
        margin-bottom: 15px;
        text-align: center;
        margin-top: 10px;
        margin-left: 0px;
    }

    .video-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        /*width: 100%;*/
        order: 1;
    }

    .video-thumbnail {
        width: 35%;
        /*max-width: 100px;*/
    }

    .video-title {
        color:#4d4d4d
        width: 60%;
        font-size: 13.5px;
    }

    .video-duration {
        /*width: 5%;*/
        font-size: 12px;
        margin-right: 10px;
    }

    .main-video video {
        max-height: 50vh;
    }
}



/*校舎ロゴ画像*/
.brand-logo-image{
    max-width: 65%;
    margin: 0 auto;
    margin-top: 7%;
}

.sn-category-image{
    max-width: 80%;
    margin: 0 auto;
}

/*区切り選*/
.line-break{
    /*margin: 0 auto;*/
    margin-bottom: 10%;
    max-width: 80%;
    border-bottom: 0.5px solid rgba(204, 204, 204, 0.5);
}


/* PC向けレイアウト*/
@media (min-width: 768px) {
    .brand-logo-image{
        max-width: 20%;
        margin: 0 auto;
        margin-top: 3%;
        }

    .sn-category-image{
        max-width: 45%;
        margin: 0 auto;
    }

    .line-break{
        /*margin: 0 auto;*/
        margin-bottom: 5%;
        max-width: 70%;
        border-bottom: 0.5px solid rgba(204, 204, 204, 0.5);
    }

}







/*コース*/
.jp-course-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 10% 20px;
}

/* 冒頭のテキスト部分 */
.jp-intro-text {
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}

.jp-intro-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #3b93e4;
}

.jp-intro-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 5px;
  color: #333;
}

/* コースカードのグリッドレイアウト */
.jp-course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* スマホでも2列に */
  gap: 15px;
  max-width: 960px;
  margin: 0 auto;
}

/* コースカードの共通スタイル */
.jp-course-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-align: center;
  display: flex; /* Flexboxを使って全体をレイアウト */
  flex-direction: column;
    margin-bottom: 10%;
}

/* コースカードのヘッダー部分 */
.jp-course-label {
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
  padding: 15px 0px;
  /* 背景を単色にし、より引き締まった印象に */
}

/* コース名と詳細部分 */
.jp-course-info {
  background-color: #fff;
  color: #333;
  padding: 15px;
  flex-grow: 1; /* 余白を埋めるためにFlexboxで拡大 */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直方向の中央寄せ */
}

.jp-course-name {
  font-size: 0.9rem;;
  font-weight: 700;
  margin: 0 0 10px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
  display: inline-block;
}

.jp-course-details {
  margin-top: auto; /* 詳細を常に下部に配置 */
}

.jp-course-meta {
  font-size: 0.8rem;
  margin: 5px 0;
}

/* 各カードのテーマカラー */
.jp-card-blue {
  background-color: #3b93e4;
}

.jp-card-green {
  background-color: #5cb85c;
}

.jp-card-purple {
  background-color: #7d5cd6;
}

.jp-card-orange {
  background-color: #e67e22;
}


.p-space{
    margin-top: 5%;
}

.space-add{
    margin-top: 12.5% !important;
}


/* PC向けレイアウト */
@media (min-width: 768px) {
  .jp-course-container {
    padding: 40px;
  }
  
  .jp-intro-title {
    font-size: 2rem;
  }
  
  .jp-intro-subtitle {
    font-size: 1.5rem;
  }
  
  .jp-course-grid {
    grid-template-columns: repeat(2, 1fr); /* PCでも2列のまま */
    gap: 30px;
  }

  .jp-course-name {
    font-size: 1.5rem;
  }


    .jp-course-label {
      font-size: 1.25rem;
    }

    .p-space{
        margin-top: 1.5%;
    }


    .space-add{
        margin-top: 5% !important;
    }


    .jp-course-card {
        margin-bottom: 5%;
    }


}