@charset "utf-8";
/* CSS Document */

* {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: clip;
  background-image: linear-gradient(to right, #e9e9e9 1px, transparent 1px), linear-gradient(to bottom, #e9e9e9 1px, transparent 1px);
  background-color: #efefef;
  background-size: 20px 20px;
  color: #333;
}

body.modal-open {
  padding-right: 0 !important;
}

body,
td,
th {
  /* 黑體 */
  font-family: "Noto Sans TC", sans-serif;
  text-align: justify;
}
@media (max-width: 575px) {
    .container, .container-sm {
        max-width: 90%;
    }
}
a:link {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #000;
}
a:active {
  text-decoration: none;
}
.chapterTitle h2 {
  font-size: 48px;
  font-weight: 500;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 8%;
  color: #000000;
  line-height: 1.65;
}
.chapterTitle span {
  font-weight: 500;
  color: #0837ac;
  margin-right: 12px;
}
.chapterTitle h3 {
  color: #0837ac;
  font-size: 32px;
  font-family: "Noto Serif JP", serif;
  font-weight: 800;
  text-align: center;
}
.chapterTitle h4 {
  color: #525252;
  text-align: center;
  margin: 20px 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 25%;
}
.chapterTitle p {
  color: #1c1c1c;
  text-align: center;
  margin: 20px 0 0 0;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 25%;
  line-height: 2;
}
@media (max-width: 1199px) {
  .chapterTitle h2 {
    font-size: 36px;
  }
  .eju-area {
    padding: 80px 0;
  }
}
@media (max-width: 767px) {
  .chapterTitle h2 {
    font-size: 32px;
  }
  .chapterTitle h3 {
    font-size: 24px;
  }
  .chapterTitle p {
    line-height: 1.75;
    letter-spacing: 15%;
  }
  .chapterTitle h4 {
    line-height: 2;
  }
}
@media (max-width: 575px) {
  .chapterTitle h2 {
    font-size: 30px;
  }
  .chapterTitle h4 {
    font-size: 14px;
  }
  .chapterTitle p {
      font-size: 14px;
    }
}
.color-red {
  color: #e50012 !important;
}
.color-pink {
  color: #f765c6 !important;
}
.color-w {
  color: #ffffff !important;
}
.color-black {
  color: #000000 !important;
}
.color-blue {
  color: #0837ac !important;
}
.color-yellow {
  color: #fffc62 !important;
}
.color-white {
  color: #ffffff !important;
}
.color-green {
  color: #44a751 !important
}
.color-gray {
  color: #636363 !important;
}

.bg-blue {
  background-color: #0837ac !important;
}
.bg-red {
  background-color: #da1b1b !important;
}
.bg-pink {
  background-color: #f765c6 !important;
}
.bg-green {
  background-color: #44a751 !important;
}
.bg-orange {
  background-color: #f36236 !important;
}
.bg-purple {
  background-color: #976be9 !important;
}
.bg-greenblue {
  background-color: #3bbdb6 !important;
}


.d-575-none {
  display: block !important;
}
.d-575 {
  display: none !important;
}
@media (max-width: 575px) {
  .d-575-none {
    display: none !important;
  }
  .d-575 {
    display: block !important;
  }
}

.banner-btnbox .br-blue {
  border: 2px#0837ac solid;
}

/* --------------------------- */
/* NAVBAR */
/* --------------------------- */
.navbar-custom {
  height: 80px;
  background-color: #e50012;
  backdrop-filter: blur(1.5px);
}

@media (max-width: 991px) {
  .navbar-custom {
    height: auto;
    border-radius: 0 0 0 0;
  }
}

.navbar-brand img {
  height: 48px;
}

/* @media (max-width: 991px) {
  .navbar-brand img {
    height: 50px;
  }
} */

@media (max-width: 767px) {
  .navbar-brand img {
    height: 36px;
  }
}
.navbar-nav {
  margin: 0 0 0 auto;
}

.navbar .nav-link {
  color: #ffffff;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 10%;
  margin: 0 4px;
  position: relative;
  text-align: center;
}

.nav-item span {
  font-weight: 600;
}

@media (max-width: 1399px) {
  .navbar .nav-link {
    margin: 0 5px;
  }
}

@media (max-width: 1199px) {
  .navbar .nav-link {
    font-size: 16px;
    margin: 0 2px;
  }
}

@media (max-width: 991px) {
  .navbar .nav-link {
    /* color: #3d3d3d;
    font-size: 20px;
    font-weight: 600; */
    margin: 3px 0 3px 20px;
  }
}

.navbar .nav-link:hover {
  color: #fdff74;
  transform: scale(1.05);
}

.navbar .nav-link:after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  border-radius: 2px;
  background-color: #e50012;
  margin-top: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  /* -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out; */
}

