:root {
  --color1: #fff;
  --color2: #29303b;
  --color3: #f7f8fa;
  --color4: #0052a5;
  --color5: #3792c6;
  --color6: #0096a5;
  --color-font_base: #3c3b37;
  --color-font_sub: #73726c;
  --color-border: #dcdacb;

}

body {
  font-size: 14px;
  line-height: 1.7;
}
.font-big {
  font-size: 24px;
  font-weight: bold;
}
.btn {
  transition: 0.2s;
  cursor: pointer;
}
.btn:hover {
  opacity: 0.7;
  transition: 0.2s;
}

/* トップページ */
.content {
  width: calc(100% - 80px);
  max-width: 1240px;
  margin: 0 auto;
}
.inner-section {
  margin: 60px 0;
}
.header {
  height: 72px;
  background-color: rgba(255, 255, 255, 0.7);
}
.header__inner {
  width: calc(100% - 80px);
  height: 72px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__inner-l {
  display: flex;
  justify-content: left;
  align-items: center;
}
.header__logo {
  display: block;
  width: 310px;
  margin-right: 50px;
}
.header__logo a {
  display: block;
}
.header__logo a img {
  width: 100%;
}
.header__search {
  position: relative;
}
.header__search-bar {
  width: 345px;
  height: 35px;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding-left: 3em;
}
.header__search-bar::placeholder {
  color: var(--color-border);
}
.header__search-icon {
  display: block;
  width: 18px;
  position: absolute;
  top: 60%;
  left: 1em;
  transform: translateY(-50%);
}
.header__search-icon img {
  width: 100%;
}
.header__inner-r {
  display: flex;
  justify-content: right;
  align-items: center;
  text-align: center;
}
.header__inner-r a {
  display: block;
  width: 100px;
  height: 35px;
  line-height: 35px;
  border-radius: 5px;
  font-size: 12px;
  margin-left: 10px;
}
.login-btn {
  color: var(--color4);
  border: 1px solid var(--color4);
}
.register-btn {
  color: var(--color1);
  background-color: var(--color4);
}
.mv {
  height: 360px;
  background-image: url("../img/mv_pc.jpg");
  background-size: cover;
  background-position:center;
  background-repeat: no-repeat;
}
.mv__content {
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.mv__inner {
  width: 660px;
  padding: 50px 50px;
  background-color: rgba(255, 255, 255, 0.7);
}
.mv__inner__ttl {
  font-size: 40px;
  line-height: 1.25;
  font-weight: bold;
}
.mv__inner__desc {
  font-size: 18px;
  /* margin: 20px 0; */
  margin-top: 20px 0;
}
.mv__search {
  position: relative;
}
.mv__search-bar {
  width: 100%;
  height: 50px;
  border: 1px solid var(--color-border);
  font-size: 18px;
  padding-left: 2.5em;
}
.mv__search-bar::placeholder {
  color: var(--color-border);
}
.mv__search-icon {
  display: block;
  width: 24px;
  position: absolute;
  top: 75%;
  left: 1em;
  transform: translateY(-50%);
}
.mv__search-icon img {
  width: 100%;
}

.sec__ttl {
  display: flex;
  align-items: center;
  font-size: 30px;
  margin-bottom: 20px;
}
.sec__ttl-read {
  color: #313131;
  font-size: 18px;
  line-height: 1;
  margin-bottom: 40px;
}
.sec__ttl-icon {
  width: 40px;
  margin-right: 12px;
}
.course-lists {
  margin-top: 30px;
}
.course-purchase {
    background-color: rgb(0 123 255 / 10%);
    width: fit-content;
    padding: 0.25rem;
    margin-bottom: 0;
}
.course-item-purchase {
    background-color: rgb(0 123 255 / 10%);
}
/* .course-list {
  width: 24%;
} */

.course-cap {
  height: 160px;
  background-position: center;
  background-size: cover;
  margin: 0 10px;
  text-align: center;
}
.course-cap img {
  /*background-image: url("../img/video_img1.jpg");*/
  /* max-width: 200px; */
  max-width: 100%;
  max-height: 160px;

}
.course-txt {
  margin: 0 10px;
}
.course-ttl {
  font-size: 18px;
  margin: 6px 0;
  height: 60px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.course-overview {
  font-size: 12px;
  color: #535353;
  height: 40px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.course-info {
  font-size: 12px;
  color: #535353;
  margin-bottom: 10px;
}
.course-fee {
  font-size: 18px;
  display: flex;
  align-items: center;
}
.course-fee__op {
  font-size: 12px;
  color: #535353;
  padding: 0 0.5em;
  position: relative;
}
.course-fee__op::after {
  content: "";
  width: 90%;
  height: 1px;
  background: #535353;
  position: absolute;
  top: 50%;
  left: 0.5em;
}
.course-link {
  display: block;
  width: 100%;
  height: 50px;
  color: #fff;
  font-size: 18px;
  line-height: 35px;
  text-align: center;
  background-color: var(--color5);
  border-radius: 5px;
  margin: 0 auto;
  margin-top: 10px;
}

.flex-wrapper {
  display: flex;
}
.flex-item {
  width: 100%;
}
.entry__img {
  width: 42%;
  width: 50%;
  background-position: center;
  background-size: cover;
}
.entry__img {
  background-image: url("../img/contact_img1_pc.jpg");
  background-image: url("../img/contact_img1_sp.jpg");
}
.entry__content {
  color: #fff;
  width: 58%;
  width: 50%;
  padding: 60px 30px;
}
.flex-item:nth-of-type(1) .entry__content {
  background-color: var(--color4);
}
.flex-item:nth-of-type(2) .entry__content {
  background-color: var(--color6);
}
.entry__ttl {
  font-size: 26px;
  text-align: center;
  margin-bottom: 20px;
}
.entry-link {
  display: block;
  background-color: var(--color1);
  color: var(--color4);
  text-align: center;
  height: 50px;
  line-height: 35px;
  border-radius: 5px;
  margin-top: 20px;
}

.footer {
  color: var(--color-font_sub);
  padding: 32px 16px;
  background-color: var(--color2);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__logo {
  height: 36px;
}
.footer-r ul {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}
.footer-r ul li {
  margin-left: 32px;
}
.footer__contact {
  display: inline-block;
  padding: 16px;
  border: 1px solid var(--color-font_sub);
}

/* マイページ */
.my-header {
  padding: 8px 16px;
  background-color: var(--color1);
}
.my-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.my-header__logo a {
  display: block;
}
.my-header__logo a img {
  height: 30px;
  width: auto;
}
.my-header .btn {
  display: inline-block;
  width: 40px;
  text-align: center;
}
.my-header .btn i {
  width: 100%;
  font-size: 20px;
  color: var(--color-font_sub);
}
.logout-btn {
  display: block;
  width: 100px;
  height: 30px;
  line-height: 30px;
  border-radius: 5px;
  font-size: 12px;
  margin-left: 10px;
  color: var(--color4);
  border: 1px solid var(--color4);
  text-align: center;
}
.mypage .mv {
  height: 240px;
}
.mypage .course-list {
  display: flex;
}
.mypage .recommend .course-cap {
  width: 64px;
  height: 64px;
  margin: 0;
}
.mypage .recommend .course-txt {
  width: calc(100% - 64px);
  margin: 0 10px;
}
.mypage .course-ttl {
  font-size: 14px;
  height: 3.4em;
  margin: 0;
}
.mypage .course-info {
  font-size: 12px;
  color: #535353;
  margin-bottom: 10px;
}
.mypage .course-fee {
  font-size: 16px;
  display: flex;
  align-items: center;
}
.mypage .course-fee__op {
  font-size: 12px;
  color: #535353;
  padding: 0 0.5em;
  position: relative;
}
.mypage .course-fee__op::after {
  content: "";
  width: 90%;
  height: 1px;
  background: #535353;
  position: absolute;
  top: 50%;
  left: 0.5em;
}
.mylist__inner {
  margin-right: 10px;
  width: 100%;
  height: 100%;
  display: flex;
  border: 1px solid var(--color-border);
}
.course-list__inner {
  margin-right: 10px;
  width: 100%;
  height: 100%;
  display: flex;
}
.mypage .myvideo .course-list {
  height: 120px;
}
.mypage .myvideo .course-cap {
  width: 200px;
  height: auto;
  margin: 0;
}
.mypage .myvideo .course-txt {
  width: calc(100% - 100px);
  padding: 10px;
}


/* 動画詳細ページ */
.courseinfo-head {
  background-color: var(--color2);
  color: #fff;
  padding: 60px 0;
}
.courseinfo-head__inner button {
  margin-top: 20px;
  background-color: inherit;
  border: 1px solid #fff;
  border-radius: 5px;
  color: #fff;
  padding: 0.5em 2em;
}
.courseinfo-sec {
  margin-bottom: 40px;
}
.courseinfo-sec ul li {
  list-style-type: disc!important;
  list-style-position: inside;
  list-style-image: none;
}
.courseinfo-txtbox {
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  background-color: var(--color3);
}

.video__has-nav {
  display: flex;
}
.video__has-nav .video-content {
  width: 75%;
}
.video-wrapper {
  background-color: #14171c;
  position: relative;
}
.video__inner {
  position: relative;
  width: 100%;
  max-height: 80vh;
}
.video__inner:before {
  content:"";
  display: block;
  padding-top: 56.25%;
}
/* .video-thum {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
} */
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video__nav-open {
  position: absolute;
  top: 50px;
  right: 0;
  width: 44px;
  height: 44px;
  background-color: rgba(41,48,59,.7)!important;
  border: none;
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  z-index: 10000000;
}

.has-tab {
  width: 83%;
  margin: 0 auto;
}
.video__ttl {
  padding: 1em 0;
}
.tab-area {
  display: flex;
  height: 56px;
  align-items: center;
  box-shadow: inset 0 -1px 0 0 var(--color-border);
  overflow-x: scroll;
  overflow-y: hidden;
}
.tab-area::-webkit-scrollbar {
  display: none;
}
.tab {
  color: var(--color-font_sub);
  margin: 0 8px;
  height: 100%;
  flex: 0 0 auto;
  cursor: pointer;
}
.tab i,
.tab p {
  line-height: 56px;
}
.tab-active {
  color: var(--color-font_base);
  border-bottom: 2px solid var(--color-font_base);
}
.tab-content {
  width: 83%;
  margin: 0 auto;
  padding: 60px 0;
  display: none;
  text-align: center;
}
.tab-content-active {
  display: block;
}

.tab-content__search-area {
  position: relative;
}
.tab-content__search-bar {
  width: 100%;
  background-color: #f2f3f5;
  height: 44px;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.43;
  position: relative;
}
.tab-content__search-icon {
  display: inline-block;
  line-height: 44px;
  width: 44px;
  height: 44px;
  color: #fff;
  background-color: #007791;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.tab-content__search-text {
  padding: 64px;
}
.search-new {
  display: inline-block;
  margin-top: 21px;
  margin-bottom: 10px;
}
.tab-content__read {
  padding: 10px 16px;
  text-align: left;
  margin-bottom: 22px;
}
.tab-about dl {
  display: flex;
  justify-content: space-between;
  padding: 32px 16px;
  border-top: 1px solid var(--color-border);
  text-align: left;
}
.tab-about dl dt {
  width: 30%;
}
.tab-about dl dd {
  width: 70%;
}
/* サイドバー */
.video__nav {
  display: none;
  width: 25%;
  max-height: 100vh;
  position: fixed;
  top: 58px;
  right: 0;
  border-left: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color1);
}
.video__nav-header {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.nav-close {
  position: absolute;
  font-size: 18px;
  top: 14px;
  right: 16px;
  cursor: pointer;
}
.video__nav-menu {
  height: calc(100% - 46px);
  overflow-y: scroll;
  padding-bottom: 46px;
}
.video__nav-menu ul {
  display: none;
  overflow-y: scroll;
}
.video__nav-menu ul::-webkit-scrollbar {
  display: none;
}
.video__nav-menu ul li {
  padding-left: 2em;
}
.video__nav li {
  padding: 16px;
  height: 60px;
  background-color: #f7f8fa;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
}
.video__nav-notlink {
  position: relative;
}
.video__nav-notlink span {
  font-size: 16px;
  float: right;
}
.video__nav-notlink span:first-child {
  display: none;
}

.slide-arrow {
  display: block;
  width: 48px;
  height: 48px;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.08);
  z-index: 10;
}
.slide-arrow:focus {
  outline: none;
}
.prev-arrow {
  left: -24px;
}
.prev-arrow::after {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--color-font_sub);
  border-bottom: 2px solid var(--color-font_sub);
  transform: translateY(-50%) rotate(45deg);
  position: absolute;
  top: 50%;
  left: 20px;
}
.next-arrow {
  right: -24px;
}
.next-arrow::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-font_sub);
  border-bottom: 2px solid var(--color-font_sub);
  transform: translateY(-50%) rotate(-45deg);
  position: absolute;
  top: 50%;
  right: 20px;
}


.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }

  .content {
    width: calc(100% - 50px);
  }
  .header {
    height: 60px;
  }
  .header__inner {
    width: calc(100% - 30px);
    height: 60px;
  }
  .header__logo {
    width: 200px;
  }

  .mv {
    height: 360px;
  }
  .mv__content {
    justify-content: center;
  }
  .mv__inner {
    width: 100%;
    max-width: 500px;
    padding: 30px 24px;
  }
  .mv__inner__ttl {
    font-size: 20px;
  }
  .mv__inner__desc {
    font-size: 16px;
    margin: 10px 0;
  }

  .sec__ttl {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .sec__ttl-read {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .sec__ttl-icon {
    width: 25px;
    margin-right: 6px;
  }

  .course-lists {
    margin-top: 15px;
  }
  .course-link {
    width: 100%;
  }

  .flex-wrapper {
    display: block;
  }
  .flex-item {
    width: 100%;
  }
  .entry__img {
    width: 100%;
    height: 190px;
  }
  .entry__img {
    background-image: url("../img/contact_img1_sp.jpg");
  }
  .entry__content {
    width: 100%;
    padding: 30px 25px;
  }
  .entry__ttl {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .entry-link {
    display: block;
    background-color: var(--color1);
    color: var(--color4);
    text-align: center;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
    margin-top: 10px;
  }
  .footer__inner {
    display: block;
  }
  .footer-r ul {
    display: block;
    margin-left: 0;
  }
  .footer-r ul li {
    margin: 8px 0;
  }
  .footer__contact {
    width: 100%;
    text-align: center;
    background-color: var(--color1);
  }

  .courseinfo-head {
    padding: 40px 0;
  }
  .courseinfo-txtbox {
    padding: 20px;
  }

  .slide-arrow {
    display: block;
    width: 36px;
    height: 36px;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.08);
    z-index: 10;
  }
  .prev-arrow {
    left: -18px;
  }
  .prev-arrow::after {
    content: "";
    width: 7px;
    height: 7px;
    border-left: 2px solid var(--color-font_sub);
    border-bottom: 2px solid var(--color-font_sub);
    transform: translateY(-50%) rotate(45deg);
    position: absolute;
    top: 50%;
    left: 15px;
  }
  .next-arrow {
    right: -18px;
  }
  .next-arrow::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--color-font_sub);
    border-bottom: 2px solid var(--color-font_sub);
    transform: translateY(-50%) rotate(-45deg);
    position: absolute;
    top: 50%;
    right: 15px;
  }
}
