.header{
  /* background-image: url("../img/header_new.png");
     background-size: contain;
     background-repeat: no-repeat;
     background-position: center; */
  background-color: #fff6e5;
  /* padding: 3rem 0; */
  color: #b63d3d;
}

.header .subtitle {
  margin-top: -4%;
  font-size: 1.7vw;
  font-weight: bold;
}

.header .btn {
}

.header .btn {
  background-color: #3a699f;
  font-size: 70%;
  max-width: 240px;
  height: 100%;
  border-radius: 0.5em 0.5em 0 0;
  margin-left: 10px;
  line-height: 1.7;
  border: 2px solid #cdcdcd;
}

.header h1 {
  display: inline-block;
  top: 0;
  bottom: 0;
  margin: auto;
  padding-right: 40%;
  color: #fff;
  font-size: 3rem;
}

.header h2 {
  display: inline-block;
  top: 0;
  bottom: 0;
  margin: auto;
  padding-right: 40%;
  color: #fff;
  font-size: 3rem;
}

h2.title {
  text-align: center;
  padding: 30px;
  color: #fff;
  background-color: #b63d3d;
}

.contact .btn,
#contact .btn{
  background-color: #FFa717;
  border-radius: 20px;
  width: 200px;
}

.contact{
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
  background-color: #b63d3d;
  padding: 2rem 0;
}

.howto {
  font-weight: bold;
  font-size: 18px;
  color: #fff;
}

.seminar-logo img {
  max-height: 40px;
}

.news-category {
  min-width: 80px;
}

.news {
  background-color: #0e63fd!important;
}

.seminar {
  background-color: #fd7e14!important;
}

.ques {
  background-color: #e1101e!important;
}

.card-1-text{
  color: #2db6fa;
}

.card-1-button{
  background-color: #2db6fa;
  color: white;
}

.card-1-border{
  border-color: #2db6fa;
}

.card-2-text{
  color: #f68c09;
}

.card-2-button{
  background-color: #f68c09;
  color: white;
}

.card-2-border{
  border-color: #f68c09;
}

.card-3-text{
  color: #08da4e;
}

.card-3-button{
  background-color: #08da4e;
  color: white;
}

.card-3-border{
  border-color: #08da4e;
}

.card-4-text{
  color: #e9222c;
}

.card-4-button{
  background-color: #e9222c;
  color: white;
}

.card-4-border{
  border-color: #e9222c;
}

.card-5-text{
  color: #b50edf;
}

.card-5-button{
  background-color: #b50edf;
  color: white;
}

.card-5-border{
  border-color: #b50edf;
}

.card-6-text{
  color: #f51f9c;
}

.card-6-button{
  background-color: #f51f9c;
  color: white;
}

.card-6-border{
  border-color: #f51f9c;
}

.card-1-border,
.card-2-border,
.card-3-border,
.card-4-border,
.card-5-border,
.card-6-border {
  border-radius: 1rem;
}

#guide-purpose .btn {
  width: 75%;
}

#guide .learning {
  display: block;
  text-decoration: none;
  padding: 0.3em 0.1em;
  margin: 1em auto;
  color: #FFF;
  background: #6bcef2;
  /* height: 175px; */
  width: 300px;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
}
#guide .learning:hover {
  color: #004D85;
}

#guide-speaking .modeltool {
  display: inline-block;
  text-decoration: none;
  padding: 0.3em 0.1em;
  margin: 1em auto;
  color: #FFF;
  background: #b63d3d;
  /* height: 175px; */
  width: 200px;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
}
#guide-speaking .modeltool:hover {
  color: #000;
}
#guide-speaking .modelbox {
  padding-top: 18px;
  font-size: 22px;
}
#guide-speaking .mb1 {
  background: #f18d8d;
}
#guide-speaking .mb2 {
  background: #e86666;
}
#guide-speaking .mb3 {
  background: #f63333;
}
#guide-speaking .mb4 {
  background: #cb2121;
}