.navbar .nav-link:hover:after {
  width: 50%;
}

.navbar-toggler {
  border: 0px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* --------------------------- */
/* NAVBAR */
/* --------------------------- */

/* --------------------------- */
/* SIDEMENU */
/* --------------------------- */
.sidemenu-box {
    position: fixed;
    top: 20%;
    right: 30px;
    animation-name: sidemenu-ani;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
    z-index: 99;
}

@media (max-width:768px) {
    .sidemenu-box {
        top: auto;
        bottom: 20px;
        right: auto;
        left: 24px;
        animation-name: none;
        width: 65%;
    }
}

.sidemenu1 {
    background-color: #e60012;
    color: white;
    padding: 20px 15px;
    text-align: center;
    font-size: 22px;
    line-height: 26px;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
}

@media (max-width:768px) {
    .sidemenu1 {
        padding: 10px 0;
        font-size: 18px;
        letter-spacing: 2px;
        border: 3px white solid;
    }
}

.sidemenu1:hover {
    background-color: #c2000f;
}

.sidemenu2 {
    background-color: #083090;
    color: white;
    padding: 20px 15px;
    text-align: center;
    font-size: 22px;
    line-height: 26px;
    margin-top: 10px;
    -webkit-transition: all 0.1s linear;
    -moz-transition: all 0.1s linear;
}

@media (max-width:768px) {
    .sidemenu2 {
        padding: 10px 0;
        font-size: 18px;
        letter-spacing: 2px;
        margin-top: 5px;
        border: 3px white solid;
    }
}

.sidemenu2:hover {
    background-color: #001e66;
}

@keyframes sidemenu-ani {
    0% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(3px);
    }

    100% {
        transform: translateY(-3px);
    }
}
/* --------------------------- */
/* SIDEMENU */
/* --------------------------- */

