/* --- 日本語フォントを使用するすべての要素に font-weight: 500 を適用 (一括上書き) --- */

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

/* 2. ファイル内で使われている主要なテキストクラスを強制的に500で上書き */
#thu-f-content .title-campus,
#thu-f-content .about-card .right .title,
#thu-f-content .about-card .right .text,
#thu-f-content .section03 .wrap p,
#thu-f-content .moving-card .text,
#thu-f-content .card-text,
#thu-f-content .event-item,
#thu-f-content .circles-clubs-description p,
#thu-f-content .button-text,
#thu-f-content .breakfast-japanese-text,
#thu-f-content .green-accent-text,
#thu-f-content .breakfast-main-title,
#thu-f-content .breakfast-para,
#thu-f-content .sns-button,
#thu-f-content .line-add-friend-button,
#thu-f-content .youtube-add-friend-button,
#thu-f-content .add-friend-text,
#thu-f-content .university-info,
#thu-f-content .nav-title,
#thu-f-content .nav-text h3,
#thu-f-content .event-desc,
#thu-f-content .facility-subtitle,
#thu-f-content .facility-text,
#thu-f-content .facility-link {
    font-weight: 500 !important;
}

/* 3. 見出しなどで太字（Bold）を維持したい要素を個別に指定 */
#thu-f-content h1, 
#thu-f-content h2, 
#thu-f-content h3, 
#thu-f-content strong, 
#thu-f-content b,
#thu-f-content .hero-title,
#thu-f-content .main-title,
#thu-f-content .support-heading,
#thu-f-content .support-description,
#thu-f-content .support-button,
#thu-f-content .title-campus, /* タイトルは強調のためBold維持 */
#thu-f-content .campus-dec .main-title,
#thu-f-content .life-support-subtitle {
    font-weight: bold !important;
}

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

#thu-f-content .container {
  width: 79%;
}

#thu-f-content .scroll-text-design{
  writing-mode: vertical-rl;
  position: absolute;
  right: 67px;
  transform: translateY(-50%);
  color: #1a3d91;
  font-size: 18px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  #thu-f-content .scroll-text-design {
      right: 59px; /* Mobile right position */
      font-size: 14px; /* Mobile font size */
      top:30px;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .mobile-new {
    margin-left: -6px;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .visual-2.photo-3 {
    margin-left: -187px;
  }
}

/* Web view only (min-width: 769px) */
@media screen and (min-width: 769px) {
  #thu-f-content .interview-item .copy.container {
    margin-left: -11px;
  }
}

/* Mobile view (max-width: 768px) */
@media screen and (max-width: 768px) {
  #thu-f-content .interview-item .copy.container {
    margin-left: 0; /* Reset margin for mobile */
  }
}

/* Web view only (min-width: 769px) */
@media screen and (min-width: 769px) {
  #thu-f-content .interview-item .copy:not(.container) {
    margin-left: 30px;
  }
}

/* Mobile view (max-width: 768px) */
@media screen and (max-width: 768px) {
  #thu-f-content .interview-item .copy:not(.container) {
    margin-left: 0; /* Reset margin for mobile */
  }
}

#thu-f-content .webimage{
  height: 290px !important;
}

#thu-f-content .hero-title {
  font-size: 45.9px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  color: var(--blue);
}

#thu-f-content .parent_hero {
  display: flex;
  justify-content: center;
}

#thu-f-content .parent_hero .right {
  width: 32%;
}

#thu-f-content .parent_hero .right img {
  border-radius: 20px;
  margin-top: 112px;
}

#thu-f-content .button {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  margin: auto;
  width: 100%;
}

#thu-f-content .button .card-btn {
  padding: 10px;
}

#thu-f-content .section-title-wrap {
  margin: auto;
}

#thu-f-content .section-title-wrap img {
  width: 74%;
  margin: auto;
}

#thu-f-content .title-campus {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  font-weight: bold;
  /* font-size: 43px; */
  font-size: 33px;
  text-align: center;
  margin: auto;
  color: var(--blue);
  background-color:white;
}

#thu-f-content .title-campus:hover{
  text-decoration: underline;
}

#thu-f-content .info-box {
  position: relative;
  background-color: #fef8e6;
  border: 2px solid transparent;
  border-left: none;
  border-top: none;
  border-image: linear-gradient(to right, #2d4a95, #0b9dd5);
  border-image-slice: 1;
  padding: 25px 30px 25px 80px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #2d4a95;
  display: flex;
  align-items: center;
}

#thu-f-content .info-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--white) 35%, var(--blue) 19%);
}

#thu-f-content .info-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--white) 6%, var(--blue) -6%);
}





#thu-f-content .title span {
  color: var(--turquoise);
}

#thu-f-content .info-box img {
  width: 80px;
  position: absolute;
  top: -23px;
  left: -5px;
}

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

#thu-f-content .section02 .left {
  width: 31%;
}

#thu-f-content .section02 .left img {
  width: 60%;
}

#thu-f-content .section02-wrap {
  display: flex;
  /* align-items: center; */
  justify-content: center;
}

#thu-f-content .border-line {
  width: 2px;
  height: 360px;
  background-color: var(--blue);
}

#thu-f-content .section02 .right {
  width: 60%;
}

#thu-f-content .about-card {
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#thu-f-content .about-card .left {
  width: 20%;
  background-color: var(--blue);
  padding: 31px 0;
  position: relative;
}

#thu-f-content .about-card .left::after {
  content: "";
  position: absolute;
  bottom: -29px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 30px solid #2d4a95;
}

#thu-f-content .about-card .title {
  font-family: var(--english_font);
  font-size: 17.4px;
  font-weight: bold;
  color: var(--white);
  text-align: center;
}

#thu-f-content .about-card .num {
  font-family: var(--english_font);
  font-size: 50.2px;
  font-weight: bold;
  color: var(--white);
  text-align: center;
}

#thu-f-content .about-card .right {
  width: 60%;
  border: 2px solid var(--blue);
  padding: 20px;
}

#thu-f-content .about-card .right .title {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  font-weight: bold;
  font-size: 21.8px;
  color: var(--blue);
  text-align: start;
}

#thu-f-content .about-card .right .text {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  font-size: 13.8px;
  color: var(--black);
}

#thu-f-content .about-card .right a {
  color: var(--blue) !important;
}

#thu-f-content .about-card .right .text span {
  text-decoration: underline;
}

#thu-f-content .section03 .info-box,
#thu-f-content .section04 .info-box {
  padding-bottom: 0px;
}

#thu-f-content .section03 .info-box img,
#thu-f-content .section04 .info-box img {
  width: 102px;
  top: -50px;
  left: -14px;
}

#thu-f-content .section03-warp {
  padding: 22px 70px;
  border: 2px solid var(--blue);
}

#thu-f-content .section03-warp .wrap {
  display: flex;
  align-items: center;
  width: 90%;
  margin: auto;
}

#thu-f-content .section03 .wrap p {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  font-size: 24px;
  color: var(--black);
}

#thu-f-content .click-link {
  font-size: 32px;
  color: #2d4a95;
  font-weight: bold;
  position: relative;
  display: block;
  padding-right: 30px;
  margin: auto;
  display: flex;
  justify-content: flex-end;
}

#thu-f-content .click-link .arrow {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 98px;
  height: 4px;
  background: linear-gradient(to right, #2d4a95, #0096c7);
}

#thu-f-content .click-link .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-right: 4px solid #0096c7;
  border-bottom: 4px solid #0096c7;
  transform: rotate(-45deg);
}


#thu-f-content .moving-card {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

#thu-f-content .moving-card .left,
#thu-f-content .moving-card .right {
  width: 50%;
}

#thu-f-content .moving-card .right {
  padding-bottom: 50px;
  overflow: hidden;
  /* Important to hide scrolling text overflow */
  position: relative;
}

#thu-f-content .moving-card .left {
  border: 1px solid var(--blue);
  padding-bottom: 20px;
  background-color: var(--white);
}

#thu-f-content .moving-card img {
  width: 50%;
  margin: auto;
}

#thu-f-content .moving-card .title {
  font-size: 30.8px;
  font-weight: regular;
}

#thu-f-content .moving-card .click-link {
  margin-right: 20px;
}

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

#thu-f-content .reverce {
  flex-direction: row-reverse;
}

/* Arrow Navigation Styles */
#thu-f-content .img {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 20px; */
  margin: 20px 0;
}

#thu-f-content .img img[alt="arrowleft"],
#thu-f-content .img img[alt="arrowright"] {
  width: 40px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#thu-f-content .img img[alt="arrowleft"]:hover,
#thu-f-content .img img[alt="arrowright"]:hover {
  transform: scale(1.2);
}

/* Rotate left arrow to point left */
#thu-f-content .img img[alt="arrowleft"] {
  /* transform: rotate(180deg); */
}

#thu-f-content .img img[alt="arrowleft"]:hover {
  /* transform: rotate(180deg) scale(1.2); */
}

@keyframes move-left {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes move-right {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

#thu-f-content .moving-card .text {
  display: inline-block;
  white-space: nowrap;
  animation-duration: 20s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: 0s;
  animation-play-state: running;
  font-size: 34.9px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
}

#thu-f-content .moving-card:not(.reverce) .text {
  animation-name: move-left;
}

#thu-f-content .moving-card.reverce .text {
  animation-name: move-right;
}

#thu-f-content .moving-card .right {
  padding-bottom: 50px;
  overflow: hidden;
  position: relative;
}


#thu-f-content .carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 960px;
  max-width: 100%;
  position: relative;
}

#thu-f-content .card {
  flex: 0 0 300px;
  margin: 0 10px;
  border: 1px solid #004097;
  padding: 20px;
  background-color: white;
  text-align: center;
  transition: transform 0.4s ease, scale 0.4s ease, box-shadow 0.4s ease;
  transform: scale(0.9);
  opacity: 0.6;
  z-index: 0;
  height: auto !important;
}

#thu-f-content .card.active {
  transform: scale(1.05);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#thu-f-content .card h2 {
  color: var(--blue);
  font-size: 44px;
  font-weight: bold;
  margin-bottom: 50px;
  line-height: 1.4;
}

#thu-f-content .card p {
  font-size: 14px;
  text-align: left;
  margin-bottom: 20px;
}

#thu-f-content .card a {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #004097;
  text-decoration: none;
  color: #004097;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
}

#thu-f-content .card a:hover {
  background-color: #004097;
  color: white;
}

#thu-f-content .dots {
  text-align: center;
  margin-top: 20px;
}

#thu-f-content .dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

#thu-f-content .dot.active {
  background-color: #004097;
}

#thu-f-content .box-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

#thu-f-content .box-group {
  position: absolute;
  width: 200px;
  height: 300px;
}

#thu-f-content .box-group.right {
  right: -80px;
}

#thu-f-content .box {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid #9aa6c7;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlide 1.5s ease-in-out forwards;
}

#thu-f-content .left .box1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}

#thu-f-content .left .box2 {
  top: 50px;
  left: 50px;
  animation-delay: 0.2s;
}

#thu-f-content .right .box1 {
  top: 0;
  right: 0;
  animation-delay: 0s;
}

#thu-f-content .right .box2 {
  top: 70px;
  right: 50px;
  animation-delay: 0.2s;
}

@keyframes fadeSlide {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#thu-f-content .campus-wrap {
  display: flex;
  justify-content: space-between;
}

#thu-f-content .campus-dec .main-title {
  font-size: 70px;
  text-align: center;
}

#thu-f-content .campus-wrap .section-subtitle {
  text-align: center;
}

#thu-f-content .campus-wrap .img-wrap {
  width: 45%;
  border: 1px solid;
  padding: 10px;
}

#thu-f-content .campus-dec {
  width: 45%;
}

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



