@charset "UTF-8";

.menu {
  display: none;
}
#nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  background: linear-gradient(90deg, #EAFFFF 0%, #FEECE6 100%);
  transform: translateY(-100%);
  transition: all 0.6s;
  z-index: 200;
  overflow-y: auto;
}
#nav ul {
  padding: 20px 0;
  margin-bottom: 0;
}
#nav.active {
  right: 0;
  top: 49px;
  opacity: 1;
  -moz-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
  visibility: visible;
  height: 100%;
}
#nav ul li {
  list-style-type: none;
  font-size: 1.2rem;
  background-color: #fff;
  padding: 15px;
  margin-bottom: 10px;
  width: 90%;
  border-radius: 5px;
  margin-left: auto;
  margin-right: auto;
}
#nav ul li a {
  display: block;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  color: #3c3c3c;
}
#nav ul li a:hover {
  color: #bbb;
}
/* kv */
.jumbotron {
  background-image: url(../img/kv.jpg), linear-gradient(180deg, #000 85%, #fff 115%);
  background-repeat: no-repeat;
  background-blend-mode: screen;
  background-size: cover;
  background-position-x: center;
  background-position-y: 30%;
  padding:2rem;
  border-radius: 0;
  margin-bottom: 0;
  margin-top: 60px;
}
.logo {
  position: absolute;
  top: 10px;
  left: 35px;
  z-index: 100;
}
.container-kv{
  width: auto;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 1200px) {
  .container-kv {
    width: 1040px;
  }
}
.pc-navi .col-2{
  padding-left: 5px;
  padding-right: 5px;
}
.pc-navi-bg{
  background: linear-gradient(90deg, #EAFFFF 0%, #FEECE6 100%);
}
.pc-navi .row{
  height: 100px;
}
.pc-navi a{
  color: #3c3c3c;
  text-decoration: none;
  font-weight: 700;
}
/* title border bottom */
.heading {
  position: relative;
  margin-bottom: 4em;
}
.heading:before {
  content: '';
  position: absolute;
  bottom: -30px;
  display: inline-block;
  width: 120px;
  height: 4px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: #0EB5C0;
}
.heading.lpink:before {
  background: #FEECE6;
}
.heading h2 {
  text-align: center;
  line-height: 1.4;
}
.position-ab{
  position: absolute;
  right: 0;
  bottom: -20px;
}
.circle, .circle-l{
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FADD00;
  text-align: center;
  line-height: 60px;
  font-weight: 600;
}
.circle-l {
  width: 100px;
  height: 100px;
  line-height: 100px;
}
.rank span{
  position: absolute;
  left: 5px;
  top: -30px;
}
img.fit {
  object-fit: cover;
  width: 100%;
  height: 180px;
}
.object-position-top{
  object-position: top;
}
.slick-dots {
  text-align: center;
  bottom: -35px;
}
.slick-dots li button:before {
  font-size: 20px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo", sans-serif;
}
.bg-pattern{
  background-image: url(../img/bg-dot.png);
  background-repeat: repeat;
}
.bg-pattern-stripe {
  background-image: url(../img/bg-stripe.png);
  background-repeat: repeat;
}
.bg-staff{
  background-image: url(../img/bg-staff.png);
  background-repeat: no-repeat;
  background-size: cover;
}
#faq.bg-pattern {
  background-color: #F0ECE2;
}

/* アコーディオン type2 */
/*ボックス全体*/
.accbox2 {
  margin: 1em 0 1em;
  border: none;
}
/*ラベル*/
.accbox2 label, .accbox label {
  display: block;
  cursor: pointer;
  transition: all 0.5s;
  position: relative;
}
.accbox label {
  cursor: default;
}
.accbox2 label{
  border-bottom: 2px dotted #091937;
}
.accbox2 h4 {
  margin-top: 0;
  padding-right: 30px;
  text-align: left;
}
.accbox h4 {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
}
/*チェックは隠す*/
.accbox2 input, .accbox input {
  display: none;
}
/*中身を非表示にしておく*/
.accbox2 .accshow {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
}
/*クリックで中身表示*/
.accbox2 .cssacc2:checked + label + .accshow {
  height: auto;
  padding: 15px 0;
  opacity: 1;
}
/*アイコンを表示*/
.accbox2 label:before {
  content: "\f067";
  font-family: "Font Awesome 5 Free";
  float: right;
  font-weight: 600;
  color: #0EB5C0;
  font-size: 1.4rem;
}
/*アイコンを入れ替える*/
.accbox2 .cssacc2:checked + label:before {
  content: "\f068";
}
.accshow div {
  position: relative;
}
.btn {
  font-size: 1.2rem;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: inline-block;
  padding: 1rem;
  border-radius: 50px;
  width: 100%;
  position: relative;
  letter-spacing: normal;
}
.btn.d-block{
  width: auto;
  padding: 1rem 2.5rem;
}
.btn::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(0, -50%) rotate(45deg);
}
.btn span.rounded{
  padding: 2px 5px 4px;
  display: inline-block;
  line-height: 1;
}
.btn span.rounded small{
  font-size: 75%;
  letter-spacing: 3px;
  font-weight: 700;
}
.btn-pink a,
.btn-orange a{
  color: #fff;
  display: block;
  text-decoration: none;
}
.btn-pink {
  background: #FF2C7C;
}
.btn-pink:hover {
  background: #ec2f7c; 
}
.btn-shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

