/* --- 日本語フォントを使用するすべての要素に font-weight: 500 を適用 --- */

/* 1. 全称セレクタで一括指定 */
#thu-f-content * {
    font-weight: 500;
}

/* 2. enrollment.css で使われている主要なテキストクラスを強制上書き */
#thu-f-content .section-subtitle,
#thu-f-content .card-title h2,
#thu-f-content .card-title h3,
#thu-f-content .card-text,
#thu-f-content .card-btn,
#thu-f-content .card-btn-mobile,
#thu-f-content .card-btn-mobile-2,
#thu-f-content .mixed-title h2,
#thu-f-content .mixed-title h3,
#thu-f-content .mixed-title h4,
#thu-f-content .course .card-text,
#thu-f-content .qna *,
#thu-f-content .check-container *,
#thu-f-content .news-title-text,
#thu-f-content .news-subtitle {
    font-weight: 500 !important;
}

/* 3. 見出しなどで太字（Bold）を維持したい場合のみ、以下を追加して除外 */

#thu-f-content .section-subtitle2, 
h1, h2, h3, strong, b {            
    font-weight: bold !important;
}

/* ---------------- ここまで追加 ---------------- */

#thu-f-content {
  overflow-x: hidden;
  width: 100%;
}

#thu-f-content .section-title {
  font-family: 'Saira Condensed', sans-serif !important;
  font-weight: 300 !important;
  font-size: 76px !important;
  color: var(--turquoise) !important;
}

#thu-f-content .section-subtitle {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  font-weight: normal;
  font-size: 14.8px !important;
  color: var(--blue);
  margin-bottom: 0;
}

#thu-f-content .card-title h2,
#thu-f-content .card-title h3 {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
}

#thu-f-content .card-text {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  font-weight: 500;
  font-size: 16px;
}

#thu-f-content .card-btn,
#thu-f-content .card-btn-mobile,
#thu-f-content .card-btn-mobile-2 {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 768px) {
  #thu-f-content .section-title {
    font-size: 41px !important;
  }
  
  #thu-f-content .section-subtitle {
    font-size: 18.1px !important;
  }
  
  #thu-f-content .card-text {
    font-size: 10.1px !important;
  }
}

body{
  background-color: var(--grey);
}

#thu-f-content #section3,
#thu-f-content #section3 *,
#thu-f-content .mixed-title h2,
#thu-f-content .mixed-title h3,
#thu-f-content .mixed-title h4,
#thu-f-content .courses-container,
#thu-f-content .course,
#thu-f-content .course .card-text,
#thu-f-content .etc,
#thu-f-content .etc2 {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}

#thu-f-content .mixed-title .mobile4 {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}

#thu-f-content .course{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100px;
  /* border: 1px solid #ccc; */
}
#thu-f-content .course .card-text {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
  text-align: center;
  margin-top: 8px;
  white-space: nowrap;
}

#thu-f-content #section3 .card-btn {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}



#thu-f-content .card35 span {
    font-family: "Hiragino Kaku Gothic ProN", 
                 "Hiragino Kaku Gothic Pro",
                 "游ゴシック体", YuGothic, 
                 "游ゴシック", "Yu Gothic",
                 "メイリオ", Meiryo, 
                 sans-serif !important;
}

#thu-f-content .card-text span {
    font-family: "Hiragino Kaku Gothic ProN", 
                 "Hiragino Kaku Gothic Pro",
                 "游ゴシック体", YuGothic, 
                 "游ゴシック", "Yu Gothic",
                 "メイリオ", Meiryo, 
                 sans-serif !important;
}

#thu-f-content .card36 span {
    font-family: "Hiragino Kaku Gothic ProN", 
                 "Hiragino Kaku Gothic Pro",
                 "游ゴシック体", YuGothic, 
                 "游ゴシック", "Yu Gothic",
                 "メイリオ", Meiryo, 
                 sans-serif !important;
}
 