#thu-f-content .info-box-2 {
  text-align: center;
  padding: 2px;
  border: 2px solid #0066CC;
}

#thu-f-content .life-support-title {
  text-align: center;
  font-size: 70px;
  color: var(--turquoise);
  font-weight: 300;
  margin-bottom: 10px;
  letter-spacing: 2px;
  font-family: 'Saira Condensed', sans-serif !important;
}


#thu-f-content .life-support-title-2 {
  text-align: center;
  font-size: 70px;
  color: #4CDBAC;
  font-weight: 300;

  letter-spacing: 2px;
  font-family: 'Saira Condensed', sans-serif !important;
}

#thu-f-content .life-support-subtitle {
  text-align: center;
  font-size: 18px;
  color: #2E4A99;
  font-weight: bold;
  /* margin-bottom: 50px; */
}

#thu-f-content .support-item {
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

#thu-f-content .support-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

#thu-f-content .support-image {
  flex-shrink: 0;
}

#thu-f-content .support-image img {
  width: 321px;
  height: 310px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #E8E8E8;
}

#thu-f-content .support-text {
  flex: 1;
}

#thu-f-content .support-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  width: 74%;
}

#thu-f-content .support-heading {
  font-size: 52px;
  color: #2E4A99;
  font-weight: bold;
  margin: 0;
}

#thu-f-content .support-description {
  font-size: 19px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 25px;
}

#thu-f-content .support-button {
  display: inline-block;
  background: linear-gradient(to right, #5be9b9, #5ee7c6);
  ;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
}

#thu-f-content .support-button-2 {
  text-align: center;
  width: 272px;
  display: inline-block;
  background: linear-gradient(to right, #5be9b9, #5ee7c6);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
}

#thu-f-content .support-button:hover {
  background: #3BB5AD;
}


/* Responsive Design */
@media (max-width: 768px) {
  #thu-f-content .support-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  #thu-f-content .life-support-title {
    font-weight: 300 !important;
    font-size: 40px;

  }

  #thu-f-content .support-heading {
    font-size: 28px;
    justify-content: center;
  }

  #thu-f-content .support-image img {
    width: 120px;
    height: 120px;
  }
}

#thu-f-content .main-title.center {
  text-align: center;
  width: 100%;
  display: block;
}

#thu-f-content .access-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  /* padding: 20px; */
}

#thu-f-content .train-icon {
  height: 54px;
  width: 382px;
}

#thu-f-content .access-title {
  text-align: center;
}

#thu-f-content .main-title {
  font-size: 50px;
  color: linear-gradient(to right, #5be9b9, #5ee7c6);
  ;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#thu-f-content .sub-title {
  font-size: 14px;
  color: #0077cc;
  margin: 0;
}

#thu-f-content .img::after {
  content: "";
  position: absolute;
  top: 8%;
  left: 62px;
  width: 414px;
  height: 253px;
  background: white;
  z-index: -1;
  border: 1px solid #4cdbac;
}

#thu-f-content .career-section {
  text-align: center;
  padding: 40px 0;
}

#thu-f-content .career-title {
  font-size: 48px;
  color: #4ecdc4;
  font-weight: 300;
  margin-bottom: 10px;
}

#thu-f-content .career-subtitle {
  font-size: 18px;
  color: #2e4a99;
  font-weight: bold;
  margin-bottom: 30px;
}

#thu-f-content .image-container {
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

#thu-f-content .image-container img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

#thu-f-content .career-content {
  max-width: 800px;
  margin: 20px auto;
  text-align: left;
  padding: 0 20px;
}

#thu-f-content .career-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

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

/* ACB Sec
tion Styles */

#thu-f-content .acb-container {
  max-width: 1006px;
  margin: 0 auto;
  padding: 0 20px;
}

#thu-f-content .acb-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

#thu-f-content .acb-left {
  flex: 1;
  max-width: 600px;
}

#thu-f-content .acb-main-title {
  font-size: 58px;
  /* font-weight: bold; */
  color: #2d4a95;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  line-height: 1.3;
  margin-bottom: 20px;
}





#thu-f-content .acb-right {
  flex: 0 0 400px;
}

#thu-f-content .acb-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  #thu-f-content .acb-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  #thu-f-content .acb-main-title {
    font-size: 36px;
  }

  #thu-f-content .acb-right {
    flex: none;
    max-width: 100%;
  }

  #thu-f-content .acb-subtitle::after {
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
  }


  #thu-f-content .life-support-section {
    text-align: center;
    padding: 40px 0;
    position: relative;
    min-height: 500px;
    overflow: hidden;
  }

  #thu-f-content .life-support-section::before,
  #thu-f-content .life-support-section::after {
    content: '';
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* opacity: 0.8; */
  }

  #thu-f-content .life-support-section::before {
    top: 30%;
    left: -235px;
    background-image: url('../img/for_parents/width_1288.webp');
    z-index: 1;
  }


  #thu-f-content .life-support-section::before {
    top: 30%;
    left: -235px;
    background-image: url('../img/for_parents/width_1600.png');
    z-index: 1;
  }

  #thu-f-content .life-support-section::after {
    bottom: 50%;
    right: -287px;
    background-image: url('../img/for_parents/width_200 (1).webp');
    z-index: 0;
  }



  #thu-f-content .life-support-section>* {
    position: relative;
    z-index: 2;
  }

  #thu-f-content .life-support-section-2 {
    text-align: center;
    /* padding: 40px 0; */
  }


}




@media (max-width: 768px) {
  #thu-f-content .mobile-hide {
    display: none !important;
  }
}

@media (max-width: 768px) { 
    /* IDでセレクタの優先度を高くし、モバイルで非表示にする */
    #thu-f-content #console-progress {
        display: none;
    }
}

#thu-f-content .mobile-view,
#thu-f-content .mobile-view-2 {
  display: none !important;
}

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

@media screen and (max-width: 768px) {
  #thu-f-content .mobile-view,
  #thu-f-content .mobile-view-2 {
    display: block !important;
  }
  
  #thu-f-content .web-view {
    display: none;
  }
}

/* Mobile Hero Section Styles */
#thu-f-content .mobile-hero-section {
  text-align: center;
  padding: 40px 20px;
  /* background-color: #f8f9fa; */
}

#thu-f-content .mobile-image-container {
  margin-bottom: 40px;
}

#thu-f-content .mobile-hero-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

#thu-f-content .mobile-content {
  padding: 0 10px;
}

#thu-f-content .mobile-main-title {
  font-size: 28px;
  font-weight: bold;
  color: #2d4a95;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: center;
}

#thu-f-content .mobile-subtitle {
  font-size: 16px;
  color: #666;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  text-align: center;
  margin: 0;
  position: relative;
  padding: 0 20px;
}

#thu-f-content .mobile-subtitle::before,
#thu-f-content .mobile-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 15px;
  height: 1px;
  background-color: #666;
}

#thu-f-content .mobile-subtitle::before {
  left: 0;
}

#thu-f-content .mobile-subtitle::after {
  right: 0;
}

/* Responsive adjustments for mobile */
@media screen and (max-width: 768px) {
  #thu-f-content .mobile-main-title {
    font-size: 24px;
  }

  #thu-f-content .mobile-main-title-mobile {
    font-size: 22px;
    font-weight: bold;
    color: #2d4a95;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
    line-height: 1.4;
    /* margin-bottom: 20px; */
    text-align: left !important;
  }

  #thu-f-content .mobile-subtitle {
    font-size: 14px;
  }

  #thu-f-content .mobile-hero-section {
    padding: 30px 15px;
  }
}



/* Mobile container styles */
@media screen and (max-width: 768px) {
  #thu-f-content .container {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
}


@media screen and (max-width: 768px) {
  #thu-f-content .title {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin: auto;
    color: var(--blue);
  }
}



@media screen and (max-width: 768px) {
  #thu-f-content .section02 .left {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .main-title {
    text-align: center;
  }
}


@media (max-width: 768px) {
  #thu-f-content .section-subtitle {
    font-size: 18.1px;
    text-align: center;
  }
}


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



@media (max-width: 768px) {

  #thu-f-content .section03 .info-box img,
  #thu-f-content .section04 .info-box img {
    width: 57px;
    top: -48px;
    left: -8px;
  }
}


#thu-f-content .about-card .left-2 {
  width: 20%;
  background-color: var(--blue);
  padding: 31px 0;
  position: relative;
}

#thu-f-content .about-card .right-2 {
  width: 60%;
  border: 2px solid var(--blue);
  padding: 20px;
}

/* @media (max-width: 768px) {
  .about-card {
    width: 125% !important;
    margin: auto;
    display: flex;
    
  }
  
}

 */


@media (max-width: 768px) {
  #thu-f-content .about-card .right {
    width: 394%;
    border: 2px solid var(--blue);
    padding: 20px;
  }

  #thu-f-content .about-card {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: normal;
  }

  #thu-f-content .about-card .num {
    margin-top: 0px;
    font-family: var(--english_font);
    font-size: 35.2px;
    font-weight: bold;
    color: var(--white);
    text-align: center;
  }


  #thu-f-content .card-btn-mobile {
    padding: 10px 0px;
    background: var(--turquoise);
    border-radius: 50px;
    display: block;
    text-align: center;
    color: var(--white);
    width: 195px;
    font-size: 14px !important;
  }

  #thu-f-content .main-title-scholar {
    text-align: center;
    font-size: 33px;
    font-weight: 500;
    color: #32d3c4;
    margin: 0;
    font-family: 'Saira Condensed', sans-serif !important;
  }
}




@media screen and (max-width: 768px) {
  #thu-f-content .container-gif {
    width: 100% !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
  }

  #thu-f-content .gif-move {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2d4a95;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    /* border-radius: 5px; */
    text-align: center;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
    white-space: nowrap;
  }

  #thu-f-content .image-gif {
    width: 173px;
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}



/* @media (max-width: 768px) {
  .mobile-show-2 {
   
}
 */
/* Mobile-hide-3: Hide on desktop, show only on mobile */
#thu-f-content .mobile-hide-3 {
  display: none !important;
}

@media screen and (max-width: 768px) {
  #thu-f-content .mobile-hide-3 {
    display: block !important;
  }
}


@media screen and (max-width: 768px) {
  #thu-f-content .info-box {
    position: relative;
    background-color: #fef8e6;
    border: 2px solid transparent;
    border-left: none;
    border-top: none;
    border-image: linear-gradient(to right, #2d4a95, #0b9dd5);
    border-image-slice: 1;
    padding: 8px 18px 48px 23px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #2d4a95;
    display: flex;
    align-items: center;
    /* height: 16px; */
  }
}




@media screen and (max-width: 768px) {
  #thu-f-content .title {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    margin: auto;
    color: var(--blue);
  }

  #thu-f-content .main-title-access {
    font-size: 36px;
    color: #32d3c4;
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }

  #thu-f-content .train-icon {
    height: 17px;
    width: 382px;
  }

}

@media screen and (max-width: 768px) {
  #thu-f-content .title-30 {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    margin: auto;
    color: var(--blue);
  }

  #thu-f-content .fualification-font {
    font-weight: 300 !important;
    font-size: 33px;
  }

  #thu-f-content .moving-card {
    display: block;
    align-items: flex-end;
    overflow: hidden;
  }

  #thu-f-content .moving-card .left,
  #thu-f-content .moving-card .right {
    width: 100%;
  }

  #thu-f-content .up-spaing {
    padding-top: 15px;
  }

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

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


#thu-f-content .left-image {
  padding-top: 0px;
  width: 153px !important;
}



/* Housing Card Design */
#thu-f-content .housing-card {
  background-color: #ffffff;
  border: 2px solid #2d4a95;
  /* border-radius: 8px; */
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#thu-f-content .housing-title {
  color: #2d4a95;
  font-size: 28px;
  font-weight: bold;
  font-family: var(--japanese_font);
  margin-bottom: 15px;
  margin-top: 0;
  text-align: left;
}