#guide-toeic .ico {
  display: inline-block;
  position: relative;
  margin: auto;
}
#guide-toeic .sp-ico {
  width: 5%;
}
#guide-toeic .pc-ico {
  width: 8%;
}
#guide-toeic .ico img {
  width: 100%;
}

#video .category {
  text-align: center;
  padding: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  background-color: #00afaa;
  max-height: 50px;
}

.desc {
  font-size: 20px;
}

.conditions-wrapper {
  padding: 0 5rem;
}

.justify {
  display: flex;
  justify-content: space-between;
}

ul {
  padding: 0;
  position: relative;
}

ul li {
  list-style-type: none!important;
}

.video_play {
  display: inline-block;
  position: relative;
  width: 1.2rem;
  height: 1rem;
  border: 0.05em solid currentColor;
  border-radius: 20%;
  color: #000;
  vertical-align: middle;
  margin-right: 0.2em;
}

.video_play::before {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translateY(-50%);
  width: 0px;
  height: 0px;
  border: 0.3em solid transparent;
  border-left: 0.5em solid currentColor;
  box-sizing: border-box;
  content: "";
}

.video_play2 {
  display: inline-block;
  position: relative;
  width: 3rem;
  height: 3rem;
  /* border: 0.05em solid currentColor; */
  border-radius: 50%;
  color: #fff;
  background-color: #717273;
  vertical-align: middle;
  /* margin-right: 0.5em; */
  margin: 0.5rem;
}

.video_play2::before {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translateY(-50%);
  width: 0px;
  height: 0px;
  border: 0.5em solid transparent;
  border-left: 1em solid currentColor;
  box-sizing: border-box;
  content: "";
}

.orien li {
  background-color: #ffcfd1;
  border-radius: 2em;
  width: 100%;
  margin: 10px;
  padding-left: 3%;
}

.orien a {
  font-size: 24px;
  text-decoration: none;
  color: #000;
  vertical-align: middle;
}

.dli-feed {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  position: relative;
  width: 0.9em;
  height: 1em;
  border: 0.1em solid currentColor;
  border-radius: 0.2em;
  box-sizing: content-box;
  margin-right: 0.3em;
}

.dli-feed::before, .dli-feed::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  height: 0.1em;
  background: currentColor;
  border-radius: 0.1em;
}

.dli-feed::before {
  width: 70%;
  box-shadow: 0 0.25em 0 0 currentColor;
}

.dli-feed::after {
  margin-top: 0.5em;
  width: 45%;
}

.modelbox {
  display: block;
  text-decoration: none;
  padding: 0.3em 0.1em;
  margin: 1em auto;
  color: #FFF;
  background: #6bcef2;
  height: 175px;
  width: 180px;
  font-size: 36px;
  line-height: 1;
  text-align: center;
  /* border-bottom: solid 6px #3f87ce; */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
  border-radius: 30px;
}
.modelbox p {
  margin-top: 30px;
  font-size: 22px;
}

#guide-speaking .modelbox p {
  margin-top: 15px;
  font-size: 22px;
}
#guide-speaking .modelbox div {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: bold;
  color: #000;
}

ul.useful {
  width: 90%;
  margin: 0 auto;
}

.useful li {
  font-size: 22px;
}

.m-toeic img {
  width: 30%;
  margin: 0 50px;
}

.note {
  font-weight: normal;
  font-size:20px;
}

.w-booco {
  width: 10vw;
}

.annotation {
  font-weight: bold;
  font-size: 0.8rem;
  color: #f00;
}

@media screen and (max-width: 960px) {
  .w-booco {
    width: 15vw;
  }
}