#thu-f-content .qna-lists,
#thu-f-content .qna-lists *,
#thu-f-content .qna,
#thu-f-content .qna .top,
#thu-f-content .qna .bottom,
#thu-f-content .qna .section-subtitle,
#thu-f-content .qna .qna-card-txt,
#thu-f-content .qna .qcolor,
#thu-f-content .qna p,
#thu-f-content .qna a {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}

#thu-f-content .qcolor {
  color: white !important;
}

#thu-f-content .section-subtitle {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
  font-weight: regular;
  font-size: 17x !important ;
  color: var(--blue);
  margin-bottom: 0;
}

#thu-f-content .section-subtitle2 {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
  font-weight: bold;
  font-size: 17px !important ;
  color: var(--blue);
  margin-bottom: 0;
}

#thu-f-content .qna a {
  color: var(--blue);
  text-decoration: underline;
}

#thu-f-content .qna-card-txt {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}

#thu-f-content .check-container,
#thu-f-content .check-container *,
#thu-f-content .check-item,
#thu-f-content .check-label,
#thu-f-content .check-list,
#thu-f-content .check-wrap,
#thu-f-content .web-view-tap,
#thu-f-content .table-session {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}

#thu-f-content .check-container .card-btn,
#thu-f-content .check-container .card-text,
#thu-f-content .check-item .check-label {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}

#thu-f-content .card-section,
#thu-f-content .card-section * {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}

#thu-f-content .card-title h2,
#thu-f-content .card-title h3,
#thu-f-content .card-text,
#thu-f-content .card-btn {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif !important;
}

@media (max-width: 768px) {
  #thu-f-content .mixed-title h2, 
  #thu-f-content .mixed-title h3, 
  #thu-f-content .mixed-title h4 {
    font-size: 15px;
    margin: 0 2px;
    display: inline-block;
  }
  
  #thu-f-content .mixed-title h2.mobile4 {
    font-size: 47px !important;
  }
}

@media (max-width: 768px) {
  #thu-f-content .mixed-title {
    display: inline;
    align-items: flex-end;
    gap: 5px;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  #thu-f-content .margin-top-up {
   
    margin-top: -47px;

  }
}

#thu-f-content .news-title {
font-size: 4rem !important;
font-weight: bold !important;
color: #4CAF50 !important;
margin-bottom: 20px !important;
letter-spacing: 2px !important;
}

#thu-f-content .first-div {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    padding: 4px 19px !important;
}

#thu-f-content .check-label{
  font-size: 12px !important;
}
#thu-f-content .card-text {
  font-size: 15px !important;
}


#thu-f-content .card-title h3 {
    font-family: var(--japanese_font);
    font-weight: bold;
    color: var(--blue);
    font-size: 16px;
    height: 20px;
}

#thu-f-content .card-btn span {
    font-size: clamp(12px, 2.5vw, 15px);
}

#thu-f-content .news-subtitle {
color: #2c5aa0 !important;
font-size: 1.2rem !important;
font-weight: 500 !important;
}

#thu-f-content .news-container {
background: white;
padding: 0px;
margin-top: 30px;
}

#thu-f-content .news-item {
display: flex !important;
align-items: flex-start !important;
padding: 20px 0 !important;
border-bottom: 1px solid #e0e0e0 !important;
flex-direction: row !important;
}

#thu-f-content .news-item:last-child {
border-bottom: none !important;
}

#thu-f-content .news-image {
width: 200px !important;
height: 120px !important;
margin-right: 25px !important;
flex-shrink: 0 !important;
}

#thu-f-content .news-image img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
border-radius: 8px !important;
}

#thu-f-content .news-content {
flex: 1 !important;
display: flex !important;
flex-direction: column !important;
justify-content: flex-start !important;
}

#thu-f-content .news-date {
  color: var(--turquoise) !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  margin-bottom: 10px !important;
}

#thu-f-content .news-title-text {
color: #333 !important;
font-size: 11px !important;
line-height: 1.5 !important;
font-weight: 500 !important;
}

@media (max-width: 768px) {
#thu-f-content .news-title {
  font-size: 3rem !important;
}

#thu-f-content .news-item {
  flex-direction: row !important;
  align-items: flex-start !important;
}