#thu-f-content .housing-description {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  margin: 0;
  text-align: left;
}

/* Mobile responsive for housing card */
@media screen and (max-width: 768px) {
  #thu-f-content .housing-card {
    padding: 20px;
    margin: 15px 0;
  }

  #thu-f-content .housing-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  #thu-f-content .housing-description {
    font-size: 14px;
    line-height: 1.5;
  }

  #thu-f-content .card-btn-mobile-2 {
    padding: 10px 0px;
    background: var(--turquoise);
    border-radius: 50px;
    display: block;
    text-align: center;
    color: var(--white);
    width: 236px;
    font-size: 14px !important;
  }

  #thu-f-content .image-spacing {
    padding-top: 137px;
  }

  #thu-f-content .third-background-image {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-image: url('../img/for_parents/width_200 (1).webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* opacity: 0.3; */
    z-index: -1;
    top: 50%;
    left: 112%;
    transform: translateX(-50%);
  }
}

/* T
hird background image for life-support-section */
/* Three background images for life-support-section */


/* Campus Facility Section */
#thu-f-content .campus-facility-section {
  max-width: 800px;
  margin: 40px auto;
  border: 1px solid #2d4a95;
  /* border-radius: 8px; */
  /* background-color: #ffffff; */
  overflow: hidden;
  
}

#thu-f-content .facility-title-full-width {
  background-color: #2d4a95;
  width: 100vw;
  position: relative;
  left: 53%;
  /* right: 50%; */
  margin-left: -50vw;
  margin-right: -50vw;
  height: 47px;
  margin-top: 22px;
}

#thu-f-content .facility-main-title {
  font-size: 18px !important;
  /* font-weight: bold; */
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  margin: 0;
  padding: 15px 20px 20px 20px;
  background-color: transparent;
  color: white;
  text-align: left;
}

#thu-f-content .facility-content {
  padding: 0;
}

#thu-f-content .facility-subtitle {
  font-size: 18px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
  margin: 0;
  line-height: 1.4;
  color: #2d4a95;
  /* background-color: white; */
  padding: 20px;
  border-radius: 0;
  text-align: left;
}

#thu-f-content .facility-image-container {
  position: relative;
  /* padding: 20px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

#thu-f-content .facility-image-wrapper {
  flex: 1;
  text-align: center;
  margin: 0 -17px;
}

#thu-f-content .facility-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  /* border-radius: 8px; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* .nav-arrow {
  background: none;
  border: 2px solid #2d4a95;
  color: #2d4a95;
  font-size: 24px;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
} */

#thu-f-content .nav-arrow:hover {
  background-color: #2d4a95;
  color: white;
}

#thu-f-content .facility-description {
  padding: 20px 30px;
  /* background-color: #f8f9fa; */
}

#thu-f-content .facility-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-family: var(--japanese_font);
  margin: 0;
  text-align: left;
}

#thu-f-content .facility-footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

#thu-f-content .facility-link {
  color: white;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  font-family: var(--japanese_font);
  transition: color 0.3s ease;
}

#thu-f-content .facility-link:hover {
  color: #1a2d5a;
  text-decoration: underline;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
  #thu-f-content .campus-facility-section {
    margin: 20px 10px;
    margin-top: -30px !important;
  }

  #thu-f-content .facility-header {
    padding: 15px;
  }

  #thu-f-content .facility-main-title {
    font-size: 24px;
  }

  #thu-f-content .facility-subtitle {
    font-size: 16px;
  }

  #thu-f-content .facility-image-container {
    padding: 0px;
  }

  #thu-f-content .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  #thu-f-content .facility-description {
    padding: 15px 20px;
  }

  #thu-f-content .facility-text {
    font-size: 14px;
  }

  #thu-f-content .spacing-20 {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    padding-bottom: 443px;
  }




}

/* Arrow ima
ge styling */
#thu-f-content .arrow-image {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

#thu-f-content .nav-arrow:hover .arrow-image {
  transform: scale(1.1);
}




#thu-f-content .news-container {
  background: white;
  /* border-radius: 12px; */
  padding: 0px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
  margin-top: 30px;
}

@media (max-width: 768px) {
  #thu-f-content .news-item {
    flex-direction: row !important;
    align-items: flex-start !important;
  }
}




#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;
}



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

@media (max-width: 768px) {
  #thu-f-content .news-content {
    flex: 1 !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;
}


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


@media screen and (max-width: 768px) {
  #thu-f-content .gif-move-2 {
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background-color: #2d4a95; */
    color: #2d4a95;
    padding: 15px 30px;
    font-size: 33px;
    /* font-weight: bold; */
    /* border-radius: 5px; */
    text-align: center;
    font-family: var(--japanese_font);
    white-space: nowrap;
  }

  #thu-f-content .gif-move-3 {
    position: absolute;
    top: 83%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* background-color: #2d4a95; */
    color: #2d4a95;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    /* border-radius: 5px; */
    text-align: center;
    font-family: var(--japanese_font);
    white-space: nowrap;
  }

}


@media screen and (max-width: 768px) {
  #thu-f-content .container-gif-2 {
    width: 100% !important;
    /* max-width: 1200px; */
    /* margin: 0 auto; */
    /* padding: 0 20px; */
    position: relative;
  }

}

#thu-f-content .hover-color {
  width: 100%;
  height: 100%;
  background-color: white;
  opacity: 0.5;
  position: absolute;
}


@media (max-width: 768px) {
  #thu-f-content .card-btn-mobile-5 {
    padding: 10px 0px;
    background: var(--turquoise);
    border-radius: 50px;
    display: block;
    text-align: center;
    color: var(--white);
    width: 325px;
    font-size: 20px !important;
    height: 64px;
  }
}



#thu-f-content .card-btn {
  padding: 10px 0px;
  background: #4FE2B1;
  border-radius: 50px;
  display: block;
  text-align: center;
  color: var(--white);
}



#thu-f-content .card-1 {
  background: linear-gradient(to right, #5be9b9, #5ee7c6);
  border-radius: 50px;
  display: block;
  text-align: center;
  color: var(--white);
  width: 232px;
  height: 67px;
  font-size: 17px !important;
  position: relative;
  /* Required for positioning the pseudo-element */
}


#thu-f-content .card-2 {
  background: linear-gradient(to right, #5be9b9, #5ee7c6);
  border-radius: 50px;
  display: block;
  text-align: center;
  color: var(--white);
  width: 322px;
  height: 67px;
  font-size: 17px !important;
  position: relative;
  font-family: 'Saira Condensed', sans-serif !important;
}

#thu-f-content .card-3 {
  background: linear-gradient(to right, #5be9b9, #5ee7c6);
  border-radius: 50px;
  display: block;
  text-align: center;
  color: var(--white);
  width: 322px;
  height: 67px;
  font-size: 17px !important;
  position: relative;
  font-family: 'Saira Condensed', sans-serif !important;
}

#thu-f-content .hero-title {
  font-family: 'Saira Condensed', sans-serif !important;
}





@media (max-width: 768px) {
  #thu-f-content .head-image-size {
    width: 47px !important;
    position: absolute;
    top: -23px;
    left: -5px;
  }

}

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



/* Default style for mobile (below 1025px) */
#thu-f-content .fontsize-33 {
  font-size: 14px;
}

/* Style for web (desktop, 935px and above) */
@media (min-width: 769px) {
  #thu-f-content .fontsize-33 {
    font-size: 33px;
  }
}




#thu-f-content .image-same img {
  width: 80px;
  position: absolute;
  top: -23px;
  left: -5px;
}




#thu-f-content .box-container-box {
  display: flex;
  justify-content: space-between;
  position: relative;
  overflow: innitial;

}

/*
 April Event Section - Matching Demo Image */
#thu-f-content .april-event-section {
  padding: 40px 20px;
  /* background: linear-gradient(135deg, #ADD8E6 0%, #FFFFE0 100%); */
  /* margin: 40px 0; */
}

#thu-f-content .event-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  aspect-ratio: 4/1;
  min-height: 300px;
  border: 2px solid #234194;
  /* Added border with color #234194 */
}


#thu-f-content .event-container-2 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0px;
  aspect-ratio: 4/1;
  min-height: 300px;
  /* border: 2px solid #234194; */
  /* Added border with color #234194 */
}


/* Left side - Date and text */
#thu-f-content .event-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#thu-f-content .event-left-2 {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


#thu-f-content .event-date {
  display: inline-block;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

#thu-f-content .date-number {
  font-size: 80px;
  font-weight: bold;
  color: var(--turquoise);
  line-height: 0.8;
  font-family: 'Arial', sans-serif;
}

#thu-f-content .date-month {
  font-size: 24px;
  font-weight: bold;
  color: var(--turquoise);
  margin-top: 5px;
  font-family: 'Arial', sans-serif;
}

#thu-f-content .event-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#thu-f-content .event-item {
  font-size: 14px;
  color: #444343;
  font-family: var(--japanese_font);
  line-height: 1.4;
  font-weight: 500;
}

/* Right side - Images */
#thu-f-content .event-right {
  flex: 2;
  display: flex;
  gap: 20px;
  height: 276px;
}

#thu-f-content .event-image-left,
#thu-f-content .event-image-right {
  flex: 1;
  /* border-radius: 8px; */
  /* overflow: hidden; */
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
}

#thu-f-content .event-image-left img,
#thu-f-content .event-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#thu-f-content .event-image-left img:hover,
#thu-f-content .event-image-right img:hover {
  transform: scale(1.05);
}


/* Centering for Circles · Clubs CTA container */
#thu-f-content .circles-clubs-button.center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

  
#thu-f-content h2.campus-mobile::after {
  content: "";
  position: absolute;
  bottom: 17px !important;
  left: -9% !important;
  width: 85% !important;
  height: 35px;
  background: url(assets/img/campus_life/wave.png) no-repeat left center;
  background-size: 110% auto;
  pointer-events: none;
  z-index: -1;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
  #thu-f-content .event-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    aspect-ratio: auto;
    min-height: auto;
  }

  #thu-f-content .event-left {
    width: 100%;
    text-align: center;
  }

  #thu-f-content .event-date {
    align-items: center;
    margin-bottom: 15px;
  }

  #thu-f-content .date-number {
    font-size: 60px;
  }

  #thu-f-content .date-month {
    font-size: 20px;
  }

  #thu-f-content .event-item {
    font-size: 14px;
    text-align: left;
  }

  #thu-f-content .event-right {
    width: 100%;
    height: 150px;
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .april-event-section {
    padding: 20px 10px;
  }

  #thu-f-content .event-container {
    padding: 15px;
  }

  #thu-f-content .date-number {
    font-size: 50px;
  }

  #thu-f-content .date-month {
    font-size: 18px;
  }

  #thu-f-content .event-item {
    font-size: 13px;
  }

  #thu-f-content .event-right {
    height: 120px;
    gap: 10px;
  }
}

/* C
ircles & Clubs Section - Matching Demo Image */
#thu-f-content .circles-clubs-section {
  padding: 60px 20px;
  /* background: linear-gradient(135deg, #E6F3FF 0%, #FFF9E6 100%); */
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal grid overlay */
#thu-f-content .circles-clubs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px); */
  background-size: 40px 40px;
  z-index: 1;
}

#thu-f-content .circles-clubs-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 2;
}

/* Left Column - Text Content */
#thu-f-content .circles-clubs-left {
  flex: 1;
  max-width: 350px;
  text-align: center;
}

#thu-f-content .circles-clubs-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: -23px;
}

#thu-f-content .title-decoration {
  width: 30px;
  height: 1px;
  background: #33558a;
  display: block;
}

#thu-f-content .title-text {
  font-size: 28px;
  font-weight: 600;
  color: #33558a;
  font-family: 'Georgia', serif;
  margin: 0;
  white-space: nowrap;
}