/* --------------------------- */
/* BANNER */
/* --------------------------- */
.banner-area {
  padding-top: 60px;
  background-position: top;
  background-image: url("../img/banner-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.banner-content {
  width: 100%;
  position: relative;
  height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.banner-content::after {
  content:'';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 760px;
  background-color: #ffffff8a;
  z-index: 0;
}
.banner-img {
  position: absolute;
  left: -130px;
  bottom: 0px;
  z-index: 1;
  width: 420px;
}
.banner-header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.banner-title {
  text-align: center;
  z-index: 1;
}
.banner-title h1 {
  font-size: 112px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  margin: 36px 0 36px 0;
  min-height: 135px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#banner-h1 .h1-part {
    min-height: 1.2em; /* 1.2em 大約是一行文字的高度，可依您的設計微調 */
}
.banner-title p {
  line-height: 2.25;
  color: #636363;
  margin: 24px 0;
}

.cursor {
  display: inline-block;
  width: 4px;           
  height: 1.15em; 
  background-color: #222; 
  margin-left: 12px;  
  animation: blink 0.9s infinite; 
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.banner-h2-box {
  display: inline-flex;
  align-items: center;
  margin: 0 auto;
}
.banner-h2-box i {
  font-size: 12px;
  margin: 0 4px;
}
.banner-title h2 {
  font-size: 36px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
  color: #ffffff;
  background-color: #0837AC;
  padding: 16px;
  margin: 0px 8px;
  display: inline-block;

  position: relative;
  box-sizing: border-box;
  border: 2px solid #0837AC; 
  overflow: hidden; 
  outline: 1px solid #ffffff;
  outline-offset: -4px;
}

.banner-title h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  border-left: 1px dashed rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
  pointer-events: none;
}
.banner-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
  pointer-events: none;
}
.banner-title h4 {
  font-size: 22px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 36%;
  color: #e50012;
  margin-bottom: 0px;
}

.scroll-wrapper {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  gap: 12px;  
  z-index: 10;
  cursor: pointer;
}
.scroll-text {
  writing-mode: vertical-rl;          
  font-family: "Noto Serif JP", serif; 
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #777777;   
}
.scroll-track {
  position: relative;
  width: 12px;
  height: 90px;
  overflow: hidden;
}
.scroll-line {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background-color: #777777;
  animation: scrollDrop 2.2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
.scroll-line::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: -5px; 
  width: 1px;
  height: 15px;  
  background-color: #777777;
  transform: rotate(135deg);
  transform-origin: bottom right; 
}
@keyframes scrollDrop {
  0% {
    transform: translateY(-101%);
  }
  40%, 60% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(101%);
  }
}
@media (max-width: 1399px) {
  .banner-img {
    left: -160px;
    width: 350px;
  }
}
@media (max-width: 1199px) {
  .banner-content {
    width: 70%;
    margin: 0 auto;
    height: 600px;
  }
  .banner-content::after {
    height: 600px;
  }
  .banner-title h1 {
    font-size: 76px;
    margin: 20px 0 36px 0;
  }
  .banner-title h2 {
    font-size: 24px;
    margin: 0px 0px;
  }
  .banner-title h4 {
    font-size: 18px;
  }
  .banner-img {
    left: -270px;
    width: 330px;
  }
}
@media (max-width: 991px) {
  .banner-content::after {
    width: 100%;
  }
  .banner-title {
    z-index: 2;
  }
  .banner-title h1 {
    font-size: 80px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    margin: 0 0 20px 0;
  }
  .banner-title p {
    margin: -24px 0 24px 0;
    font-size: 14px;
  }
  .banner-title h1 .color-blue {
    line-height: 0.5;
    margin: 0;
  }
  .scroll-wrapper {
    bottom: -30px;
  }
  .scroll-track {
    height: 60px;
  }
  .scroll-text {
    font-size: 12px;
  }
  .banner-img {
    left: -228px;
    width: 260px;
  }
}
.banner-content-m {
  display: none;
}
@media (max-width: 767px) {
  /* .banner-img {
    width: 280px;
    left: -186px;
  } */
  .banner-content::after {
    width: 150%;
  }
  .banner-title h2 {
    font-size: 20px;
    padding: 12px;
  }
  .banner-h2-box i {
    margin: 0 4px;
  }
  .banner-content {
    display: none;
  }
  .banner-content-m {
    display: block
  }
  .banner-content-m img {
    width: 100%;
  }
}


/* --------------------------- */
/* BANNER */
/* --------------------------- */

/* --------------------------- */
/* PATHWAY */
/* --------------------------- */
.pathway-area {
  padding: 120px 0;
  background-color: #ffffff69;
}
.pathway-card-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  margin: 120px 0;
}
.pathway-card-dec {
  width: 1px;
  height: 100px;
  background-color: #acacac;
  margin: 0 auto;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 2s cubic-bezier(0.23, 1, 0.32, 1);
}
.pathway-card-dec.is-active {
  transform: scaleY(1);
}
.pathway-card-img-box {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  width: 40%
}
.pathway-card-img-box-2 {
  align-items: start;
}
.pathway-card-img-box h2{
  font-size: 108px;
  font-weight: 300;
  font-family: "Noto Serif JP", serif;
  font-style: italic;
  color: #cfcfcf;
}
.pathway-card-img {
  position: relative;
  /* width: 360px;
  height: 240px; */
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.pathway-card-img img {
  width: 480px;
  /* height: 100%; */
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-out;
}
.pathway-card-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a; /* 品牌色或白/黑遮罩 */
  z-index: 2;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.pathway-card-img.is-active::before {
  animation: maskReveal 1.1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.pathway-card-img.is-active img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.3s;
}

@keyframes maskReveal {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }
  50% {
    transform: scaleX(1);
    transform-origin: left center;
  }
  50.1% {
    transform-origin: right center;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right center;
  }
}