#thu-f-content .news-image {
  width: 150px !important;
  height: 100px !important;
  margin-right: 6px !important;
  margin-bottom: 0 !important;
}

#thu-f-content .news-content {
  flex: 1 !important;
}
}

#thu-f-content .tab-imgs {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

#thu-f-content .tab-imgs .img {
  flex: 0 0 auto;
  width: 70%;
}

#thu-f-content .tab-imgs .img img {
  width: 100%;
  height: auto;
  display: block;
}



#thu-f-content .tab-imgs .gif img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
#thu-f-content .devide-line + section .card-section {
  display: flex !important;
  overflow-x: scroll !important;
  scroll-behavior: smooth !important;
  gap: 15px !important;
  padding: 10px !important;
  -webkit-overflow-scrolling: touch !important;
  flex-wrap: nowrap !important;
  position: relative !important;
  flex-shrink: 0;
  /* white-space: nowrap; */
}

#thu-f-content .devide-line + section .card-section .card {
  min-width: 220px !important;
  max-width: 220px !important;
  flex-shrink: 0 !important;
}

/* #thu-f-content .devide-line + section .card-section::before {
  content: "SCROLL →";
  position: absolute!important;
  top: -4px;
  right: 0px;
  font-size: 12px;
  color: #007bff;
  font-weight: bold;
  z-index: 10;
} */

#thu-f-content .devide-line + section .card-section::-webkit-scrollbar {
  height: 4px;
}

#thu-f-content .devide-line + section .card-section::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#thu-f-content .devide-line + section .card-section::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 10px;
}
}


@media (max-width: 768px) {
#thu-f-content .tab-img {
  display: none;
}
}

@media (max-width: 768px) {
#thu-f-content .tab-section {
  width: 100%;
}
}

@media (max-width: 768px) {
#thu-f-content .tab-section {
  width: 100%;
}
}



#thu-f-content .tab-imgs {
  display: none;
}

@media (max-width: 768px) {
#thu-f-content .tab-imgs {
  display: flex;
  width: 193px;
  margin-left: 178px;
}
}


@media (max-width: 768px) {
#thu-f-content .one-card {
  display: none;
}
}

#thu-f-content .card-view {
  display: none;
}

@media (max-width: 768px) {
#thu-f-content .card-view {
  display: block;
  display: flex;
  align-items: flex-end;
}
}


#thu-f-content .web-img {
  width: 174px;
}

@media (max-width: 768px) {
  #thu-f-content .web-img {
      width: 100% !important;
      height: auto;
  }
}



@media (max-width: 768px) {
#thu-f-content .card2 {
  display: block;
  gap: 0px;
}
}

#thu-f-content .card-text.web {
display: none;
}

#thu-f-content .card-text.mobile {
display: block;
}

@media (min-width: 769px) {
#thu-f-content .card-text.web {
    display: block;
}

#thu-f-content .card-text.mobile {
    display: none;
}
}


@media (max-width: 768px) {
#thu-f-content .card2-content {
    padding: 0 !important;
    text-align: left !important;
    margin-left: 82px !important;
    margin-top: -7px !important;
}
}


@media (max-width: 768px) {
#thu-f-content .m-b-60-mb {
  margin-bottom: 26px !important;
}
}


#thu-f-content .mobile-view .contents-card-container {
display: flex;
flex-direction: column;
gap: 30px;
}

#thu-f-content .mobile-view .contents-card {
width: 100%;
}

#thu-f-content .mobile-view .contents-title {
font-size: 1.5rem;
}

#thu-f-content .mobile-view .contents-subtitle {
font-size: 1rem;
line-height: 1.4;
}

#thu-f-content .mobile-view .contents-img img {
max-width: 100%;
height: auto;
}

#thu-f-content .mobile-view .card-text.web {
display: none;
}

#thu-f-content .mobile-view .card-text.mobile {
display: block;
}



#thu-f-content .mobile-view {
display: none;
}

#thu-f-content .web-view {
display: block;
}

@media (max-width: 768px) {
  #thu-f-content .mobile-view {
    display: block;
  }

  #thu-f-content .web-view {
    display: none;
  }
  
  #thu-f-content .qna-img7 {
    width: 118px;
  }
}