#thu-f-content .circles-clubs-description {
  margin-bottom: 30px;
  line-height: 1.6;
}

#thu-f-content .circles-clubs-description p {
  font-size: 12px;
  color: #555;
  margin: 8px 0;
  font-family: var(--japanese_font);
}

/* Call-to-Action Button */
#thu-f-content .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #80e8e6 0%, #6dd5d3 100%);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 232, 230, 0.3);
}

#thu-f-content .cta-button:link,
#thu-f-content .cta-button:visited,
#thu-f-content .cta-button:hover,
#thu-f-content .cta-button:active,
#thu-f-content .cta-button:focus {
  text-decoration: none;
}

#thu-f-content .cta-button:hover {
  background: linear-gradient(135deg, #6dd5d3 0%, #5bc5c3 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 232, 230, 0.4);
  text-decoration: none;
}

#thu-f-content .button-text {
  font-family: var(--japanese_font);
}

#thu-f-content .button-arrow {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

/* Middle and Right Columns - Images */
#thu-f-content .circles-clubs-middle,
#thu-f-content .circles-clubs-right {
  flex: 0 0 auto;
}

#thu-f-content .circles-clubs-middle {
  width: 220px;
}

#thu-f-content .circles-clubs-right {
  width: 280px;
}

/* .image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
} */

#thu-f-content .image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

#thu-f-content .club-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#thu-f-content .club-image:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #thu-f-content .circles-clubs-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  #thu-f-content .circles-clubs-left {
    max-width: 100%;
    order: 1;
  }

  #thu-f-content .circles-clubs-middle,
  #thu-f-content .circles-clubs-right {
    width: 100%;
    max-width: 300px;
  }

  #thu-f-content .circles-clubs-middle {
    order: 2;
  }

  #thu-f-content .circles-clubs-right {
    order: 3;
  }

  #thu-f-content .title-text {
    font-size: 24px;
  }

  #thu-f-content .circles-clubs-description p {
    font-size: 14px;
  }

  #thu-f-content .club-image {
    height: 250px;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .circles-clubs-section {
    padding: 40px 15px;
  }

  #thu-f-content .title-text {
    font-size: 20px;
  }

  #thu-f-content .title-decoration {
    width: 20px;
  }

  #thu-f-content .circles-clubs-description p {
    font-size: 13px;
  }

  #thu-f-content .cta-button {
    padding: 10px 20px;
    font-size: 13px;
  }

  #thu-f-content .club-image {
    height: 200px;
  }
}






#thu-f-content .event-section {
  display: flex;
  gap: 50px;
  justify-content: center;
  padding: 0px;
  /* background: #f8f8f8; */
}

#thu-f-content .event-card {
  width: 300px;
  background: white;
  border: 1px solid #ddd;
  display: flex;
  flex-direction: column;
}

#thu-f-content .event-image {
  position: relative;
}

#thu-f-content .event-top-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #4f6a8f;
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 6px;
}

#thu-f-content .event-image img {
  width: 100%;
  display: block;
}

#thu-f-content .event-title {
  background: #0f3d7c;
  color: white;
  font-weight: bold;
  font-size: 18px;
  padding: 8px;
  text-align: center;
}

#thu-f-content .event-desc {
  padding: 15px;
  font-size: 14px;
  line-height: 1.6;
  color: rgb(45, 74, 149);
  text-align: left;
  flex: 1;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
}

#thu-f-content .event-footer {
  padding: 15px;
  background: white;
}

#thu-f-content .event-btn {
  /* background: #2ad2c9;
  color: white;
  text-decoration: none;
  font-weight: normal;
  text-decoration: underline;
  padding: 12px;
  display: block;
  text-align: center;
  border-radius: 50px;
  transition: background 0.3s ease; */
    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;
}

#thu-f-content .event-btn:hover {
  text-decoration: underline;
}

#thu-f-content .campus {
  font-size: 1.5em;
  font-weight: 400;
  font-style: normal;
  color: rgb(45, 74, 149);
  text-align: center;
  font-kerning: none;
  text-decoration-line: none;
  text-decoration-thickness: initial;
  text-decoration-style: initial;
}

#thu-f-content .interview {
  --max: 1040px;
  --mint: #e9fff3;
  --mint-border: #c7f2e6;
  --teal: #2cc5c6;
  --teal-2: #1aa7ab;
  --ink: #1f2a37;
  --muted: #4b5563;

  /* padding: 56px 16px 72px; */
  position: relative;
  isolation: isolate;
  /* background:
    linear-gradient(160deg, rgba(255, 247, 214, .7), rgba(234, 246, 255, .75)),
    linear-gradient(180deg, #fffef8 0%, #f3fbff 100%); */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--ink);
}

#thu-f-content .interview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .035) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .035) 0 1px, transparent 1px 56px);
  mask: linear-gradient(to bottom, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 0;
}

#thu-f-content .interview .wrap {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#thu-f-content #interview-title {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .02em;
  color: #2b6a88;
  margin: 0 0 24px;
  position: relative;
}

#thu-f-content #interview-title:after,
#thu-f-content #interview-title:before {
  content: "";
  position: absolute;
  left: 50%;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7fd8dd, transparent);
  transform: translateX(-50%);
}

#thu-f-content #interview-title:before {
  top: -10px;
  opacity: .55;
}

#thu-f-content #interview-title:after {
  bottom: -10px;
  opacity: .7;
}

#thu-f-content .interview-item {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 68px;
  align-items: center;
  margin-bottom: 15px;
}

#thu-f-content .interview-item.reverse {
  grid-template-columns: 1fr 1.15fr;
}

#thu-f-content .visual {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#thu-f-content .visual-2 {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#thu-f-content .photo-1 {
  /*background-image: url("../img/campus_life/12.png");*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#thu-f-content .photo-2 {
  /*background-image: url("../img/campus_life/13.png");*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#thu-f-content .photo-3 {
  /*background-image: url("../img/campus_life/photos.png");*/
  background-position: 186px center;
  
}

#thu-f-content .photo-6 {
  /*background-image: url("../img/campus_life/width_44444.webp");*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 31px;
}


#thu-f-content .photo-7 {
  /*background-image: url("../img/campus_life/photos.png");*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 31px;
}

#thu-f-content .visual .label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .06em
}

#thu-f-content .copy .para {
  color: var(--muted);
  line-height: 0.5;
  font-size: 14px;
  margin: 0 -33px 11px;
  position: relative;
  letter-spacing: 1px !important;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
white-space: nowrap;
  }

@media screen and (max-width: 768px) {
  #thu-f-content .copy .para {
  color: var(--muted);
  line-height: 0.5;
  font-size: 14px;
  margin: 0 20px 11px;
  position: relative;
  letter-spacing: 1px !important;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", 游ゴシック体, YuGothic, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, sans-serif !important;
white-space: nowrap;
  }
}

#thu-f-content .copy .para+.para {
  padding-top: 8px;
}

#thu-f-content .copy .para:after {
  content: "";
  display: block;
  margin-top: 10px;
  border-bottom: 2px dotted rgba(43, 106, 136, .18);
}

/* CTA button */
#thu-f-content .btn {
  /* display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(44, 197, 198, .35);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease; */
    background: linear-gradient(to right, #5be9b9, #5ee7c6) !important;
    border-radius: 50px;
    color: var(--white) !important;
    max-width: 247px;
    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;
}

#thu-f-content .btn:hover {
  text-decoration: underline;
}

/* Only underline the text part */
#thu-f-content .btn-text {
  /* text-decoration: underline; */

}

#thu-f-content .btn .arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: inline-grid;
  place-items: center;
  font-weight: 900;
}

@media (max-width: 768px) {

  #thu-f-content .interview-item,
  #thu-f-content .interview-item.reverse {
    grid-template-columns: 1fr;
  }

}

/* Breakfast hero (text bottom-left, three overlapped cards to the right) */
#thu-f-content .breakfast-outlined-title-newstyle {
  padding: 60px 0 40px;
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(235, 250, 255, 0.6) 100%);
}

#thu-f-content .breakfast-hero {
  position: relative;
  max-width: 1200px;
  height: 440px;
  margin: 0 auto;
}

#thu-f-content .bfast-stack {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 68%; /* reduced overall stack width */
  height: 100%;
}

#thu-f-content .bfast-card {
  position: absolute;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none; /* remove shadow */
  background: #fff;
}
#thu-f-content .bfast-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Placements similar to demo */
#thu-f-content .bfast-card.center { width: 48%; height: 100%; left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
#thu-f-content .bfast-card.left   { width: 34%; height: 72%; left: 61px;   top: 180px; z-index: 1; }
#thu-f-content .bfast-card.right  { width: 36%; height: 74%; right: 61px;  top: 82px; z-index: 1; }

#thu-f-content .bfast-headline {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  max-width: 70%;
  color: #2cc5c6;
  font-family: var(--japanese_font);
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.12);
  z-index: 4;
}

/* Two-line headline group centered over images */
#thu-f-content .bfast-headline-group {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  z-index: 4;
  pointer-events: none;
}

/* Mobile positioning for breakfast headline group */
@media screen and (max-width: 768px) {
  #thu-f-content .bfast-headline-group {
    left: 48%;
    bottom: 84px;
  }
}

#thu-f-content .bfast-line1 {
  color: #4CDBAC;
  /* -webkit-text-stroke: 1px rgba(27, 143, 138, 0.9); */
  text-shadow: 0 2px 6px rgba(0,0,0,0.12);
  font-family: var(--japanese_font);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: .02em;
  margin: 0;
}

/* Mobile styles for breakfast headline */
@media screen and (max-width: 768px) {
  #thu-f-content .bfast-line1 {
    font-size: 29px;
  }
}

#thu-f-content .bfast-line2 {
  color: #4CDBAC;
  /* -webkit-text-stroke: 1.2px rgba(27, 143, 138, 0.95); */
  text-shadow: 0 3px 8px rgba(0,0,0,0.14);
  font-family: var(--japanese_font);
  font-weight: 900;
  font-size: 60px; /* Desktop size */
  line-height: 1.1;
  letter-spacing: .02em;
  margin: 6px 0 0 0;
}

/* Mobile styles for second line of breakfast headline */
@media screen and (max-width: 768px) {
  #thu-f-content .bfast-line2 {
    font-size: 39px;
  }
}

#thu-f-content .bfast-card.left img,
#thu-f-content .bfast-card.right img {
  filter: blur(2px);
  opacity: 0.95;
}

@media (max-width: 768px) {
  #thu-f-content .breakfast-hero { height: 300px; }
  #thu-f-content .bfast-stack { width: 80%; }
  #thu-f-content .bfast-headline { font-size: 40px; max-width: 80%; left: 50%; transform: translateX(-50%); }
}

@media (max-width: 768px) {
  #thu-f-content .breakfast-outlined-title-newstyle { padding: 30px 0 10px; }
  #thu-f-content .breakfast-hero { height: 260px; }
  #thu-f-content .bfast-stack { width: 100%; }
  #thu-f-content .bfast-headline { font-size: 28px; max-width: 90%; left: 50%; transform: translateX(-50%); text-align: center; }
  #thu-f-content .bfast-card.center { width: 82%; }
  #thu-f-content .bfast-card.left, #thu-f-content .bfast-card.right { display: none; }
}

@media (max-width: 768px) {
  #thu-f-content .btn {
    width: 100%;
    margin-left:75px;
  }
}

/*
 Photo Background Images */
#thu-f-content .photo-1 {
  /*background-image: url("../img/campus_life/12.png");*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#thu-f-content .photo-2 {
  /*background-image: url("../img/campus_life/13.png");*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Breakf
ast Support Section - Matching Demo Image */
#thu-f-content .breakfast-support-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 50%, #fff9e6 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal pattern background */
#thu-f-content .breakfast-support-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px); */
  background-size: 30px 30px;
  z-index: 1;
}