/* どんな学校があるの？ */
.card{
  border: none;
  border-radius: 0;
  background-color: transparent;
}
.card-img,
.card-img-top {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.card p.h6 {
  color: #fff;
  padding: 8px 30px 8px 5px;
  position: absolute; /* relativeの要素を基準にする */
  left: 0; /* 基準からみて左寄せ */
  bottom: 0; /* 基準からみて下寄せ */
  margin-bottom: 0;
  background-image: url(../img/rec1.png);
  background-repeat: none;
  background-position: bottom right;
  width: auto;
}
/* タブメニュー JS */
.tab__menu {
  display: flex;
  align-items: flex-end; /* メニューを下揃え */
  min-height: 30px;
  /* メニュー切替時にタブがズレないように */
  padding: 0;
  margin: 0;
}
.tab__menu-item {
  color: #2b2b2b;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: all .3s;
  padding: 15px;
  background-color: #EEF4F4;
  width: 33%;
  text-align: center;
  margin-right: 10px;
  margin-bottom: 0;
}
.tab__menu-item:last-of-type {
  margin-right: 0px;
}
/* is-activeがついている時のスタイル */
.tab__menu-item.is-active {
  color: #fff;
  background-color: #091937;
  border-bottom: none;
}
/* タブパネル */
.tab__panel {
  width: 100%;
  background-color: #fff;
  padding: 10px;
  border-top: 1px solid #091937;
}
.tab__panel-box {
  padding: 10px 0;
}
.tab__panel-box001, .tab__panel-box002, .tab__panel-box003, .tab__panel-box004, .tab__panel-box005 {
  display: none;
}
/* is-showがついている時のスタイル */
.tab__panel-box.is-show {
  display: block;
}
.balloon-color {
display: flex;
flex-wrap: wrap;
}

/* 吹き出し */
.balloon-color{
  flex-direction: row; /* 左から右に並べる */
}
.chatting-color {
  position: relative;
  display: inline-block; /* 吹き出しが文字幅に合わせます */
  margin:0;
  padding: 10px 10px;
  background: #2BA2A2; 
  text-align: left; /*テキスト左揃え*/
  border-radius: 15px; /*枠の丸みの設定はこちら*/
}
.chatting-color::after {
  content: "";
  border-right: 2px solid transparent;
  border-bottom: 22px solid #2BA2A2;
  border-left: 17px solid transparent;
  position: absolute;
  top: -15px;
  left: 15px;
}
#step dt {
  white-space: nowrap;
  margin-right: 5px;
}
.indent li {
  padding-left: 1em;
  text-indent: -1em;
}
.indent-img li {
  padding-left: 1.5em;
  text-indent: -1.5em;
}