@media (min-width: 769px) {
  #thu-f-content .qna-img7 {
    width: 181px;
  }
}



@media (max-width: 768px) {
  #thu-f-content .table-session {
   display: none;
  }
  }
  
  
 #thu-f-content .console-slider {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

#thu-f-content .slider-container {
  width: 100%;
  overflow: hidden;
}

#thu-f-content .slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

#thu-f-content .slider-slide {
  min-width: 100%;
  text-align: center;
}

#thu-f-content .slider-slide img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#thu-f-content .slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 20px;
}

#thu-f-content .slider-prev,
#thu-f-content .slider-next {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 15px;
  background: #2d4a95;
  color: white;
  border-radius: 4px;
}

#thu-f-content .slider-dots {
  display: flex;
  gap: 10px;
}

#thu-f-content .slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
}

#thu-f-content .slider-dot.active {
  background: #2d4a95;
}



/* @media (max-width: 934px) {
    #thu-f-content .card-title h3 {
        font-size: 9.3px;
       margin-bottom: -7px !important;
    }
    
    #thu-f-content .card-title h2, #thu-f-content .watermark {
        font-size: 12.4px;
    }
} */

@media (max-width: 768px) {
  #thu-f-content .card-section {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px !important;
  }
  
  #thu-f-content .card {
      height: 221px;
  }
  
  #thu-f-content .first-div {
      padding: 9px;
      height: 100%;
  }
  
  #thu-f-content .second-div {
      height: 100%;
  }
  
  #thu-f-content .card-title h2, #thu-f-content .watermark {
      font-size: 20px;
      height: 24px;
      line-height: 28px;
      font-weight: bold;
  }
}


#thu-f-content .devide-line .line {
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, #2d4a95, #0b9dd5 90%);
  margin: 60px auto;
}

#thu-f-content .check-container {
  padding: 90px;
  border: 40px solid var(--white);
  background-color: #F8F8F8;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}


#thu-f-content .check-item {
  color: #2D4A95;
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--blue);
}

#thu-f-content .etc {
  display: none;
}

@media (min-width: 769px) {
  #thu-f-content .etc {
    display: block;
    position: absolute;
    right: -6%;
    top: 48%;
    color: #2D4A95;
  }
}


/* @media (max-width: 480px) {
  #thu-f-content .courses-container {
      grid-template-columns: repeat(3, 1fr);
      max-width: 300px;
      margin: 0 auto;
  }
  
  #thu-f-content .mobile-course {
    display: none;
  }
} */


@media (min-width: 769px) {
  #thu-f-content .qna-img4 {
    width: 171px;
  }
}


#thu-f-content .qna {
  background-color: #E4ECF3;
  padding: 20px;
}


#thu-f-content .etc2 {
  display: none;
}

@media (max-width: 768px) {
  #thu-f-content .etc2 {
    display: block;
    text-align: center;
    margin: 10px 0;
  }
}



@media (max-width: 768px) {
  #thu-f-content .web-view-tap {
    display: none;
  }
}




@media (max-width: 768px) {
  #thu-f-content .mobile-font-size {
    font-size: 32px !important;
    /* line-height: 52px !important; */
  }
}
@media (max-width: 768px) {
  #thu-f-content .card-text {
    font-size: 10px !important;
}
}


@media (max-width: 768px) {
  #thu-f-content .mobile-body-text{
    font-size: 14px !important;
    height: 13px !important;
  }
}

#thu-f-content .section-title {
  font-weight: 300 !important;
  font-size: 76px !important;
  color: var(--turquoise) !important;
  font-family: 'Saira Condensed', sans-serif !important;
}

@media (max-width: 768px) {
  #thu-f-content .section-title {
    font-weight: 300 !important;
    font-size: 41px !important;
    color: var(--turquoise) !important;
    font-family: 'Saira Condensed', sans-serif !important;
  }
  
}
@media (max-width: 768px) {
  #thu-f-content .first-div  {
       padding: 4px 8px !important;
  }
}