#thu-f-content .breakfast-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Background Title */
#thu-f-content .breakfast-title-bg {
  text-align: center;
  margin-bottom: 40px;
}

#thu-f-content .breakfast-main-title {
  font-size: 80px;
  font-weight: 300;
  color: rgba(180, 180, 180, 0.3);
  font-family: 'Arial', sans-serif;
  letter-spacing: 8px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Content Area */
#thu-f-content .breakfast-content {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Background Image */
#thu-f-content .breakfast-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#thu-f-content .breakfast-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.1);
}

/* Overlay Text */
#thu-f-content .breakfast-overlay-text {
  position: absolute;
  bottom: 60px;
  left: 60px;
  z-index: 3;
}

#thu-f-content .breakfast-japanese-text {
  font-size: 48px;
  font-weight: bold;
  color: #4ECDC4;
  font-family: var(--japanese_font);
  margin: 5px 0;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #thu-f-content .breakfast-support-section {
    padding: 40px 15px;
  }

  #thu-f-content .breakfast-main-title {
    font-size: 50px;
    letter-spacing: 4px;
  }

  #thu-f-content .breakfast-content {
    height: 300px;
  }

  #thu-f-content .breakfast-overlay-text {
    bottom: 30px;
    left: 30px;
  }

  #thu-f-content .breakfast-japanese-text {
    font-size: 32px;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .breakfast-main-title {
    font-size: 36px;
    letter-spacing: 2px;
  }
  #thu-f-content .photo-3 {
    height: 281px;
  }

  #thu-f-content .copy .para+.para {
    padding-top: 8px;
    font-size: 14px;
}

#thu-f-content .campus5{
  font-size: 22px !important;
}
#thu-f-content .campus6{
  font-size: 22px !important;
}

  #thu-f-content .breakfast-content {
    height: 250px;
  }

  #thu-f-content .breakfast-overlay-text {
    bottom: 20px;
    left: 20px;
  }

  #thu-f-content .breakfast-japanese-text {
    font-size: 24px;
  }
}

/* Breakfast Support Outlined Title - Matching Demo Image */
#thu-f-content .breakfast-support-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 50%, #fff9e6 100%);
  position: relative;
  text-align: center;
}

#thu-f-content .breakfast-outlined-title {
  /* font-size: 80px;
  font-weight: 300;
  font-family: 'Arial', sans-serif;
  letter-spacing: 8px;
  margin: 0 0 40px 0;


  /* Outlined text effect */
  color: transparent;
  -webkit-text-stroke: 2px #B4B4B4;
  text-stroke: 2px #B4B4B4; */
/* 文字の色を透明に */
    color: transparent;
    
    /* アウトラインの太さと色を調整 */
    -webkit-text-stroke: 1.5px #2d4a95; 
    text-stroke: 1.5px #2d4a95;

    /* 見やすくするためのフォント調整 */
    font-size: 80px;
    font-family: 'Saira Condensed', sans-serif !important;
    font-weight: bold;
    letter-spacing: 0.05em;
  /* Alternative method for better browser support */
  text-shadow:
    -2px -2px 0 #B4B4B4,
    2px -2px 0 #B4B4B4,
    -2px 2px 0 #B4B4B4,
    2px 2px 0 #B4B4B4,
    -2px 0px 0 #B4B4B4,
    2px 0px 0 #B4B4B4,
    0px -2px 0 #B4B4B4,
    0px 2px 0 #B4B4B4;
}

/* Subtle diagonal pattern background */
#thu-f-content .breakfast-support-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px); */
  background-size: 30px 30px;
  z-index: 1;
}

#thu-f-content .breakfast-support-section .container {
  position: relative;
  z-index: 2;
}

#thu-f-content .breakfast-support-section img {
  max-width: 100%;
  height: auto;
  /* border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #thu-f-content .breakfast-outlined-title {
    font-size: 50px;
    letter-spacing: 4px;
    -webkit-text-stroke: 1.5px #B4B4B4;
    text-stroke: 1.5px #B4B4B4;
    text-shadow:
      -1.5px -1.5px 0 #B4B4B4,
      1.5px -1.5px 0 #B4B4B4,
      -1.5px 1.5px 0 #B4B4B4,
      1.5px 1.5px 0 #B4B4B4,
      -1.5px 0px 0 #B4B4B4,
      1.5px 0px 0 #B4B4B4,
      0px -1.5px 0 #B4B4B4,
      0px 1.5px 0 #B4B4B4;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .breakfast-outlined-title {
    font-size: 36px;
    letter-spacing: 2px;
    -webkit-text-stroke: 1px #B4B4B4;
    text-stroke: 1px #B4B4B4;
    text-shadow:
      -1px -1px 0 #B4B4B4,
      1px -1px 0 #B4B4B4,
      -1px 1px 0 #B4B4B4,
      1px 1px 0 #B4B4B4,
      -1px 0px 0 #B4B4B4,
      1px 0px 0 #B4B4B4,
      0px -1px 0 #B4B4B4,
      0px 1px 0 #B4B4B4;
  }
}

/* B
reakfast Support Section - Fixed Layout */
#thu-f-content .breakfast-support-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 50%, #fff9e6 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal pattern background */
#thu-f-content .breakfast-support-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px); */
  background-size: 30px 30px;
  z-index: 1;
}

#thu-f-content .breakfast-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Background Title */
#thu-f-content .breakfast-title-bg {
  text-align: center;
  margin-bottom: 40px;
}

#thu-f-content .breakfast-main-title {
  font-size: 80px;
  font-weight: 300;
  color: rgba(180, 180, 180, 0.3);
  font-family: 'Arial', sans-serif;
  letter-spacing: 8px;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Three Images Layout */
#thu-f-content .breakfast-three-images {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

#thu-f-content .breakfast-image-item {
  position: relative;
  flex: 1;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

#thu-f-content .breakfast-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.1);
  transition: transform 0.3s ease;
}

#thu-f-content .breakfast-image-item:hover .breakfast-image {
  transform: scale(1.05);
}

/* Overlay Text - Centered in Middle Image */
#thu-f-content .center-image .breakfast-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: 90%;
}

#thu-f-content .breakfast-japanese-text {
  font-size: 36px;
  font-weight: bold;
  color: #4ECDC4;
  font-family: var(--japanese_font);
  margin: 5px 0;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #thu-f-content .breakfast-support-section {
    padding: 40px 15px;
  }

  #thu-f-content .breakfast-main-title {
    font-size: 50px;
    letter-spacing: 4px;
  }

  #thu-f-content .breakfast-three-images {
    flex-direction: column;
    gap: 15px;
  }

  #thu-f-content .breakfast-image-item {
    height: 250px;
  }

  #thu-f-content .breakfast-japanese-text {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .breakfast-main-title {
    font-size: 36px;
    letter-spacing: 2px;
  }

  #thu-f-content .breakfast-image-item {
    height: 200px;
  }

  #thu-f-content .breakfast-japanese-text {
    font-size: 20px;
  }
}

/* 100円朝
食 Section - Matching Demo Image */
#thu-f-content .breakfast-100yen-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  /* background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 50%, #fff9e6 100%); */
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal pattern background */
#thu-f-content .breakfast-100yen-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

/* Left Side - Text Content */
#thu-f-content .breakfast-text-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

/* Hide on web, show on mobile (screens smaller than 1025px) */
#thu-f-content .web-hide {
    display: none !important;
}

@media (max-width: 768px) {
    #thu-f-content .web-hide {
        display: flex !important;
    }
}

#thu-f-content .breakfast-top-text {
  margin-bottom: 15px;
}

#thu-f-content .green-accent-text {
  font-size: 16px;
  color: #4ECDC4;
  font-weight: 600;
  font-family: var(--japanese_font);
}

#thu-f-content .breakfast-main-title-box {
  background: #4CDBAC;
  padding: 15px 25px;
  /* border-radius: 8px; */
  margin-bottom: 25px;
  display: inline-block;
}

#thu-f-content .breakfast-main-title-box-mobile {
  background: #4ECDC4;
  padding: 15px 25px;
  /* border-radius: 8px; */
  margin-bottom: 25px;
  display: inline-block;
  width: 289px;
}



#thu-f-content .breakfast-main-title {
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin: 0;
  font-family: var(--japanese_font);
}

#thu-f-content .breakfast-description {
  line-height: 1.8;
}

#thu-f-content .breakfast-para {
  font-size: 16px;
  color: #333;
  margin: 15px 0;
  font-family: var(--japanese_font);
}

#thu-f-content .highlight-text {
  color: #4ECDC4;
  font-weight: bold;
  font-size: 18px;
}

/* Right Side - 4 Images Grid */
#thu-f-content .breakfast-images-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  position: relative;
  z-index: 2;
}

#thu-f-content .breakfast-food-item {
  /* border-radius: 12px; */
  overflow: hidden;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); */
  transition: transform 0.3s ease;
}

#thu-f-content .breakfast-food-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

#thu-f-content .breakfast-food-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#thu-f-content .breakfast-food-item:hover .breakfast-food-image {
  transform: scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #thu-f-content .breakfast-100yen-container {
    flex-direction: column;
    gap: 30px;
    /* margin: 40px 20px;
    padding: 30px 20px; */
  }

  #thu-f-content .breakfast-text-content {
    text-align: center;
  }

  #thu-f-content .breakfast-main-title {
    font-size: 20px;
  }

  #thu-f-content .breakfast-para {
    font-size: 14px;
  }

  #thu-f-content .breakfast-images-grid {
    width: 100%;
    max-width: 400px;
  }

  #thu-f-content .breakfast-food-image {
    height: 120px;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .breakfast-100yen-container {
    margin: 20px 10px;
    padding: 20px 15px;
  }

  #thu-f-content .breakfast-main-title {
    font-size: 15px;
  }


  #thu-f-content .breakfast-para {
    font-size: 13px;
  }

  #thu-f-content .breakfast-images-grid {
    gap: 10px;
  }

  #thu-f-content .breakfast-food-image {
    height: 100px;
  }
}

/* SNS Sec
tion - Matching Demo Image */
#thu-f-content .sns-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 50%, #fff9e6 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal pattern background */
#thu-f-content .sns-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
}

#thu-f-content .sns-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* SNS Title */
#thu-f-content .sns-title-wrapper {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

#thu-f-content .sns-title {
  font-size: 48px;
  font-weight: 300;
  color: #888;
  font-family: 'Arial', sans-serif;
  margin: 0;
  letter-spacing: 4px;
  position: relative;
}

#thu-f-content .sns-title::before,
#thu-f-content .sns-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100px;
  height: 1px;
  background: #888;
}

#thu-f-content .sns-title::before {
  left: -120px;
}

#thu-f-content .sns-title::after {
  right: -120px;
}

/* Social Media Buttons Grid */
#thu-f-content .sns-buttons-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

#thu-f-content .sns-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--japanese_font);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  justify-content: center;
}

#thu-f-content .sns-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* LINE Button */
#thu-f-content .line-button {
  background: #00C300;
  color: white;
}

#thu-f-content .line-button:hover {
  background: #00A300;
}

/* X (Twitter) Button */
#thu-f-content .x-button {
  background: #000000;
  color: white;
}

#thu-f-content .x-button:hover {
  background: #333333;
}

/* Instagram Button */
#thu-f-content .instagram-button {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

#thu-f-content .instagram-button:hover {
  background: linear-gradient(45deg, #e08423 0%, #d6582c 25%, #cc1733 50%, #bc1356 75%, #ac0878 100%);
}

/* YouTube Button */
#thu-f-content .youtube-button {
  background: #FF0000;
  color: white;
}

