body {
  font-family: "Open Sans", "Noto Sans JP", "Noto Sans SC", sans-serif;
 
}

/*body p {
  font-size: 16px;
  line-height: 1.7 !important;
  display: block;
}*/

html:lang(ja) body {
  font-family: "Noto Sans JP", sans-serif;
}

html:lang(ja) h3 {
  font-weight: 400;
}

html:lang(ja) p {
  font-weight: 400;
}

html:lang(zh-CN) body {
  font-family: "Noto Sans SC", sans-serif;
}

html:lang(zh-CN) h3 {
  font-weight: 400;
}

html:lang(zh-CN) p {
  font-weight: 400;
}

/* header {
  height: 120px;
  border: 3px solid black;
}
footer {
  height: 294px;
  border: 3px solid black;
} */

.home-container {
  clear: both;
  max-width: 767px;
  width: 96%;
  margin: 0 auto;
}
.home-image-section {
  position: relative;
  margin-bottom: 0;
}
.home-top-photos img {
  width: 100%;
  display: block;
}

.home-section-heading {
  margin-top: 60px;
  margin-bottom: 25px;
  color: #374ea2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.home-section-heading#news-header {
  margin-top: 0;
  position: relative;
  z-index: 0;
}
.home-section-heading .home-line {
  flex: 1;
  height: 9px;
  background-color: #374ea2;
  border: 20px;
}

.home-section-heading .home-title {
  font-family: "Open Sans";
  font-size: 24px;
  font-weight: 10;
}

.home-news-section {
  margin-top: 40px;
  position: relative;
  z-index: 0;
}

.home-vline {
  display: inline-block;
  width: 6px;
  height: 40px;
  background-color: #374ea2;
}

.home-c-news {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 30px;
}

.home-news-content {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0px;
  text-align: center;
  align-items: center;
  margin-bottom: 20px;
   width: fit-content;
  color: #333;
}
.home-news-content:hover {
  color: #333;
  text-decoration: none;
  opacity: .8;
  transition: all .3s;
}

.home-news-content > *:nth-child(2) {
  margin-left: 10px;
  margin-right: 20px;
}

.home-date {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  line-height: 1;
}

.home-day {
  font-size: 20px;
}

.home-month {
  font-size: 12px;
}

.home-title-desc .home-title {
  font-size: 16px;
  text-align: left;
}

.home-btn-wrapper .home-news-btn {
  display: block;
  margin: 0 auto;
}

.home-news-btn {
  background-color: #374ea2;
  color: white;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  width: 120px;
  height: 40px;
}
.home-news-btn:hover {
  background-color: #2c2e8e;
  transition: all .3s;
}

.home-course {
  display: flex;
  flex-direction: column;
  /* width: 200px; */
  width: 100%;
  margin-bottom: 10px;
  color: #333;
}

.home-course:hover {
  color: #333;
  text-decoration: none;
  opacity: .8;
  transition: all .3s;
}

.home-course-photos {
  display: block;
  line-height: 0;
}
.home-course-photos img {
  width: 100%;
  height: auto
}

.home-course h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 0;
  text-align: center;
  margin-bottom: 10px;
}

.home-course h3 {
  font-size: 16px;
  font-weight: lighter;
  display: block;
  text-align: center;
  margin-bottom: 16px;
  margin-top: 0;
}

.home-course p {
  margin: 0;
  font-weight: lighter;
  flex: 1;
}
.home-course-desc {
  box-sizing: border-box;
  width: 100%;
  background-color: #cdd6dd;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-course-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.youtube-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
  }

  .home-strength-top  {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin-top: 10px;
  }


.home-strength-section .home-section-heading .home-title {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 14px;
}

#pbt {
  font-weight: bold;
  font-size: 24px;
}

.home-strength {
  display: flex;
  flex-wrap: wrap;
  overflow-x:visible;
  -webkit-overflow-scrolling: touch;
  gap: 10px;
  width: 100%;
}

.home-strength-1,
.home-strength-2,
.home-strength-3 {
  box-sizing: border-box;
  width: 100%;
  margin-top: 20px;
  border: 3px solid #374ea2;
  display: flex;
  flex: 1 1 380px;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 0px 10px;
}

.home-strength-header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100px;
}

.home-strength h2 {
  /* font-weight: bold; */
  font-size: 54px;
  color: #374ea2;
  padding: 0;
  margin: 0;
}

.home-strength h3 {
  font-weight: bold;
  font-size: 18px;
  color: #374ea2;
  line-height: 1.2;
}

.home-strength p {
  margin-top: 16px;
  font-weight: lighter;
  color: #374ea2;
  margin-bottom: 16px;
}
.home-strength-photos {
  margin-top: 8px;
}
.home-strength-photos img {
  display: block;
  width: 100%;
  height: auto;
}

.home-voice-section .home-section-heading .home-title {
  color: #374ea2;
  white-space: nowrap;
}

.home-voice-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 20px;
  overflow-x: auto;
  margin-bottom: 40px;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
}

.home-voice-desc {
  background-color: #374ea2;
  color: #fff;
  text-align: center;
  gap: 12px;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  flex: 1; 
  display: flex;
  flex-direction: column; 
}

.home-voice-card {
  flex: 0 0 auto;
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  text-align: center;
}

.home-voice-card:hover {
  text-decoration: none;
  opacity: .8;
  transition: all .3s;
}

.home-voice-card img {
  width: 100%;
  height: 120px;
  display: block;
}

.home-voice-card .home-icon {
  position: absolute;
  top: 60px;
  left: 20px;
  width: 40px;
  height: 40px;
}

.home-voice-card .home-icon img {
  width: 100%;
  object-fit: contain;
  display: block;
}