@media (max-width: 768px) {
 #thu-f-content .padding-button   {
               padding: 0px;
               
  }
}

@media (max-width: 768px) {
  #thu-f-content .card-title {
    width: 166px;
  }
  
  @media (max-width: 390px) {
    #thu-f-content .card-title {
      width: 141px;
    }
  }
}



@media (max-width: 390px) {
  #thu-f-content .card-title h3 {
    font-family: var(--japanese_font);
    font-weight: bold;
    color: var(--blue);
    font-size: 11px;
    height: 22px !important;
  }
}


@media (max-width: 390px) {
  #thu-f-content .padding-button2 {
     margin-top: -9px !important;
  }
}



@media (max-width: 768px) {
  #thu-f-content .card-btn  {
     margin-left: 14px !important;
  }
}



@media (max-width: 768px) {
  #thu-f-content .padding-size-2  {
            margin-top: 6px;
  }
}

@media (max-width: 390px) {
  #thu-f-content .padding-size-2  {
            margin-top: -6px;
  }
}



@media (max-width: 390px) {
  #thu-f-content .padding-size-4444  {
            margin-top: 0px !important;
  }
}


@media (max-width: 768px) {
  #thu-f-content .padding-size-4444  {
           margin-top: -14px;
  }
}

@media (max-width: 768px) {
    #thu-f-content .qna-lists {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 390px) {
  #thu-f-content .card-title h3{
                  font-size: 9px !important;
        height: 19px !important
  }
}


@media (max-width: 390px) {
  #thu-f-content .card-btn {
     margin-left: 0px !important;
  }
}

       

@media (max-width: 768px) {
 #thu-f-content .padding-button2 {
  margin-top: -6px;
 }
}
    

@media screen and (max-width: 768px) {
    #thu-f-content .card-title h3 {
        font-family: var(--japanese_font);
        font-weight: bold;
        color: var(--blue);
        font-size: 11px;
        height: 15px;
    }
}


@media screen and (max-width: 412px) {
    #thu-f-content .card-title h3 {
        font-family: var(--japanese_font);
        font-weight: bold;
        color: var(--blue);
        font-size: 11px;
        height: 21px;
    }
}


/* @media screen and (max-width: 933px) {
    #thu-f-content .card-title h3 {
        font-family: var(--japanese_font);
        font-weight: bold;
        color: var(--blue);
        font-size: 11px;
       height: 21px;
    }
} */


/* @media screen and (max-width: 934px) {
    #thu-f-content .card-title h3 {
        font-family: var(--japanese_font);
        font-weight: bold;
        color: var(--blue);
        font-size: 11px;
       height: 22px;
    }
} */


@media (max-width: 414px) {
#thu-f-content .padding-button  {
        margin-top: 1px !important;
    }
   #thu-f-content .padding-size-2{
    margin-top: -7px !important;
   } 
}


@media (max-width: 768px) {
 #thu-f-content .card-btn span   {
       font-size: 9px !important;
  }
  
  
}

@media (max-width: 768px) {
 #thu-f-content .passing-button2   {
      padding: 7px;
  }
  
  
}

 

@media (max-width: 768px) {
 #thu-f-content .card-btn {
    width: 140px;
    padding: 6px;
  }
  
  
}

@media (max-width: 768px) {
 #thu-f-content .card-view {
    margin-bottom: 8px;
  }
  
  
}

@media (max-width: 768px) {
 #thu-f-content .padding-size {
    margin-top: -8px;
  }
  
  
}

@media (max-width: 768px) {
 #thu-f-content .margin-top-up-2 {
        margin: 0 auto !important; 
  } 
}


@media (max-width: 768px) {
 #thu-f-content .img::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 13px;
    width: 100%;
    height: 245px !important;
    background: linear-gradient(to right, #2d4a95, #0b9dd5);
    z-index: -1;
}
}



@media (max-width: 390px) {
 #thu-f-content .img::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 13px;
    width: 100%;
    height: 229px   !important;
    background: linear-gradient(to right, #2d4a95, #0b9dd5);
    z-index: -1;
}
}