#thu-f-content .youtube-button:hover {
  background: #CC0000;
}

/* SNS Icon */
#thu-f-content .sns-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#thu-f-content .icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Alternative: Use CSS icons if images not available */
#thu-f-content .sns-button::before {
  content: '';
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#thu-f-content .line-button .sns-icon::before {
  content: '💬';
  font-size: 20px;
}

#thu-f-content .x-button .sns-icon::before {
  content: '𝕏';
  font-size: 20px;
  font-weight: bold;
}

#thu-f-content .instagram-button .sns-icon::before {
  content: '📷';
  font-size: 20px;
}

#thu-f-content .youtube-button .sns-icon::before {
  content: '▶️';
  font-size: 20px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #thu-f-content .sns-section {
    padding: 40px 15px;
  }

  #thu-f-content .sns-title {
    font-size: 36px;
    letter-spacing: 2px;
  }

  #thu-f-content .sns-title::before,
  #thu-f-content .sns-title::after {
    width: 60px;
  }

  #thu-f-content .sns-title::before {
    left: -80px;
  }

  #thu-f-content .sns-title::after {
    right: -80px;
  }

  #thu-f-content .sns-buttons-grid {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  #thu-f-content .sns-button {
    min-width: 250px;
    padding: 15px 25px;
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .sns-title {
    font-size: 28px;
  }

  #thu-f-content .sns-title::before,
  #thu-f-content .sns-title::after {
    display: none;
  }

  #thu-f-content .sns-button {
    min-width: 200px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* LINE Button Demo Style - Matching Demo Image */
#thu-f-content .line-button-demo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px auto;
  max-width: 600px;
  justify-content: center;
}

#thu-f-content .line-icon-container {
  width: 120px;
  height: 120px;
  background: #00C300;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 195, 0, 0.3);
  transition: transform 0.3s ease;
}

#thu-f-content .line-icon-container-X {
  width: 55px;
  height: 50px;
  background: black;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgb(29, 29, 29);
  transition: transform 0.3s ease;
}

#thu-f-content .line-icon-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 195, 0, 0.4);
}

#thu-f-content .line-speech-bubble {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#thu-f-content .line-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid white;
}

#thu-f-content .line-text {
  font-size: 16px;
  font-weight: bold;
  color: #00C300;
  font-family: 'Arial', sans-serif;
}

#thu-f-content .line-text-X {
  font-size: 18px;
  font-weight: bold;
  color: white;
  font-family: 'Arial', sans-serif;
}

#thu-f-content .youtube-icon-container {
  width: 50px;
  height: 50px;
  background: #FF0000;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

#thu-f-content .youtube-icon-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.4);
}

#thu-f-content .youtube-play-button {
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#thu-f-content .youtube-triangle {
  width: 0;
  height: 0;
  border-left: 18px solid #FF0000;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px;
}

/* Right Side - Add Friend Button */
#thu-f-content .line-add-friend-button {
  background: #51a151;
  color: white;
  padding: 20px 60px;
  border-radius: 1px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  font-family: var(--japanese_font);
  box-shadow: 0 8px 20px rgba(0, 195, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
}

#thu-f-content .line-add-friend-button-X {
  background: black;
  color: white;
  padding: 20px 60px;
  border-radius: 1px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  font-family: var(--japanese_font);
  box-shadow: 0 8px 20px rgba(0, 195, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
}

#thu-f-content .youtube-add-friend-button {
  background: red;
  color: white;
  padding: 20px 30px;
  border-radius: 1px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  font-family: var(--japanese_font);
  box-shadow: 0 8px 20px rgba(236, 93, 93, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
}

#thu-f-content .line-add-friend-button:hover {
  background: #00B300;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 195, 0, 0.4);
}

#thu-f-content .youtube-add-friend-button:hover {
  background: var(--vidvid-red);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(185, 59, 59, 0.4);
}



#thu-f-content .add-friend-text {
  color: white;
  font-size: 20px;
  font-weight: normal;
}

/* University Info Navigation Section */
#thu-f-content .university-info-nav {
  background: transparent;
  padding: 60px 0;
  margin: 40px 0;
  border: 1px solid #2D4A95;
  /* border-radius: 10px; */

  position: relative;
}

#thu-f-content .university-info {
  width: 91%;
  height: 350px;
  display: flex;
  justify-content: center;
  overflow-y: scroll;


  margin: 0 auto;

  /* position: relative; */

  /* position: relative; */
}

#thu-f-content .university-info::-webkit-scrollbar {
  width: 10px;
}


#thu-f-content .university-info::-webkit-scrollbar-track {
  background-color: transparent;
}

#thu-f-content .university-info::after {
  content: '';
  position: absolute;
  top: 0;
  right: 5%;
  width: 1px;
  height: 100%;
  background-color: var(--blue);

  transform: translateX(-50%);
}



#thu-f-content .university-info::-webkit-scrollbar-thumb {
  background-color: var(--blue);

  /* border-top: 100px solid transparent;
  border-bottom: 100px solid transparent;
  background-clip: padding-box; */
}

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

#thu-f-content .nav-header {
  text-align: center;

  position: absolute;

  top: -30px;
  margin-bottom: 50px;
}

#thu-f-content .nav-title {
  background: #2D4A95;
  color: white;
  font-size: 24px;
  font-weight: bold;
  font-family: var(--japanese_font);
  padding: 15px 40px;
  border-radius: 0;
  display: inline-block;
  margin: 0;
  position: relative;
  font-family: 'Saira Condensed', sans-serif !important;
}

#thu-f-content .nav-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  width: 0;
  height: 0;
  border-top: 27px solid transparent;
  border-bottom: 27px solid transparent;
  /* border-right: 20px solid #2D4A95; */
}

#thu-f-content .nav-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 27px solid transparent;
  border-bottom: 27px solid transparent;
  /* border-left: 20px solid #2D4A95; */
}

#thu-f-content .nav-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* gap: 20px; */
  max-width: 800px;
  /* margin: 0 auto; */
  padding: 0 20px;

}

#thu-f-content .nav-item {
  display: flex;
  align-items: center;
  /* background: white; */
  /* padding: 25px; */
  /* border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s ease;
  cursor: pointer;
  /* border-left: 5px solid #4ECDC4; */
}

/* #thu-f-content .nav-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-left-color: #2D4A95;
} */

#thu-f-content .nav-icon {
  margin-right: 20px;
  flex-shrink: 0;
}

#thu-f-content .nav-icon svg {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

/* #thu-f-content .nav-item:hover .nav-icon svg {
  transform: scale(1.1);
} */

#thu-f-content .nav-text {
  flex: 1;
}

#thu-f-content .nav-text h3 {
  font-size: 18px;
  font-weight: bold;
  color: #2D4A95;
  font-family: var(--japanese_font);
  margin: 0;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: #4ECDC4;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

#thu-f-content .nav-item:hover .nav-text h3 {
  color: #1a2d5a;
  text-decoration-color: #2D4A95;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  #thu-f-content .university-info-nav {
    padding: 40px 0;
    margin: 20px 0;
  }

  #thu-f-content .nav-title {
    font-size: 20px;
    padding: 12px 30px;
  }

  #thu-f-content .nav-title::before,
  #thu-f-content .nav-title::after {
    border-top-width: 22px;
    border-bottom-width: 22px;
  }

  #thu-f-content .university-info-nav-mobile {

    margin-left: 0.5cm;
    margin-right: 0.5cm;
  }
  

  /* h2.campus-mobile {
    position: relative;
    display: inline-block;
    color: #2D4A95;
    font-weight: 300;
    padding-bottom: 18px;
    margin-bottom: 28px;
    line-height: 1.15;
    z-index: 0;
    font-size: 44px;
} */

  #thu-f-content .nav-items {
    grid-template-columns: 1fr;
    /* gap: 20px; */
    padding: 0 15px;
    padding-top: 30px;
  }

  #thu-f-content .nav-item {

    /* flex-direction: column;
    text-align: center; */
    margin-left: 0px;
  }

  #thu-f-content .nav-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  #thu-f-content .nav-icon svg {
    width: 50px;
    height: 50px;
  }

  #thu-f-content .nav-text h3 {
    font-size: 11px;
  }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  #thu-f-content .line-button-demo {
    flex-direction: column;
    gap: 15px;
    margin: 30px 20px;
  }
  #thu-f-content .passing-space{
    padding-top: 41px;
  }
  #thu-f-content .line-icon-container {
    width: 100px;
    height: 100px;
    border-radius: 20px;
  }

  #thu-f-content .line-speech-bubble {
    width: 60px;
    height: 60px;
  }

  #thu-f-content .line-text {
    font-size: 14px;
  }

  #thu-f-content .line-add-friend-button {
    padding: 15px 40px;
    font-size: 20px;
    min-width: 250px;
  }

  #thu-f-content .add-friend-text {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .line-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 15px;
  }

  #thu-f-content .line-speech-bubble {
    width: 50px;
    height: 50px;
  }

  #thu-f-content .line-text {
    font-size: 12px;
  }

  #thu-f-content .line-add-friend-button {
    padding: 12px 30px;
    font-size: 18px;
    min-width: 200px;
  }

  #thu-f-content .add-friend-text {
    font-size: 18px;
  }
}

/* SNS Se
ction Styles */
#thu-f-content .sns-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #E8F5E8 0%, #FFF8DC 100%);
  text-align: center;
}

#thu-f-content .sns-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#thu-f-content .sns-title-wrapper {
  margin-bottom: 40px;
}

#thu-f-content .sns-title {
  font-size: 48px;
  font-weight: bold;
  color: #2d4a95;
  font-family: var(--japanese_font);
  margin: 0;
  text-align: center;
}

#thu-f-content .sns-buttons-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* LINE Button Special Design */
#thu-f-content .line-button-demo {
  display: flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s ease;
}

#thu-f-content .line-button-demo:hover {
  transform: translateY(-2px);
}

#thu-f-content .line-icon-container {
  background: #00C300;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  box-sizing: border-box;
}

#thu-f-content .line-speech-bubble {
  background: white;
  color: #00C300;
  border-radius: 15px;
  font-weight: bold;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 25px;
  box-sizing: border-box;
}

#thu-f-content .line-speech-bubble .line-text {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 10px;
}

#thu-f-content .line-add-friend-button {
  background: #4fa14f;
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  transition: background 0.3s ease;
  height: 50px;
  box-sizing: border-box;
  min-width: 120px;
}

#thu-f-content .line-add-friend-button:hover {
  background: #00A300;
  color: white;
}

#thu-f-content .add-friend-text {
  font-family: var(--japanese_font);
  font-weight: normal;
}

/* Other SNS Buttons */
#thu-f-content .sns-button {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

#thu-f-content .sns-button:hover {
  transform: translateY(-2px);
  color: white;
}

#thu-f-content .sns-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#thu-f-content .icon-image {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

#thu-f-content .sns-text {
  font-family: var(--japanese_font);
  font-weight: bold;
  font-size: 14px;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  min-width: 120px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  box-sizing: border-box;
}

/* X (Twitter) Button */
#thu-f-content .x-button .sns-icon {
  background: #000000;
}

#thu-f-content .x-button .sns-text {
  background: #000000;
}

#thu-f-content .x-button:hover .sns-icon,
#thu-f-content .x-button:hover .sns-text {
  background: #333333;
}

/* Instagram Button */
#thu-f-content .instagram-button .sns-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

#thu-f-content .instagram-button .sns-text {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

#thu-f-content .instagram-button:hover .sns-icon,
#thu-f-content .instagram-button:hover .sns-text {
  background: linear-gradient(45deg, #d07c2a 0%, #c55a33 25%, #b91e3a 50%, #a31a5d 75%, #931579 100%);
}

/* YouTube Button */
#thu-f-content .youtube-button .sns-icon {
  background: #FF0000;
}