@media screen and (max-width: 767px) {
  .header h1 {
    font-size: 1.5rem;
    padding-right: 0;
  }

  .header h2 {
    font-size: 1.5rem;
    padding-right: 0;
  }

  h3 {
    font-size: 1rem;
  }

  .howto {
    font-size: 16px;
  }

  .seminar-logo {
    margin-top: 20px;
    font-size: 20px;
  }

  .seminar-logo img {
    max-height: 30px;
  }

  .news-category{
    min-width: 50px;
  }

  .header{
    background-position: top;
    font-size: 70%;
    /* padding: 1rem; */
  }

  .header .btn{
    font-size: 90%;
    max-width: 130px;
    border-radius: 1.1em 1.1em 0 0;
  }

  #lineup .card-img-top span{
    font-size: 70%;
  }

  #guide-purpose .btn {
    font-size: 90%;
    width: 100%;
  }

  .conditions-wrapper {
    padding: 0;
  }

  .video_play2 {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0.5rem;
  }

  .video_play2::before {
    border-left: 0.6em solid currentColor;
  }

  .orien li {
    border-radius: 2em;
    margin: 5px;
    padding-left: 1%;
  }

  .orien a {
    font-size: 12px;
  }

  #guide-speaking .modelbox {
    font-size: 18px;
  }

  #guide-speaking .modelbox p {
    font-size: 18px;
  }

  .modelbox {
    margin: 0;
    height: 150px;
    width: 160px;
    font-size: 30px;
  }

  .modelbox p {
    font-size: 18px;
  }

  ul.useful {
    width: 100%;
  }

  .useful li {
    font-size: 18px;
  }

  .m-toeic img {
    width: 100%;
    margin: 0 10px;
  }

  div.m-toeic {
    margin-top: -20px;
  }

  #video .category {
    padding: 6px;
    font-size: 14px;
    font-weight: bold;
    max-height: 40px;
  }

  .desc {
    font-size: 12px;
  }

  .note {
    font-size:12px;
  }
}

/* ページリンクボタン */
button {
  padding: 0;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

/* ボタンのスタイル */
.buttonOutline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 250px;
  height: 48px;
  padding: 8px auto;
  font-family: sans-serif;
  font-size: 16px;
  color: #353535;
  text-align: center;
  overflow-wrap: anywhere;
  background-color: transparent;
  border: 3px solid #cdcdcd;
  text-decoration: none;
  margin: 10px;
  border-radius: 0.5em;
  box-shadow: 0 0 8px rgba(0, 0, 0, .16);
}

.buttonOutline2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 250px;
  height: 48px;
  padding: 8px auto;
  font-family: sans-serif;
  font-size: 16px;
  color: #353535;
  text-align: center;
  overflow-wrap: anywhere;
  background-color: #b63d3d;
  color: #fff;
  text-decoration: none;
  margin: 10px 10px 10px 0;
}

.buttonRound {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  padding: 2px;
  font-family: sans-serif;
  font-size: 16px;
  color: #000;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  background-color: #f9da82;
  border-radius: 27px;
  line-height: 1;
}

.videoType label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  padding: 2px;
  font-family: sans-serif;
  font-size: 14px;
  color: #000;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  background-color: #f9da82;
  border-radius: 27px;
  line-height: 1;
  cursor: pointer;
}
.videoType input:checked+label{
  background-color: #1a720d;
  color: #FFF;
}
.videoType input {
  display: none;
}

.videoLabel {
  position: relative;
  display: none;
  padding: 0 3px 0 7px;
  margin-right: 3px;
  color: #fff;
  border-radius: 100vh 0 0 100vh;
  background: #fa4141;
  font-size: 12px;
}

/* .videoLabel:before {
   position: absolute;
   top: calc(50% - 5px);
   left: 2px;
   width: 10px;
   height: 10px;
   content: '';
   border-radius: 50%;
   background: #fff;
   } */

@media (any-hover: hover) {
}

.nav {
  width: 100%;
  margin-right: auto;
}

@media (any-hover: hover) {
  .buttonOutline {
    transition: background-color 0.2s;
  }

  .buttonOutline:hover {
    color: #fff;
    background-color: #004D85;
  }

  .buttonOutline2:hover {
    color: #000;
  }

  .videoType label {
    transition: background-color 0.2s;
  }

  .videoType label:hover {
    font-weight: bold;
    background-color: #ffd321;
  }
}