.home-voice-card h2 {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

.home-voice-card p {
  color: white;
  text-align: left;
  flex: 1;
}

.fb-post {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.home-banner-container {
  margin-top: 100px;
  margin-bottom: 100px;
}

.home-banner-container img {
  width: 100%;
  height: auto;
}
.home-banner-container a:hover {
  opacity: .75;
  transition: all .3s;
}

.home-sticky-sidebar {
  position: absolute; 
  top: auto; 
  right: 0;
  z-index: 1000;
  width: fit-content;
  margin: 0;
  margin-top: 20px;  
}

.home-sticky-sidebar.is-sticky {
  position: fixed;
  top: 120px;
}

@media screen and (max-width: 767px) {
  .home-sticky-sidebar {
    position: absolute;
    right: 10px;
  }
  
  .home-sticky-sidebar.is-sticky {
    top: auto;
    bottom: 20px;
    right: 10px;
  }
}

{* .home-sticky-sidebar {
  position: sticky;
  top: 100px;
  z-index: 1;
  width: fit-content;
  margin: 0 0 0 auto;
} *}

.home-sticky-sidebar .home-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95px;      
  height: 95px;     
  background-color: #334ea2;
  box-sizing: border-box;
  padding: 10px;     
  margin-bottom: 16px; 
}

.home-sticky-sidebar .home-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 4px;      
}

.home-sticky-sidebar .home-card p {
  margin: 0;
  margin-top: auto;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

html:lang(ja) .home-sticky-sidebar .home-card p {
  font-size: 12px;
}

.home-sticky-sidebar a.home-application {
  background-color: #ffffff;
  border: 2px solid #374ea2;
}
.home-sticky-sidebar a.home-application p {
  color: #374ea2;
}

.home-sticky {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.home-sticky-sidebar a {
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width:767px){
  /* .home-sticky-sidebar { display: none; } */
.home-sticky-sidebar a:nth-of-type(2) {
  display: none;
}

 

}

@media screen and (min-width: 767px) {
  .home-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* header {
    height: 182px;
    border: 3px solid black;
  }
  footer {
    height: 440px;
    border: 3px solid black;
  } */
   
  .home-news-section {
	margin-top: 60px;
  	padding-bottom: 20px;
    position: relative;
  	z-index: 0;

}

  .home-top-photos img {
    width: 100%;
    height: auto;
    /* object-fit: cover; */
    margin-bottom: 30px;
  }
  .home-section-heading {
    gap: 30px;
    margin-top: 100px;
    margin-bottom: 50px;
  }

  .home-section-heading .home-title {
    font-family: "Open Sans";
    font-size: 40px;
    font-weight: 10;
  }

  .home-strength {
    flex-wrap: nowrap;
  }

   .br-sp {
    display: none;
  }

  .home-strength-section .home-section-heading .home-title {
    font-family: "Open Sans";
    font-size: 40px;
    font-weight: 10;
  }
  

  .home-section-heading#news-header {
    margin-top: 0;
    position: relative;
    z-index: 0;
  }
  a.home-btn-wrapper {
    text-decoration: none;
  }

  .home-c-news {
    padding:0 30px;
    margin-bottom: 50px;
  }

  .home-title-desc .home-title {
    font-size: 20px;
  }

  .home-news-content {
    margin: 15px 0 15px 0;
    
  }

  .home-day {
    font-size: 24px;
  }

  .home-month {
    font-size: 16px;
  }

  .home-news-btn {
    padding: 10px 20px;
    border-radius: 60px;
    font-size: 16px;
    width: 140px;
    height: 60px;
  }

  .home-course {
    flex: 1 1 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    box-sizing: border-box;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
  }

  .home-course h2 {
    font-size: 24px;
  }

  .home-course h3 {
    font-size: 18px;
  }

  /* .home-course p {
    font-size: 16px;
  } */

  .home-course-container {
      justify-content: space-between;
      align-items: stretch;
  }
  /* .home-course-container > .home-course:nth-child(2n) {
    margin-top: 20px;
  } */

  .home-strength-1,
  .home-strength-2,
  .home-strength-3 {
    border: 3px solid #374ea2;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0px 20px;
  }

  html:lang(zh-CN) .home-strength-3 {
     padding: 0px 10px;
  }

  .home-strength h2 {
    font-size: 74px;
    padding: 0;
    margin: 0;
  }

  .home-strength h3 {
    font-size: 20px;
  }

   html:lang(ja) .home-strength h3 {
    font-size: 18px;
  }

   html:lang(zh-CN) .home-strength h3 {
    font-size: 18px;
  }

  .home-strength p {
    font-size: 16px;
  }

  .home-strength-photos img {
    width: 100%;
    height: 200px;
  }

  #pbt {
    font-weight: bold;
    font-size: 40px;
  }

  .home-voice-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    margin-bottom: 50px;
    width: 100%;
    align-items: stretch;
  }

  .home-voice-card {
    flex: 1 1 350px;
    max-width: 350px;
    box-sizing: border-box;
    display: flex; 
    flex-direction: column;
  }

  .home-voice-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  
  .home-voice-card h2 {
    font-size: 20px;
  }
  .home-voice-card p {
    margin-top: 8px;
  }

  .home-voice-card .home-icon {
    position: absolute;
    top: 95px;
    left: 20px;
    width: 40px;
    height: 40px;
  }

  .home-banner-container {
    margin-top: 100px;
    margin-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .home-banner-container img {
    width: 500px;
    height: 200px;
  }

  .home-sticky-sidebar .home-card {

  width: 150px;
  height: 150px;
}

.home-sticky-sidebar .home-card p {
  font-size: 16px;
}


}