.pathway-card-content {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 48px;
}
.pathwayCard-header h4 {
  color: #e50012;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 15%;
}
.pathwayCard-header h2 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  color:#0c0c0c;
  letter-spacing: 10%;
}
.pathwayCard-header p {
  color: #636363;
  font-size: 16px;
  margin: 12px 0 0 0;
}
.pathway-info-list {
  border-left: 2px #cfcfcf solid;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pathway-card-info-item h3 {
  color:#e50012;
  font-size: 20px;
  letter-spacing: 10%;
  margin-bottom: 12px;
  white-space: nowrap;
  font-family: "Noto Serif JP", serif;
}

.pathway-card-info-item h4 {
  color:#0837ac;
  font-size: 16px;
  letter-spacing: 10%;
  margin-bottom: 12px;
  white-space: nowrap;
} 
.pathway-card-info-item p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
} 

@media (max-width: 1299px) {
  .pathway-card-img img {
    width: 360px;
  }
}
@media (max-width: 1299px) {
  .pathway-area {
  padding: 120px 0 80px p;
  }
}
@media (max-width: 991px) {
  .pathway-area {
  padding: 72px 0;
  } 
  .pathway-card-box {
    flex-direction: column;
    margin: 48px 0;
    gap: 0px;
  }
  .pathway-card-box-cr {
    flex-direction: column-reverse;
  }
  .pathway-card-img-box {
    width: 100%;
    margin-top: 48px;
  }
  .pathway-card-img img {
    width: 100%;
    height: 280px;
  }
  .pathway-card-img, .pathway-card-content {
    width: 100%;
  }
  .pathway-card-dec {
    height: 40px;
  }
  .pathway-card-img-box h2 {
    display: none;
  }
}
@media (max-width: 767px) {
.pathway-card-content {
  gap: 32px;
}
 .pathwayCard-header h2 {
 font-size: 24px;
 }
}

@media (max-width: 575px) {
  .pathway-card-content {
    padding: 12px 0;
    gap: 24px;
  }
  .pathwayCard-header h2 {
    line-height: 1.75;
  }
  .pathway-card-info-item h3 {
    font-size: 16px;
    text-wrap: wrap;
    line-height: 1.5;
  }
  .pathway-card-info-item h4 {
    text-wrap: wrap;
  }
  .pathwayCard-header p {
    font-size: 14px;
  }
  .pathway-card-info h2 {
    margin-bottom: 24px;
    text-align: left;
  }
  .pathway-card-info-item {
    gap: 8px;
  }
}
/* --------------------------- */
/* PATHWAY */
/* --------------------------- */