@media screen and (max-width: 767px) {
  .buttonOutline {
    font-size: 12px;
    max-width: 90px;
  }

  .buttonOutline2 {
    font-size: 12px;
    max-width: 150px;
  }

  .videoType label {
    min-height: 25px;
    font-size: 9px;
  }
}
/* カード */
.l-wrapper {
  margin: 1rem auto;
}

.l-wrapper:hover {
  transform: translateY(-3px);
  /* box-shadow: 0 7px 14px rgba(50,50,93,.1), 0 3px 6px rgba(0,0,0,.08); */
  transition: all .5s;
}

.cards {
  background-color: #004D85;
  box-shadow: 0 0 8px rgba(0, 0, 0, .16);
  color: #fff;
  text-decoration: none;
  border-radius: 0.5em;
}

.cards__header {
  /* display: flex;
     flex-wrap: wrap; */
  display: table;
  height: 80px;
  width: 100%;
}

.cards__title {
  display: table-cell;
  /* padding: 1rem 1.5rem 0; */
  font-size: 0.9rem;
  order: 1;
  /* margin-bottom: 0.6rem; */
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
}

.cards__text {
  display: table-cell;
  font-size: .8rem;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  padding-bottom: 0;
}

.cards__text + .cards__text {
  margin-top: .5rem;
}

.cards__footer {
  background-color: #fff;
  color: #212121;
  padding: 1rem;
  border-top: 1px solid #ddd;
  display: table;
  height: 100px;
  width: 100%;
}

.copy {
  background-color: #fbf2d6;
  padding-top: 0.4rem;
  border-top: 0;
  font-size: 1rem;
  text-align: left;
  vertical-align: top;
  min-height: 175px;
}

.tile {
  display: block;
  text-decoration: none;
  transition: background-color .3s ease-in-out;
  text-align: center;
}

.tile a {
  text-decoration: none;
}

.tile.-compact {
  /* padding: .5rem 1rem; */
  border-radius: .25rem;
  /* background-color: #4f96f6; */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.tile.-compact:hover,
.tile.-compact:focus {
  /* background-color: #6bb6ff; */
}

.youtube {
  background-color: #fbf2d6;
  width: 100%;
  aspect-ratio: 16/9;
}

/*--------------------------------------------------------------
   # Services
   --------------------------------------------------------------*/
.services {
  /* background: #FFF6E5; */
}
.services .service-box {
  background: #fff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: block;
  height: 100%;
  padding: 0 10px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 10px 10px 0 0;
}
.services .img {
  max-width: 781px;
  margin: 0 auto;
}
.services .img img {
  width: 100%;
}
.services .bg-gray {
  background: #EAEAEA;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  padding: 42px 37px 37px 53px;
  max-width: 1247px;
  width: 100%;
  margin: auto;
}
.services .bg-gray .text-wrap {
  margin-right: 56px;
  width: calc(100% - 502px);
}
.services .bg-gray .title {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.40625;
}
.services .bg-gray .title .red {
  color: #B63D3D;
}
.services .bg-gray .text {
  font-size: 20px;
  line-height: 1.5;
  margin-top: 23px;
  padding: 0 20px;
}
.services .bg-gray .img {
  width: 446px;
}
@media screen and (max-width: 995px) {
  .services .bg-gray {
    flex-direction: column;
  }
  .services .bg-gray .text-wrap {
    margin-right: 0;
    margin-bottom: 30px;
    width: 100%;
  }
  .services .bg-gray .img {
    width: 100%;
  }
}
@media screen and (max-width: 992px) {
  .services .text-center + .img {
    overflow-x: scroll;
    max-width: inherit;
  }
  .services .text-center + .img img {
    width: 700px;
  }
}
@media screen and (max-width: 767px) {
  #services .col-6 {
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 53px);
    margin-top: 26px;
  }
  .services .service-box {
    border-radius: 7px;
  }
  .services .bg-gray {
    flex-direction: column;
    padding: 20px 15px;
  }
  .services .bg-gray .text-wrap {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
  }
  .services .bg-gray .title {
    font-size: 20px;
  }
  .services .bg-gray .text {
    font-size: 16px;
    margin-top: 15px;
    padding: 0;
  }
  .services .bg-gray .img {
    width: 100%;
  }
}