/* footer */
footer {
  font-weight: 400;
}
footer a:hover {
  color: #bbb;
}
footer .footer-content {
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
footer .content {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1320px;
}
footer .content div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
footer .content .fl-right {
  margin-left: auto;
}
@media (max-width: 1110px) {
  .pc-navi {
    line-height: 1.2;
  }
   #merit img.fit {
    height: auto;
  }  
}
@media (max-width: 991px) {
  .jumbotron img.en {
    width: 90px;
  }
  img.position-ab {
    width: 140px;
    bottom: 0;
    right: 0;
  }
}
@media (max-width: 767px) {
  header {
    top: 0;
    background-color: #fff;
    width: 100%;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 1000;
    min-height: 50px;
  }
  #nav{
    padding-bottom: 50px;
  }
  .pc-navi{
    display: none;
  }
  .menu {
    position: fixed;
    right: 10px;
    top: 3px;
    width: 50px;
    height: 50px;
    display: block !important;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
    z-index: 10;
  }
  .menu:focus {
    outline: none;
  }
  .menu,
  .menu span {
    display: inline-block;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    box-sizing: border-box;
    z-index: 201;
  }
  .menu span {
    position: absolute;
    left: 12px;
    width: 26px;
    height: 2px;
    background-color: #3C3C3C;
    transition: all 0.6s;
  }
  .menu span:nth-of-type(1) {
    top: 14px;
  }
  .menu span:nth-of-type(2) {
    top: 24px;
  }
  .menu span:nth-of-type(3) {
    top: 34px;
  }
  .menu.active span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 20px;
  }
  .menu.active span:nth-of-type(2) {
    width: 0;
    left: 50%;
  }
  .menu.active span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 20px;
  }
  /* .jumbotron {
    padding: 90px 0 120px;
  } */
   h1{
    font-size: 1.3rem;
   }
  .jumbotron .h4{
    font-size: 1.1rem;
   }
  .jumbotron{
    background: url(../img/kv-s.jpg) top center no-repeat;
    padding: 1rem 0;
    background-size: contain;
    background-position: top;
    margin-top: 50px;
  }
  .jumbotron .container-kv{
    padding-right: 0;
    padding-left: 0;
  }
  .jumbotron .container-box {
    padding-right: 20px;
    padding-left: 20px;
  }
  .jumbotron .h5.txt-sky {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  .jumbotron .bg-beige{
    padding: 0;
  }
  .jumbotron .bg-beige .row {
    margin-right: 0;
    margin-left: 0;
  }
  .anc {
    font-size: .9rem;
  }
  .indent-img li {
    padding-left: 2em;
    text-indent: -2em;
  }
  .container-kv{
    width: 100%;
  }
  .heading{
    margin-bottom: 3em;
  }
  .heading:before {
    bottom: -20px;
    width: 85px;
  }
  .card p.h6 {
    padding: 8px 25px 8px 5px;
  }
  img.fit{
    height: 120px;
  }
  .slide-detail h5{
    font-size: 1rem;
  }
  .slide-detail .h6{
    font-size: .8rem;
  }
  /* アコーディオン スマホ以下 中高留学の魅力*/
  /*ボックス全体*/
  .accbox {
    margin: 15px 0 0;
    border: none;
    background-color: #fff;
  }
  /*ラベル*/
  .accbox label {
    display: block;
    cursor: pointer;
    transition: all 0.5s;
    position: relative;
  }
  .accbox h4 {
    margin-top: 0;
    margin-bottom: 0;
    text-align:left;
    padding-bottom: 2rem;
  }
  /*チェックは隠す*/
  .accbox input {
    display: none;
  }
  /*中身を非表示にしておく*/
  .accbox .accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
  }
  /*クリックで中身表示*/
  .accbox .cssacc2:checked+label+.accshow {
    height: auto;
    padding: 15px 0 0;
    opacity: 1;
  }
  /*アイコンを表示*/
  .accbox label:before {
    content: "\f067";
    font-family: "Font Awesome 5 Free";
    float: right;
    padding-right: 10px;
    padding-top: 10px;
    font-weight: 600;
    color: #fff;
    font-size: 1.4rem;
  }
  /*アイコンを入れ替える*/
  .accbox .cssacc2:checked+label:before {
    content: "\f068";
  }
  .logo {
    top: 8px;
    left: 10px;
    width: 160px;
  }
  h4.h5{
    font-size:calc(1.275rem + .3vw) ;
    line-height: 1.4;
  }
  #faq h4.h5 {
    font-size: 1.25rem;
  }
  .accbox2 h4 {
    padding-right: 15px;
  }
  .accbox2 .cssacc2:checked + label + .accshow {
    padding: 10px 0;
  }
  .btn span.rounded {
    padding: 2px 6px 6px;
    display: inline-block;
  }
  .circle-l {
    width: 85px;
    height: 85px;
    line-height: 85px;
  }
  .rank span {
    position: absolute;
    left: 5px;
    top: -20px;
  }
}
@media screen and (min-width:715px) and (max-width:767px) {
  .jumbotron {
    background-size: cover;
  }
}
@media (max-width: 575px) {
  .jumbotron img.en {
    width: 77px;
  }
  .logo {
    width: 140px;
  }
  .accbox2{
    padding:0 .8rem;
  }
  .accbox2 label:before {
    padding-top: 10px;
  }
  .accbox2 .cssacc2:checked + label + .accshow {
    padding: 10px 0;
  }
  nav .btn-pink {
    width: 85%;
  }
  .btn::after{
    right: 17px;
  }
  .btn-pink {
    padding: 10px 15px 10px 15px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .btn span.rounded {
    padding: 2px 6px 4px;
  }
  .btn span.rounded small {
    letter-spacing: 2px;
  }
  footer .content {
    display: block;
  }
  .tab__menu-item{
    padding: 8px;
  }
  #step h3.h4{
    font-size: 1.15rem;
  }
  #step h4 {
    font-size: 1.2rem;
  }
  .p-2-xs{
    padding: .5rem !important;
  }
  .slick-dots {
    bottom: -25px;
  }
}