@media (max-width: 768px) {
 #thu-f-content .card32 {
   width: 75% !important;
}
}


@media (max-width: 768px) {
        #thu-f-content .card35 {
        margin-top: -34px !important;
        width: 55% !important;
        margin-left: 25px !important;
    }
}


#thu-f-content .card2 .card-btn {
    width: 80%;
    margin-top: 16px;
}
@media (min-width: 769px) {
    #thu-f-content .card-title {
        margin-left: -9px !important; 
    }

    #thu-f-content .card2 .card-btn {
    width: 97%;
    margin-top: 16px;
}

#thu-f-content .new {
    display: flex;
    align-items: center;
    justify-content: normal;
    border-bottom: 1px solid var(--blue);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#thu-f-content .cardspacing00{
  max-width: 23% !important;
}
#thu-f-content .imageszie-3{
      width: 164px !important;
}
}


@media (min-width: 769px) {
    #thu-f-content .card2 .card-btn {
        width: 97% !important;
        margin-top: 16px;
    }
}

@media (max-width: 769px) {
  html {
    background-color: var(--grey);
  }

  body {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    background-color: var(--grey);
  }
}


@media (max-width: 390px) {
    #thu-f-content .card35 {
        margin-top: -39px !important;
        margin-left: 19px !important;
        width: 147px !important;
    }
}


@media (min-width: 769px)  {
  #thu-f-content .card36 {
        width: 49% !important;
        margin-left: 47px !important;
  }
}



@media (min-width: 390px)  {
  #thu-f-content .card36 {
      width: 56% !important;
        margin-left: 22px !important;
  }
}

@media (min-width: 1024px)  {
  #thu-f-content .card38 {
        width: 49% !important;
        margin-left: 47px !important;
  }
}



@media (min-width: 390px)  {
  #thu-f-content .card38 {
      width: 56% !important;
        margin-left: 22px !important;
  }
}




@media (min-width: 1024px)  {
  #thu-f-content .card39 {
        width: 49% !important;
        margin-left: 47px !important;
  }
}



@media (min-width: 390px)  {
  #thu-f-content .card39 {
      width: 56% !important;
        margin-left: 22px !important;
  }
}

@media (min-width: 1024px)  {
  #thu-f-content .card40 {
        width: 49% !important;
        margin-left: 47px !important;
  }
}



@media (min-width: 390px)  {
  #thu-f-content .card40 {
      margin-top: -44px !important;
      width: 56% !important;
      margin-left: 22px !important;
  }
}



@media (min-width: 1024px)  {
  #thu-f-content .card50 {
        width: 49% !important;
        margin-left: 47px !important;
  }
}



@media (min-width: 390px)  {
  #thu-f-content .card50 {
      width: 56% !important;
        margin-left: 22px !important;
  }
}


@media (max-width: 1024px) {
    #thu-f-content .websie-2 {
        padding-top: 51px;
    }
}

@media (min-width: 769px) {
    #thu-f-content .websie-2 {
        padding-top: px;
    }
}


#thu-f-content .m-b-30 {
    margin-bottom: 42px !important;
}


#thu-f-content .buttoncenter{
      margin-left: -11px;
}

#thu-f-content .img::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 20px;
    width: 100%;
    height: 120px;
    background: linear-gradient(to right, #2d4a95, #0b9dd5);
    z-index: -1;
}

#thu-f-content .card-btn:hover {
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 1px;
}


#thu-f-content .tabs {
    display: flex;
    gap: 0px;
    align-items: flex-end;
}




@media (min-width: 769px) {
    #thu-f-content .siceppdine {
      margin-top: 1px;
    }
}


@media (min-width: 1024px)  {
  #thu-f-content .websie-22 {
   padding-top: 61px !important;
  }
  #thu-f-content .center-button {
    margin: 20px auto 0;
    width: 242px;
    display: flex;
    justify-content: center;
  }
  #thu-f-content .center-button .web-button {
    background: linear-gradient(to right, #5be9b9, #5ee7c6) !important;
    border-radius: 50px;
    color: var(--white) !important;
    /* max-width: 130px; */
    height: 48px;
    font-size: 17px !important;
    position: relative;
    white-space: nowrap;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif;
    font-weight: bold;
    display: block;
    /* margin-left: auto; */
    /* margin-right: auto; */
    text-align: center;
    padding: 11px 15px;  }
}