.services .service-box .stitle {
  padding: 0 30px 0;
}
.services .service-box .title {
  border-radius: 10px 10px 0 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 23px 15px 22px;
  text-align: center;
  position: relative;
  margin-left: -40px;
  width: calc(100% + 80px);
}
.services .service-box .title .ico {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  margin: auto;
  height: 55px;
  width: 55px;
}
.services .service-box .title .ico img {
  width: 100%;
}
.services .service-box h3 {
  color: #000;
  font-size: 1.875rem;
  font-weight: 700;
}
.services .service-box p {
  color: #000;
  max-width: 340px;
  margin: 0 auto 22px;
}
.services .service-box .btn {
  border-radius: 8px;
  color: #fff;
  display: block;
  font-size: 1rem;
  font-weight: bold;
  padding: 7px 25px;
  max-width: 167px;
  margin: auto;
}
.services .service-box .btn:hover {
  color: #000;
}
.services .service-box .img {
  max-width: 204px;
  margin: 26px auto 36px;
}
.services .service-box .img img {
  width: 100%;
}

@media screen and (min-width: 1200px) {
  .services .service-box .title {
    padding-left: 60px;
  }
}
@media screen and (min-width: 992px) {
  .services .service-box .title {
    text-align: left;
    padding-left: 80px;
  }
}
@media screen and (min-width: 768px) {
  .services .service-box .title {
    padding-left: 80px;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .services .service-box .stitle {
    padding: 0;
  }
  .services .service-box {
    padding: 0 10px 15px;
  }
  .services .service-box h3 {
    font-size: 0.8rem;
  }
  .services .service-box .title {
    border-radius: 7px 7px 0 0;
    font-size: 0.8rem;
    padding: 10px 5px 9px 45px;
    margin-left: -10px;
    text-align: left;
    letter-spacing: 0.05em;
    width: calc(100% + 20px);
  }
  .services .service-box .title .ico {
    left: 10px;
    height: 25px;
    width: 25px;
  }
}


.services .service-box.green .title {
  background: #00AFAA;
}
.services .service-box.green .btn {
  background: #00AFAA;
}

.services .service-box.yellow .title {
  background: #E8CE4C;
}
.services .service-box.yellow .btn {
  background: #E8CE4C;
}

.services .service-box.pink .title {
  background: #DE5C74;
}
.services .service-box.pink .btn {
  background: #DE5C74;
}

.services .service-box.purple .title {
  background: #A07CEE;
}
.services .service-box.purple .btn {
  background: #A07CEE;
}

.services .service-box.blue .title {
  background: #36AAD4;
}
.services .service-box.blue .btn {
  background: #36AAD4;
}

.services .service-box.li-green .title {
  background: #ADC300;
}
.services .service-box.li-green .btn {
  background: #ADC300;
}

/* bootstrap */
.col-15, .col-sm-15, .col-md-15, .col-lg-15 {
  position: relative;
  min-height: 1px;
  padding-right: 5px;
  padding-left: 5px;
  width: 50%;
}
.red{
  background-color: red;
}
.blue{
  background-color: blue;
}
@media (min-width: 768px) {
  .col-sm-15 {
    width: 20%;
    flex: 0 0 20%;
  }
}
@media (min-width: 992px) {
  .col-md-15 {
    width: 20%;
    flex: 0 0 20%;
  }
}
@media (min-width: 1200px) {
  .col-lg-15 {
    width: 20%;
    flex: 0 0 20%;
  }
}
.col-15{
  width: 20%;
  flex: 0 0 20%;
}