/* --------------------------- */
/* EJU */
/* --------------------------- */
.eju-area {
  padding: 120px 0;
}
.eju-cardBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 60px 0 0 0;
}
.eju-card {
  padding: 48px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  width: 25%;
  background-color: #ffffff;
  min-height: 380px;
}
.eju-card-text {
  text-align: center;
}
.eju-card i {
  font-size: 60px;
  color: #c3c3c3;
}
.eju-card h4 {
  color: #e50012;
  font-size: 22px;
  font-family: "Noto Serif JP", serif;
  margin: 32px 0 16px 0;
  letter-spacing: 5%;
  text-align: center;
}
.eju-card p {
  color: #1c1c1c;
  text-align: center;
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 0;
}
@media (max-width: 1299px) {
  .eju-card h4 {
    font-size: 18px;
  }
}
@media (max-width: 991px) {
  .eju-area {
    padding: 80px 0;
  }
  .eju-cardBox {
    flex-wrap: wrap;
    margin: 28px 0 0 0;
  }
  .eju-card {
    width: 100%;
    min-height: auto;
    flex-direction: row;
    padding: 24px 24px;
  }
  .eju-card i {
    width: 15%;
    text-align: center;
    margin-right: 24px;
  }
  .eju-card-text {
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  .eju-card h4 {
    margin: 0 0 12px 0;
  }
  .eju-card p {
    font-size: 14px;
    text-align: start;
  }
}
@media (max-width: 767px) {
  .step-card p {
      margin: 0 0 24px 0;
  }
}
@media (max-width: 767px) {
   .eju-card i {
    display: none;
   }
   .eju-card-text {
    width: 100%;
   }
}
/* --------------------------- */
/* EJU */
/* --------------------------- */

/* --------------------------- */
/* STEP */
/* --------------------------- */
.step-area {
  min-height: 100vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step-area .chapterTitle {
  margin-top: 120px;
}
.step-box {
  display: flex;
  gap: 12px;
  margin: 60px 0 48px 0;

  width: max-content; 
  flex-wrap: nowrap;
}
.step-card {
  background-color: #ffffff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
  width: 800px;

  flex-shrink: 0;
}
.step-card h3{
  font-size: 32px;
  color: #0837AC;
  margin-bottom: 60px;
  font-family: "Noto Serif JP", serif;
}
.step-card h4 {
  color: #e50012;
  font-size: 14px;
  letter-spacing: 20%;
}
.step-card p {
  font-size: 16px;
  letter-spacing: 10%;
  line-height: 1.75;
}
.step-cta-btn {
  padding: 12px 24px;
  background-color: #e50012;
}
.step-cta-btn a {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
}

@media (max-width: 991px) {
  .step-area .chapterTitle {
    margin-top: 0;
  }
  #step {
    overflow: visible;
  }
  .step-area {
    min-height: auto;
    padding: 60px 0;
    display: block;
  }
  .step-box {
    flex-direction: column;
    width: 100%;
    margin: 32px 0;
  }
  .step-card {
    width: 100%;
    padding: 36px 36px;
  }
  .step-card h3 {
    font-size: 24px;
    margin: 12px 0 20px 0;
    line-height: 1.75;
  }
  .step-card p {
    font-size: 14px;
  }
  .step-cta-btn a {
    font-size: 16px;
  }
}

/* --------------------------- */
/* STEP */
/* --------------------------- */

/* --------------------------- */
/* SCHOOL */
/* --------------------------- */
.school-area {
  padding: 120px 0;
  background-color: #0837AC;
}
@media (max-width: 991px) {
  .school-area {
  padding: 80px 0;
  }
}
 .school-content {
  margin-top: 80px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.school-card-box {
  width: 100%;
  display: flex;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
  break-inside: avoid;
}
.school-card-mark {
  writing-mode: vertical-rl;
  color: #ffffff;
  background-color:#1e92ff;
  letter-spacing: 50%;
}
.school-card-mark p {
  font-size: 14px;
  font-weight: 300;;
  margin: 20px 12px;
}
.school-card-inner {
  background-color: #ffffff;
  padding: 32px 20px 32px 20px;
  display: flex;
  align-items: end;
  width: 100%;
  gap: 20px;
}
.school-card-innerL {
  width: 75%;
}
.school-card-innerR {
  width: 25%;
}
.school-card-header {
  margin-bottom: 32px;
}
.school-card-header p {
  font-size: 14px;
  color: #979797;
  letter-spacing: 20%;
  margin-bottom: 8px;
}
.school-card-header h2 {
  font-size: 26px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 10%;
  margin-bottom: 12px;
  text-align: left;
}
.school-card-header span {
  font-size: 16px;
  padding: 2px 8px;
  background-color: #efefef;
  color: #525252;
  margin-left: 8px;
  display: inline-block;
}
.school-card-body {
  padding: 0 0 0 16px;
  border-left: 1px solid #cacaca;
}
.school-card-body h4 {
  font-size: 14px;
  color: #a8a8a8;
  letter-spacing: 10%;
  margin-bottom: 8px;
}
.school-card-body p {
  font-size: 14px;
}
.school-card-place {
  display: flex;    
  align-items: center;
  gap: 8px;
}
.school-card-place p {
  color: #e50012;
  margin-bottom: 0;
}

.school-card-img {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.school-card-img img {
  width: 100%;
  height: auto;
}
.school-card-info p {
  font-size: 14px;
  padding: 12px 12px;
  background-color: #efefef;
  margin-bottom: 0px;
  letter-spacing: 5%;
}
@media (max-width: 991px) {
  .school-card-inner {
    flex-direction: column;
  }
  .school-card-innerR, .school-card-innerL {
    width: 100%;
  }
  .school-card-img {
    flex-direction: row-reverse;
  }
  .school-card-img img {
  width: calc(50% - .5rem); 
}
}

@media (max-width: 767px) {
  .school-card-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .school-card-inner {
    padding: 20px 16px 20px 16px;
  }
  .school-card-header h2 {
    font-size: 20px;
  }
  .school-card-header {
    margin-bottom: 16px;
  }
  .school-card-body {
    padding: 0 0 0 12px;
  }
  /* .school-card-mark p {
    font-size: 12px;
    margin: 12px 8px;
  } */
  .school-card-body h4 {
    margin-bottom: 4px;
  }
  .school-card-body p {
    font-size: 12px;
    margin-bottom: 12px;
  }
  /* .school-card-info p {
    font-size: 12px;
  } */
}

/* --------------------------- */
/* SCHOOL */
/* --------------------------- */



/* --------------------------- */
/* VIDEO */
/* --------------------------- */
.video-area-1 {
    width: 100%;
    overflow: hidden;
    padding: 120px 0 0 0;
}
.video-area-2 {
    width: 100%;
    overflow: hidden;
    padding: 100px 0 0 0;
}

@media (max-width:767px) {
    .video-area {
        padding: 80px 0 0 0;
    }
}

@media (max-width:991px) {
    .video-content {
      padding-bottom: 60px;
    }
}
@media (max-width:767px) {
    .video-content {
      padding-bottom: 0px;
    }
}

.video {
    height: 500px;
    padding: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: 2px solid #ffffff;
    border-radius: 20px;
}

.video iframe {
    border-radius: 20px;
}

@media (max-width:1199px) {
    .video {
        height: 400px;
    }
}

@media (max-width:767px) {
    .video {
        height: 300px;
        padding: 8px;
    }
}

@media (max-width:575px) {
    .video {
        height: 250px;
    }
}
/* --------------------------- */
/* VIDEO */
/* --------------------------- */

/* --------------------------- */
/* FAQ */
/* --------------------------- */
.faq-area {
  padding: 160px 0;
}
.faq-content {
  margin: 80px auto 0;
}
.faq-title {
  font-size: 28px;
  font-weight: 500;
  margin: 72px 0 24px 0;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 10%;
}
.faq-item {
  background: #ffffff;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

/* 移除預設的小箭頭 */
summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  padding: 0px 22px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none; 
  font-size: 20px;
  margin-bottom: 0;
}
.faq-icon::before {
  content: "＋";
  font-size: 24px;
  color: #e50012;
}
details[open] .faq-icon::before {
  content: "－";
  font-size: 24px;
  color: #e50012;
}

.faq-answer {
  padding: 20px 24px;
  line-height: 1.6;
  letter-spacing: 5%;
  border-top: 1px solid #eee;
  color: #444;
}

.faq-question h4 {
  font-size: 18px;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 10%;
  color: #505050;
  padding: 36px 0;
  margin-bottom: 0px;
}
.faq-question span {
  font-size: 14px;
  color: #0837AC;
  margin-right: 12px;
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: #222222;
  padding: 24px 12px;
}
@media (max-width: 991px) {
  .faq-area {
    padding: 80px 0;
  }
  .faq-question span {
    display: block;
    margin-bottom: 8px;
  }
  .faq-question h4 {
    font-size: 14px;
    padding: 24px 0;
  }
  .faq-answer p {
    font-size: 14px;
    line-height: 1.75;
    padding: 0px;
  }
  details[open] .faq-icon::before, .faq-icon::before {
    font-size: 20px;
  }
}


@media (max-width: 767px) {
  .faq-question {
    font-size: 18px;
    gap: 16px;
  }
  details[open] .faq-icon::before, .faq-icon::before {
    font-size: 14px;
  }
  /* .faq-question h4 {
    font-size: 12px;
  }
  .faq-answer p {
    font-size: 12px;
  } */
}
/* --------------------------- */
/* FAQ */
/* --------------------------- */

/* --------------------------- */
/* WHYJPTIP */
/* --------------------------- */
.whyjptip-area {
  padding: 100px 0;
}
.whyjptip-content-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.whyjptip-card {
  text-align: center;
  padding: 80px 20px;
  width: 33%;
  background-color: #ffffff6b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}
.whyjptip-content-top {
  margin-top: 80px;
}

.whyjptip-content-bottom {
  margin-top: 32px;
}
.whyjptip-content-bottom .whyjptip-card {
  display: flex;
  gap: 32px;
  width: 100%;
  justify-content: center;
  align-items: end;
}
.whyjptip-card h3 {
  font-size: 80px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  color: #e50012;
  letter-spacing: 10%;
}
.whyjptip-card h3 span {
  font-size: 28px;
  color: #525252;
}
.whyjptip-card h4 {
  font-size: 18px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 10%;
  color: #525252;
}
.whyjptip-card p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 5%;
  color: #525252;
}
.whyjptip-content-bottom .whyjptip-card p {
  text-align: start;
}
.whyjptip-card i {
  font-size: 72px;
}
@media (max-width: 991px) {
  .whyjptip-content-top {
    flex-wrap: wrap;
  }
  .whyjptip-card {
    width: 100%;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
  }
  .whyjptip-card h4 {
    margin-bottom: 0px;
  }
  .whyjptip-card p {
    margin-bottom: 0px;
    text-align: left; 
  }
  .whyjptip-content-bottom .whyjptip-card {
    align-items: center;
  }
}
@media (max-width: 767px) {
  .whyjptip-content-top {
    margin: 48px 0 0 0;
  }
  .whyjptip-card h3 {
    font-size: 60px;
  }
  .whyjptip-content-bottom .whyjptip-card {
    flex-wrap: wrap;
  }
  .whyjptip-content-bottom  .whyjptip-card p {
    width: 100%;
    text-align: center;
  }
  .whyjptip-card i {
    font-size: 52px;
  }
}
@media (max-width: 575px) {
  .whyjptip-card {
    flex-wrap: wrap;
    padding: 20px;
    text-align: center;
    gap: 12px;
  }
  .whyjptip-content-bottom .whyjptip-card {
    gap: 12px;
  }
  .whyjptip-card p {
    /* font-size: 12px;     */
    width: 100%;
    text-align: center;
  }
  .whyjptip-card p {
    text-align: center;
  }
}
  
/* --------------------------- */
/* WHYJPTIP */
/* --------------------------- */

/* --------------------------- */
/* ADDONS */
/* --------------------------- */
.addons-area {
  padding: 120px 0;
  background-color: #f5f5f5;
}
.addons-content {
  color: #ffffff;
  text-align: center;
}

@media (max-width: 575px) {
  .eju-content h2, .eju-content h3 {
    line-height: 1.5;
  }
}
.addons-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 48px 0;
}
.addons-box > * + * {
  margin-left: -30px;
}
.addons-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 280px;
  height: 280px;
  border-radius: 160px;
  background-color: #0837AC;
}
.addons-card:nth-child(even) {
  background-color: #092E8B;
}
.addons-card i {
  font-size: 60px;
}
.addons-card h4 {
  font-size: 20px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  color: #ffffff;
  margin: 0 auto;
}
.addons-info h4 {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
  color: #e50012;
  margin: 12px auto 24px auto;
}
.addons-info p {
  text-align: center;
  color: #636363;
  font-size: 16px;
  letter-spacing: 10%;
}

@media (max-width: 1399px) {
  .addons-card {
    width: 220px;
    height: 220px;
  }
  .addons-card i {
    font-size: 48px;
  }
  .addons-card h4 {
    font-size: 18px;
  }
}

@media (max-width: 1099px) {
  .addons-card {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 991px) {
  .addons-area {
    padding: 80px 0;
  }
  .addons-box {
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    
    padding: 20px 10% 40px 10%; 
    
    scrollbar-width: thin; 
    scrollbar-color: #c0c0c0 #e0e0e0; 

    -webkit-mask-image: linear-gradient(
      to right, 
      transparent 0%, 
      black 15%, 
      black 85%, 
      transparent 100%
    );
    mask-image: linear-gradient(
      to right, 
      transparent 0%, 
      black 15%, 
      black 85%, 
      transparent 100%
    );
  }

  .addons-box::-webkit-scrollbar {
    display: block;
    height: 6px;
  }
  .addons-box::-webkit-scrollbar-track {
    background: #e0e0e0; 
    border-radius: 10px;
  }
  .addons-box::-webkit-scrollbar-thumb {
    background: #c0c0c0; 
    border-radius: 10px;
  }
  .addons-card {
    flex-shrink: 0; 
  }
}

@media (max-width: 767px) {
  .addons-info h4 {
    font-size: 16px;
    line-height: 2;
  }
}

@media (max-width: 575px) {
  .addons-info p {
    font-size: 14px;
  }
  .addons-info h4 {
    margin: 12px 0;
  }
}


/* --------------------------- */
/* ADDONS */
/* --------------------------- */


/* --------------------------- */
/* CONTACT */
/* --------------------------- */
.contact-area {
  background-color: #D9D9D9;
  padding: 160px 0;
}
@media (max-width: 991px) {
  .contact-area {
    padding: 80px 0;
  }
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 32px;
}
.contact-img {
  width: 45%;
}
.contact-content img {
  width: 100%;
  height: 100%;
}
.contact-info h2 {
  font-size: 36px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 8%;
  text-align: end;
  margin-bottom: 80px;
}
.contact-info h3 {
  font-size: 32px;
  font-weight: 500;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 10%;
  color: #525252;
  margin-bottom: 32px;
}
.contact-info h4 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 10%;
  color: #1c1c1c;
  line-height: 1.5;
}
.contact-info p {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 10%;
  color: #5c5c5c;
  line-height: 2;
  margin-top: 24px;
}
.contact-btn {
  background-color: #e50012;
  color: #ffffff;
  padding: 12px 20px;
  letter-spacing: 15%;
  display: inline-block;
  margin-top: 12px;
  font-family: "Noto Serif JP", serif;
}
.contact-btn:hover {
  scale: 1.05;
  transition: all 0.3s ease-in-out;
}
@media (max-width:1399px) {
    .contact-info h3{
      font-size: 28px;
    }
}
@media (max-width:1199px) {
    .contact-info h3{
      font-size: 24px;
    }
    .contact-info p {
      font-size: 14px;
    }
}
@media (max-width:991px) {
    .contact-content {
      flex-wrap: wrap;
    }
    .contact-info, .contact-img {
      width: 100%
    }
    .contact-info h4 {
      font-size: 14px;
    }
}



/* --------------------------- */
/* CONTACT */
/* --------------------------- */

/* --------------------------- */
/* LOCATIONS */
/* --------------------------- */
.locations-area {
    padding: 80px 0 0;
    background-color: #2c2c2c;
}
.locations-area a {
  color: #000000;
}

@media (max-width:768px) {
    .locations-area {
        padding: 30px 0 0;
    }
}

.locations-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    font-size: 18px;
    text-align: center;
    margin: 12px;
}
.locations-icon {
  font-size: 36px;
}
.locations-title {
  font-size: 48px;
  font-weight: 500;
  margin-top: 5px;
  color: #525252;
  letter-spacing: 20%;
  font-family: "Noto Serif JP", serif;
}

.locations-address {
  font-size: 14px;
  margin-top: 10px;
}

.locations-traffic {
    margin-top: 5px;
    color: #555;
}

.locations-tel {
    font-size: 30px;
    margin-top: 12px;
}
@media (max-width:768px) {
    .locations-box {
        padding: 20px;
        margin-top: 10px;
    }
    .locations-title {
      font-size: 36px;
    }
    .locations-tel, .locations-traffic, .locations-address {
      font-size: 14px; 
    }
}
/* --------------------------- */
/* LOCATIONS */
/* --------------------------- */

/* --------------------------- */
/* FOOTER */
/* --------------------------- */
.footer {
    background-color: #2c2c2c;
    padding: 40px 0;
    text-align: center;
    color: white;
    font-size: 16px;
}

@media (max-width:768px) {
    .footer {
        padding: 30px;
        padding: 20px 0 80px;
    }
}

/* --------------------------- */
/* FOOTER */
/* --------------------------- */