#thu-f-content .youtube-button .sns-text {
  background: #FF0000;
}

#thu-f-content .youtube-button:hover .sns-icon,
#thu-f-content .youtube-button:hover .sns-text {
  background: #CC0000;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  #thu-f-content .sns-buttons-grid {
    flex-wrap: wrap;
    gap: 10px;
  }

  #thu-f-content .line-button-demo,
  #thu-f-content .sns-button {
    flex: 1 1 calc(50% - 5px);
    min-width: 200px;
  }

  #thu-f-content .sns-title {
    font-size: 36px;
  }

  #thu-f-content .sns-section {
    padding: 40px 0;
  }
}

@media screen and (max-width: 768px) {
  #thu-f-content .sns-title {
    font-size: 28px;
  }

  #thu-f-content .sns-title::before,
  #thu-f-content .sns-title::after {
    display: none;
  }

  #thu-f-content .sns-button {
    min-width: 200px;
    padding: 12px 20px;
    font-size: 14px;
  }
}

#thu-f-content .instagram-button {
  background: linear-gradient(135deg, #f06, #f5a623);
  /* Instagram gradient colors */
  color: white;
  padding: 20px 60px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  min-width: 300px;
  transition: all 0.3s ease;
}

#thu-f-content .instagram-button svg {
  margin-right: 10px;
  fill: white;
}

#thu-f-content .instagram-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}/* EVENT S
ECTION MOBILE RESPONSIVE */
@media (max-width: 768px) {
  #thu-f-content .event-section {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px 15px !important;
  }
  
  #thu-f-content .event-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  
  #thu-f-content .event-image {
    height: 200px !important;
  }
  
  #thu-f-content .event-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  
  #thu-f-content .event-top-text {
    font-size: 14px !important;
    padding: 8px 12px !important;
  }
  
  #thu-f-content .event-title {
    font-size: 20px !important;
    margin: 15px 0 10px 0 !important;
  }
  
  #thu-f-content .event-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
  }
  
  #thu-f-content .event-btn {
    font-size: 14px !important;
    padding: 10px 20px !important;
  }
}

@media (max-width: 768px) {
  #thu-f-content .event-section {
    padding: 15px 10px !important;
    gap: 15px !important;
  }
  
  #thu-f-content .event-image {
    height: 180px !important;
  }
  
  #thu-f-content .event-top-text {
    font-size: 12px !important;
    padding: 6px 10px !important;
  }
  
  #thu-f-content .event-title {
    font-size: 18px !important;
  }
  
  #thu-f-content .event-desc {
    font-size: 13px !important;
  }
}/* SNS SE
CTION - CLEAN FIXED STYLE */
#thu-f-content .sns-buttons-grid {
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  margin-top: 30px !important;
}

#thu-f-content .sns-button-wrapper {
  display: flex !important;
  align-items: center !important;
  border-radius: 25px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease !important;
  height: 50px !important;
}

#thu-f-content .sns-button-wrapper:hover {
  transform: translateY(-2px) !important;
}

#thu-f-content .sns-icon {
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  font-weight: bold !important;
  font-size: 12px !important;
  flex-shrink: 0 !important;
}

#thu-f-content .line-icon {
  background: #00C300 !important;
}

#thu-f-content .x-icon {
  background: #000000 !important;
}

#thu-f-content .instagram-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

#thu-f-content .youtube-icon {
  background: #FF0000 !important;
}

#thu-f-content .sns-action-button {
  padding: 0 20px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  color: white !important;
  font-weight: bold !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
}

#thu-f-content .line-button {
  background: #00C300 !important;
}

#thu-f-content .x-button {
  background: #000000 !important;
}

#thu-f-content .instagram-button {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

#thu-f-content .youtube-button {
  background: #FF0000 !important;
}

#thu-f-content .sns-action-button:hover {
  opacity: 0.9 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #thu-f-content .sns-buttons-grid {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  #thu-f-content .sns-button-wrapper {
    width: 100% !important;
    max-width: 280px !important;
  }
}

/* Campus Facility Section Animation Styles */
#thu-f-content .campus-facility-section {
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
  overflow: hidden;
  cursor: pointer;
}

#thu-f-content .campus-facility-section:hover {
  background-color: rgba(45, 74, 149, 0.02);
}

/* Navigation Arrow Styles */
#thu-f-content .nav-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.2s ease;
  border-radius: 50%;
}

#thu-f-content .nav-arrow:hover {
  transform: scale(1.1);
  background-color: rgba(45, 74, 149, 0.1);
}

#thu-f-content .nav-arrow:active {
  transform: scale(0.95);
}

#thu-f-content .arrow-image {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Facility text and description styles */
#thu-f-content .facility-text {
  font-family: var(--japanese_font);
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  padding: 20px;
  margin: 0;
}

#thu-f-content .facility-description {
  /* background-color: white !important; */
}
/* Event Slider Styles */
#thu-f-content .event-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#thu-f-content .event-slider-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 300%;
}

#thu-f-content .event-slide {
  width: 33.333%;
  flex-shrink: 0;
  opacity: 0.7;
  transform: scale(0.9);
  transition: all 0.5s ease;
}

#thu-f-content .event-slide.active {
  opacity: 1;
  transform: scale(1);
}

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

#thu-f-content .event-dot {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
}

#thu-f-content .event-dot.active {
  color: #2d4a95;
}

#thu-f-content .event-dot:hover {
  color: #2d4a95;
}

/* Mobile responsive for event slider */
@media (max-width: 768px) {
  #thu-f-content .event-slider-wrapper {
    flex-direction: column;
    width: 100%;
  }
  
  #thu-f-content .event-slide {
    width: 100%;
    margin-bottom: 20px;
  }
  
  #thu-f-content .event-slider-dots {
    margin-top: 15px;
  }
  
  #thu-f-content .event-dot {
    font-size: 20px;
  }
}

/* Responsive styles for iPhone 12 Pro (390px) and under 1025px */
@media (max-width: 768px) {
  #thu-f-content .container {
    width: 100%;
    padding: 0 15px;
  }
  
  #thu-f-content .facility-main-title {
    font-size: 24px !important;
  }
  
  #thu-f-content .facility-subtitle {
    font-size: 18px !important;
  }
  
  #thu-f-content .facility-text {
    font-size: 14px !important;
    padding: 15px;
  }
  
  #thu-f-content .nav-title {
    font-size: 20px !important;
  }
  
  #thu-f-content .nav-text h3 {
    font-size: 14px !important;
  }
  
  #thu-f-content .campus {
    font-size: 28px !important;
  }
  
  #thu-f-content .campus1 {
    font-size: 28px !important;
  }
  
  #thu-f-content .title-campus {
    font-size: 24px !important;
  }
  
  #thu-f-content .hero-title {
    font-size: 32px !important;
  }
  
  #thu-f-content .main-title {
    font-size: 76px !important;
  }
  
  #thu-f-content .section-title {
    font-size: 32px !important;
  }
  
  #thu-f-content .card-title h2 {
    font-size: 20px !important;
  }
  
  #thu-f-content .card-text {
    font-size: 14px !important;
  }
  
  #thu-f-content .info-box {
    padding: 15px 20px 15px 60px;
    font-size: 14px !important;
  }
  
  #thu-f-content .info-box-2 {
    font-size: 14px !important;
  }
  
  #thu-f-content .university-info-nav {
    margin: 30px auto !important;
  }
  
  #thu-f-content .nav-item {
    margin-bottom: 20px;
  }
  
  #thu-f-content .nav-icon img {
    width: 80px !important;
  }
  
  #thu-f-content .facility-image {
    max-width: 100%;
    height: auto;
  }
  
  #thu-f-content .facility-image-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  #thu-f-content .nav-arrow {
    padding: 5px;
  }
  
  #thu-f-content .arrow-image {
    width: 24px;
    height: 24px;
  }
  
  #thu-f-content .event-slide {
    padding: 0 10px;
  }
  
  #thu-f-content .event-content h3 {
    font-size: 18px !important;
  }
  
  #thu-f-content .event-content p {
    font-size: 14px !important;
  }
  
  #thu-f-content .event-date {
    font-size: 12px !important;
  }
}

/* Specific styles for iPhone 12 Pro (390px) */
@media (max-width: 768px) {
  #thu-f-content .container {
    padding: 0 10px;
  }
  
  #thu-f-content .facility-main-title {
    font-size: 20px !important;
  }
  
  #thu-f-content .facility-subtitle {
    font-size: 15px !important;
  }
  
  #thu-f-content .facility-text {
    font-size: 16px !important;
    padding: 10px;
  }
  
  #thu-f-content .nav-title {
    font-size: 18px !important;
  }
  
  #thu-f-content .nav-text h3 {
    font-size: 12px !important;
  }
  
  #thu-f-content .campus {
    font-size: 24px !important;
  }
  
  #thu-f-content .campus1 {
    font-size: 24px !important;
  }
  
  #thu-f-content .title-campus {
    font-size: 20px !important;
  }
  
  #thu-f-content .hero-title {
    font-size: 28px !important;
  }
  
  #thu-f-content .main-title {
    font-size: 64px !important;
  }
  
  #thu-f-content .section-title {
    font-size: 28px !important;
  }
  
  #thu-f-content .card-title h2 {
    font-size: 18px !important;
  }
  
  #thu-f-content .card-text {
    font-size: 12px !important;
  }
  
  #thu-f-content .info-box {
    padding: 10px 15px 10px 50px;
    font-size: 12px !important;
  }
  
  #thu-f-content .info-box-2 {
    font-size: 12px !important;
  }
  
  #thu-f-content .nav-icon img {
    width: 70px !important;
  }
  
  #thu-f-content .arrow-image {
    width: 20px;
    height: 20px;
    margin-top:77px;
  }
  
  #thu-f-content .event-content h3 {
    font-size: 16px !important;
  }
  
  #thu-f-content .event-content p {
    font-size: 12px !important;
  }
  
  #thu-f-content .event-date {
    font-size: 10px !important;
  }
}

 #thu-f-content .international-exchange {
    /* background: linear-gradient(135deg, #e8f5e8 0%, #d4e5d4 100%); */
    padding: 136px 40px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

#thu-f-content .international-exchange::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

#thu-f-content .container {
    /* max-width: 1200px;
    margin: 67px auto;
    position: relative;
    z-index: 1; */
}

#thu-f-content .header-section {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

#thu-f-content .text-content {
    flex: 1;
    min-width: 300px;
}

#thu-f-content .title {
    color: #2c5530;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

#thu-f-content .description {
    color: #4a6b4d;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
}

#thu-f-content .sub-description {
    color: #5a7a5d;
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 25px;
}

#thu-f-content .cta-button {
    /* background: #5CE1E6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(77, 233, 222, 0.3); */
    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;
}

#thu-f-content .cta-button:hover {
  text-decoration: underline;
}

/* Wave underline for Campus heading (matches demo) */
#thu-f-content h2.campus {
    position: relative;
    display: inline-block;
    color: #2D4A95;
    font-weight: 300;
    padding-bottom: 45px;
    margin-bottom: 0px;
    margin-top: 89px;
    line-height: 1.15;
    z-index: 0;
    font-size: 35px;
}

#thu-f-content h2.campus::after {
    content: "";
    position: absolute;
    bottom: 40px;
    left: -34%;
    width: 161%;
    height: 35px;
    background: url(../img/campus_life/wave.png) no-repeat left center;
    background-size: 127% auto;
    pointer-events: none;
    z-index: -1;
}

#thu-f-content h2.campus1::after {
    content: "";
    position: absolute;
    bottom: 39px;
    left: 7%;
    width: 103%;
    height: 35px;
    background: url(../img/campus_life/wave.png) no-repeat left center;
    background-size: 98% auto;
    pointer-events: none;
    z-index: -1;
}