@media (min-width: 390px)  {
 
  #thu-f-content .center-button {
    margin: 20px auto 0;
    width: 242px;
    display: flex;
    justify-content: center;
  }
  /* #thu-f-content .center-button .web-button {
    display: inline-block;
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 12px 0; */
  }

@media (min-width: 390px)  {
  #thu-f-content .card40 {
      margin-top: -44px !important;
      width: 56% !important;
      margin-left: 22px !important;
  }
}

@media (max-width: 768px) {
    #thu-f-content .web-button {
        display: inline-block;
        width: 242px;
    }
}

@media (max-width: 390px) {
    #thu-f-content .web-button {
    display: inline-block;
    width: 182px !important;
    } 
}

@media (max-width: 1026px) {
 #thu-f-content .card35{
  width: 178px !important;
 }
}

@media screen and (min-width: 501px) and (max-width: 1024px) {
    #thu-f-content .img::after {
        height: 266px !important;
    }
}

@media (max-width: 768px) {
    #thu-f-content .tab {
        text-align: center;
        /* border: 1px solid var(--blue); */
        padding: 0px 24px;
        font-family: var(--japanese_font);
        color: var(--blue);
        font-size: 10.36px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    #thu-f-content .sagasu {
        font-family: var(--japanese_font);
        margin: 10px;
        font-size: 15px;
    }
}

#thu-f-content .tab-imgs .gif {
    position: absolute;
    right: 0;
    bottom: 1px;
    width: 30%;
}
 

@media (max-width: 390px) {
    #thu-f-content .tab {
        text-align: center;
        border: 1px solid var(--blue);
        padding: 0px 30px;
        font-family: var(--japanese_font);
        color: var(--blue);
        font-size: 6.5px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-device-pixel-ratio: 2)
  and (orientation: portrait) {
    #thu-f-content .mixed-title h2, 
    #thu-f-content .mixed-title h3, 
    #thu-f-content .mixed-title h4 {
        font-size: 12px !important;
        margin: 0 2px !important;
        display: inline-block !important;
        line-height: 1.2 !important;
    }
}

@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px)
  and (-webkit-device-pixel-ratio: 2)
  and (orientation: portrait) {
    #thu-f-content .mixed-title h2, 
    #thu-f-content .mixed-title h3, 
    #thu-f-content .mixed-title h4 {
        font-size: 12px !important;
        margin: 0 2px !important;
        display: inline-block !important;
        line-height: 1.2 !important;
    }
}

@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: portrait) {
    #thu-f-content .mixed-title h2, 
    #thu-f-content .mixed-title h3, 
    #thu-f-content .mixed-title h4 {
        font-size: 12px !important;
        margin: 0 2px !important;
        display: inline-block !important;
        line-height: 1.2 !important;
    }
}

@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: portrait) {
    #thu-f-content .mixed-title h2, 
    #thu-f-content .mixed-title h3, 
    #thu-f-content .mixed-title h4 {
        font-size: 12px !important;
        margin: 0 2px !important;
        display: inline-block !important;
        line-height: 1.2 !important;
    }
}

@media only screen 
  and (min-device-width: 390px) 
  and (max-device-width: 844px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: portrait) {
    #thu-f-content .mixed-title h2, 
    #thu-f-content .mixed-title h3, 
    #thu-f-content .mixed-title h4 {
        font-size: 12px !important;
        margin: 0 2px !important;
        display: inline-block !important;
        line-height: 1.2 !important;
    }
}

@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 896px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: portrait) {
    #thu-f-content .mixed-title h2, 
    #thu-f-content .mixed-title h3, 
    #thu-f-content .mixed-title h4 {
        font-size: 12px !important;
        margin: 0 2px !important;
        display: inline-block !important;
        line-height: 1.2 !important;
    }
}