#thu-f-content h2.campus3::after {
    content: "";
    position: absolute;
    bottom: 37px;
    left: -6%;
    width: 121%;
    height: 35px;
    background: url(../img/campus_life/wave.png) no-repeat left center;
    background-size: 110% auto;
    pointer-events: none;
    z-index: -1;
}

#thu-f-content h2.campus4::after {
    content: "";
    position: absolute;
    bottom: 32px!important;
    left: 2%!important;
    width: 100%;
    height: 35px;
    background: url(../img/campus_life/wave.png) no-repeat left center;
    background-size: 110% auto;
    pointer-events: none;
    z-index: -1;
}


#thu-f-content h2.campus5::after {
    content: "";
    position: absolute;
    bottom: 33px;
    left: 12%;
    width: 88%;
    height: 35px;
    background: url(../img/campus_life/wave.png) no-repeat left center;
    background-size: 96% auto;
    pointer-events: none;
    z-index: -1;
}

#thu-f-content h2.campus6::after {
    content: "";
    position: absolute;
    bottom: 31px!important;
    left: -8%!important;
    width: 81%;
    height: 35px;
    background: url(../img/campus_life/wave.png) no-repeat left center;
    background-size: 90% auto;
    pointer-events: none;
    z-index: -1;
}

#thu-f-content h2.campus7::after {
    content: "";
    position: absolute;
    bottom: 27px;
    left: -132%;
    width: 401%;
    height: 35px;
    background: url(../img/campus_life/wave.png) no-repeat left center;
    background-size: 120% auto;
    pointer-events: none;
    z-index: -1;
}

/* Ensure space if a paragraph follows immediately after the heading */
#thu-f-content h2.campus+p {
    margin-top: 14px;
}

/* Optional: adjust on small screens */
@media (max-width: 768px) {
    #thu-f-content h2.campus {
        padding-bottom: 40px;
        margin-bottom: 0px;
    }

    #thu-f-content h2.campus::after {
        left: -17%;
        width: 138%;
        height: 25px;
        bottom: 32px;
    }
}

#thu-f-content .globe-icon {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

#thu-f-content .globe-icon::before {
    content: '🌍';
    font-size: 60px;
    animation: float 3s ease-in-out infinite;
}

#thu-f-content .program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 50px; */
    margin-bottom: 40px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

#thu-f-content .program-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

#thu-f-content .program-item:hover {
    transform: translateY(-5px);
}

#thu-f-content .program-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;

}

#thu-f-content .program-item:hover .program-circle {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

#thu-f-content .program-1 {
    /*background: url("../img/campus_life/exchange1.webp");*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 6px solid rgb(138, 211, 255);
    position: relative;
width: 200px; 
    height: 200px;
}

#thu-f-content .program-2 {
    /*background: url('../img/campus_life/exchange2.webp');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 6px solid rgb(0, 151, 178);
    position: relative;
}

#thu-f-content .program-3 {
    /*background: url('../img/campus_life/exchange3.webp');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 6px solid rgb(230, 249, 255);
    position: relative;
}

#thu-f-content .program-4 {
    /*background: url('../img/campus_life/exchange4.webp');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 6px solid rgb(255, 239, 57);
    position: relative;
}

#thu-f-content .program-5 {
    /*background: url('../img/campus_life/exchange5.webp');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 6px solid rgb(255, 189, 89);
    position: relative;
}

#thu-f-content .program-6 {
    /*background: url('../img/campus_life/exchange6.webp');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 6px solid rgb(210, 255, 169);
    position: relative;
}

#thu-f-content .program-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}

#thu-f-content .program-circle::after {
    content: attr(data-label);
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    color: midnightblue;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    font-family: var(--japanese_font);
    z-index: 2;
    line-height: 1.2;
    padding: 10px 0;
    /* backdrop-filter: blur(10px); */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#thu-f-content .program-1::after {
    background: rgb(138, 211, 255);
}

#thu-f-content .program-2::after {
    background: rgb(0, 151, 178);
}

#thu-f-content .program-3::after {
    background: rgb(230, 249, 255);
}


#thu-f-content .program-4::after {
    background: rgb(255, 239, 57);
}

#thu-f-content .program-5::after {
    background: rgb(255, 189, 89);
}

#thu-f-content .program-6::after {
    background: rgb(210, 255, 169);
}

#thu-f-content .program-label {
    text-align: center;
    font-size: 12px;
    color: #2c5530;
    font-weight: 500;
    opacity: 0.8;
}

#thu-f-content .housing-section {
    text-align: center;
    margin-top: 30px;
}

#thu-f-content .housing-title {
    color: #2c5530;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

#thu-f-content .housing-subtitle {
    color: #5a7a5d;
    font-size: 14px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    #thu-f-content .international-exchange {
        padding: 40px 60px;
    }

    #thu-f-content .header-section {
        flex-direction: column;
        text-align: center;
    }

    #thu-f-content .program-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    #thu-f-content .program-circle {
        width: 80px;
        height: 80px;
    }

    #thu-f-content .globe-icon {
        width: 120px;
        height: 120px;
    }

    #thu-f-content .globe-icon::before {
        font-size: 40px;
    }
}

/* Calendar Slider Styles */
#thu-f-content .calendar-slider {
    /* background: white; */
    /* border-radius: 15px; */
    padding: 0;
    /* margin: 20px 0; */
    overflow: hidden;
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
/* 既存のJSロジックで設定されていることが多いが、CSSで明示し、確実にする */
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    /* 0.5秒かけて、自然なイージングで移動させる */
}

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

#thu-f-content .slides-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%;
}

#thu-f-content .slide {
    width: 33.333%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#thu-f-content .slide.active {
    opacity: 1;
}



#thu-f-content .month-header {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

#thu-f-content .month-title {
    color: #4CAF50;
    font-size: 32px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#thu-f-content .gallery-image {
    position: relative;
}

#thu-f-content .image-gallery {
    display: flex;
    height: 300px;
    gap: 0;
}

#thu-f-content .gallery-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

#thu-f-content .gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#thu-f-content .gallery-image:hover img {
    transform: scale(1.05);
}

#thu-f-content .event-list-slider {
    /* background: rgba(255, 255, 255, 0.9); */
    padding: 25px 30px;
}

#thu-f-content .event-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

#thu-f-content .event-items li {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    font-weight: 500;
}

#thu-f-content .slider-progress {
    padding: 20px 30px;
    /* background: rgba(255, 255, 255, 0.95); */
}

#thu-f-content .progress-bar {
    width: 100%;
    height: 4px;
    background: #d0d0d0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

#thu-f-content .progress-fill {
    width: 33.333%;
    height: 100%;
    background: #1976D2;
    border-radius: 2px;
    transition: width 0.5s ease;
    position: absolute;
    left: 0;
    top: 0;
}

#thu-f-content .scroll-text {
    color: #ff4444;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    #thu-f-content .month-title {
        font-size: 24px;
    }

    #thu-f-content .image-gallery {
        height: 286px;
    }

    #thu-f-content .event-list-slider {
        padding: 20px;
    }

    #thu-f-content .event-items li {
        font-size: 14px;
    }
}

/* Mobile Responsive for Circles Clubs */
#thu-f-content .mobile-view {
    display: flex;
    gap: 15px;
    padding: 20px;
    justify-content: center;
    /* align-items: flex-start; */
    /* background: #f8f9fa; */
    /* border-radius: 15px; */
    /* margin: 20px 0; */
}

#thu-f-content .mobile-view .circles-clubs-middle,
#thu-f-content .mobile-view .circles-clubs-right {
    flex: 1;
    margin-top: 0 !important;
}

#thu-f-content .mobile-view .image-container {
    width: 100%;
}

#thu-f-content .mobile-view .club-image {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover;
    /* border-radius: 20px !important; */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

#thu-f-content .mobile-view .club-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    #thu-f-content .mobile-view {
        flex-direction: column;
        gap: 20px;
    }

    #thu-f-content .mobile-view .club-image {
        height: 180px !important;
    }
}
#thu-f-content .sns-buttons-horizontal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px auto 0;
    max-width: 1000px;
    padding: 0 15px;
}

#thu-f-content .social-button-container {
    flex: 1 1 calc(25% - 30px);
    min-width: 200px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    #thu-f-content .social-button-container {
        flex: 0 0 calc(50% - 20px);
        min-width: 0;
    }

    #thu-f-content .social-icon {
        width: 40px !important;
        height: 40px !important;
    }

    #thu-f-content .social-action-button {
        padding: 10px 15px !important;
        font-size: 12px !important;
        height: 40px !important;
    }
}
      #thu-f-content  .text-center {
            text-align: center;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
                  #thu-f-content   .underlined-text {
                        /* text-decoration: underline; */
                    }
/* --- 保護者ページと同じレイアウトにするための追加CSS --- */

/* 1. 全体を囲むコンテナをFlexboxにする（これで横並びになります） */
#thu-f-content .facility-image-container {
    display: flex;
    flex-wrap: nowrap;     /* 折り返しを禁止 */
    align-items: flex-start; /* 上揃え */
    justify-content: center; /* 中央寄せ */
    /* gap: 40px;             */
    height: 300px;
}

@media (max-width: 768px) {
#thu-f-content .facility-image-container {
    display: flex;
    flex-wrap: nowrap;     /* 折り返しを禁止 */
    align-items: flex-start; /* 上揃え */
    justify-content: center; /* 中央寄せ */
    /* gap: 40px;             */
    height: auto;

}
}
/* 2. 左側の画像エリア */
#thu-f-content .facility-image-container .img {
    flex-shrink: 0;        /* 画像エリアが縮まないように固定 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;             /* 余計なマージンを削除 */
}

/* 3. 右側のコンテンツエリア */
#thu-f-content .campus-content {
    display: none;         /* 基本は非表示（JSでactiveなものだけ表示） */
    flex: 1;               /* 残りの幅をすべて使う */
    max-width: 600px;      /* テキストが広がりすぎないように制限 */
}

/* activeクラスがついたコンテンツだけを表示 */
#thu-f-content .campus-content.active {
    display: block;        /* 表示する */
    animation: fadeIn 0.5s ease; /* ふわっと表示させる（任意） */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 矢印のスタイル調整 */
#thu-f-content .img img[alt="arrowleft"],
#thu-f-content .img img[alt="arrowright"] {
    width: 40px;
    height: auto;
    cursor: pointer;
    margin: 0 5px;
}
/* --- タイトル部分の崩れ・色修正 --- */

/* 1. タイトル文字のスタイルを「青色・余白なし」に強制修正 */
#thu-f-content .card2 .card-title h2.facility-main-title {
    color: #004097 !important;       /* 文字色を青にする（元は白で消えていた） */
    background-color: transparent !important;
    font-size: 30px !important;      /* フォントサイズを大きく */
    /* font-weight: bold !important; */
    padding: 0 !important;           /* 不要な余白を削除 */
    margin: 0 !important;
    text-align: center !important;
    border: none !important;         /* h2自体の枠線を消す */
    width: auto !important;
    height: auto !important;
}

/* 2. タイトルを囲む枠線のボックスを調整 */
#thu-f-content .card2 .card-title {
    display: inline-block !important; /* 横幅いっぱいに広がらないようにする */
    /* width: auto !important; */
    min-width: 220px;                 /* 見栄えが良い最小幅 */
    margin-bottom: 10px !important;   /* 下に余白を空ける */
    font-size:30px;
    /* 枠線のデザイン（HTML側のstyleが効かない場合の保険） */
    /* border-radius: 5px !important; */
    padding: 8px 15px !important;
    text-align: center !important;
    background-color: #fff !important;
    white-space: nowrap;
}

/* 3. コンテンツエリアの配置調整 */
#thu-f-content .card2-content {
    align-items: flex-start !important; /* 左揃えを基本にする */
}