@media only screen 
  and (min-device-width: 393px) 
  and (max-device-width: 852px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: portrait) {
    #thu-f-content .mixed-title h2, 
    #thu-f-content .mixed-title h3, 
    #thu-f-content .mixed-title h4 {
        font-size: 12px !important;
        margin: 0 2px !important;
        display: inline-block !important;
        line-height: 1.2 !important;
    }
}

@media only screen 
  and (min-device-width: 430px) 
  and (max-device-width: 932px)
  and (-webkit-device-pixel-ratio: 3)
  and (orientation: portrait) {
    #thu-f-content .mixed-title h2, 
    #thu-f-content .mixed-title h3, 
    #thu-f-content .mixed-title h4 {
        font-size: 12px !important;
        margin: 0 2px !important;
        display: inline-block !important;
        line-height: 1.2 !important;
    }
}

@media screen and (min-width: 769px) and (max-width: 1028px) {
    #thu-f-content .card2 .card-btn {
        width: 55% !important;
        margin-top: 16px;
        margin-left: 36px !important;
    }
}

@media screen and (min-width: 1029px) and (max-width: 1279px) {
    #thu-f-content .siceppdine {
        margin-top: 23px;
    }
}

@media only screen 
  and (device-width: 414px) 
  and (device-height: 896px) 
  and (-webkit-device-pixel-ratio: 2) {
    #thu-f-content .card-title h3 {
        font-family: var(--japanese_font);
        font-weight: bold;
        color: var(--blue);
        font-size: 11px;
        height: 21px;
    }
}

@media only screen 
  and (device-width: 430px) 
  and (device-height: 932px) 
  and (-webkit-device-pixel-ratio: 3) {
    #thu-f-content .card-title h3 {
        font-family: var(--japanese_font);
        font-weight: bold;
        color: var(--blue);
        font-size: 11px;
        height: 15px;
    }
}

@media only screen 
  and (device-width: 412px) 
  and (device-height: 915px) 
  and (-webkit-device-pixel-ratio: 2.625) {
    #thu-f-content .card-title h3 {
        font-family: var(--japanese_font);
        
        height: 21px !important;
    }
}


@media screen and (min-width: 1280px) {
    #thu-f-content .siceppdine {
        margin-top: 25px;
    }
}

#thu-f-content .tab.active {
    background-color: var(--blue);
    color: var(--white);
    height: 40px;
}
#thu-f-content .card-img {
    width: 38%;
    margin: auto;
    transform: scale(1.4); 
    transition: transform 0.3s ease-in-out;}

    #thu-f-content .qns-img {
    width: 38%;
    margin: auto;
    transform: scale(0.8); 
    transition: transform 0.3s ease-in-out;}
/* スクロールするカードセクション全体を囲むsectionタグにrelativeを設定 */
#thu-f-content section {
    position: relative; /* SCROLLインジケーターの基準点 */
}

/* 1. SCROLLテキストを親要素に対して固定する */
#thu-f-content .scroll-fixed-indicator {
    /* 親要素の<section>を基準に位置を決定 */
    position: absolute; 
    
    /* 画面右上への配置 */
    top: -12px; 
    right: -8px; 
    z-index: 100; 
    font-size: 12px;
    color: #007bff;
    /* font-weight: bold; */
    background-color: var(--grey); /* 背景色をカードの色に合わせる */
    padding: 2px 8px;
    border-radius: 4px;
    
    /* デフォルトで非表示にし、モバイルでのみ表示 (既存のモバイルビュークラスに依存) */
    display: none; 
}

/* 2. モバイルでのみ表示 */
@media (max-width: 768px) {
    #thu-f-content .scroll-fixed-indicator.mobile-view {
        display: block !important;
    }

    /* 3. SCROLLテキストの基準となる親要素に position: relative を設定 */
    #thu-f-content section {
        position: relative !important;
    }
}
@media (max-width: 768px) {
  #thu-f-content .mobile-hide {
    display: none !important;
  }
}

@media (max-width: 768px) {
#thu-f-content .tab-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-bottom:none;
    border-bottom-color:none;
}
}