:root {
  --color1: #fff;
  --color2: #29303b;
  --color3: #f7f8fa;
  --color4: #f0f0f0;
  --color-font_base: #3c3b37;
  --color-font_sub: #73726c;
  --color-border: #dcdacb;
}

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

/* 動画ページ */
.sub-header {
    padding: 8px 16px;
    background-color: var(--color1);
  }
.sub-header-admin {
  padding: 8px 16px;
  background-color: var(--color4);
}
.sub-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color2);
  }
.sub-header-admin__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color2);
}
.sub-header-a {
  padding: 8px 16px;
}
.sub-header-l,
.sub-header-r {
  display: flex;
  justify-content: start;
  align-items: center;
}
.sub-header__logo-area {
  position: relative;
  padding-right: 24px;
  margin-right: 24px;
}
.sub-header__logo-area::after {
  content: "";
  width: 1px;
  height: 1.2em;
  background-color: var(--color2);
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.sub-header__logo {
  height: 36px;
  width: auto;
  line-height: 38px;
}
.sub-header__ttl {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px
}
.sub-header__inner-btn {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sub-header__inner-btn:not(:last-child) {
  margin-left: 24px;
}
.sub-header__inner-btn:last-child {
  margin-left: 8px;
}
.sub-header__inner-btn i {
  margin-right: 8px;
}
.btn-square {
  border: 1px solid var(--color1);
  padding: 8px;
}

.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 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;
    align-items: center;
    box-shadow: inset 0 -1px 0 0 var(--color-border);
    overflow-y: hidden;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}
.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%;
}
.tab-about img {
  max-width: 100%;
  height: auto;
}
.btn-dl-box {
  margin: 1em;
  padding: 1em;
}
.btn-dl,
.btn-up{
  color: #778899;
}
.btn-dl:hover,
.btn-up:hover{
  color: #778899;
}

/* サイドバー */
.sub-main {
  position: relative;
}
.video__nav {
  display: none;
  width: 25%;
  max-height: 100vh;
  position: fixed;
  top: 72px;
  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: 100px;
}
.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 {
  background-color: #f7f8fa;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  padding-right: 30px;
}
.video__nav-notlink {
  position: relative;
  padding: 16px;
}
.video__nav-notlink span {
  font-size: 16px;
  float: right;
  margin-right: -20px;
}
.video__nav-notlink span:first-child {
  display: none;
}
.video__nav-link {
  background-color: #fff !important;
}
.video__nav-link a {
  background-color: transparent;
  display: block;
  padding: 16px;
}
.video__nav-link a:hover {
  text-decoration: none;
  color: inherit;
}
.video__nav-link:hover {
  background-color: #f2f3f5 !important;
}
.video__nav-link label {
    background-color: transparent;
    color:#c0c0c0;
    display: block;
    padding: 16px;
  }
  .video__nav .active {
  background-color: #e6f2f5 !important;
}
.video__nav .active:hover {
  background-color: #d4e9ee !important;
}

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

/* ログイン画面 */
input.font-awesome {
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-decoration: inherit;
}

.sp {
  display: none;
}

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

  .sub-header {
    height: 44px;
    padding: 8px;

  }
  .sub-header-l {
    width: calc(100% - 32px);
  }
  .sub-header__logo-area {
    padding-right: 8px;
    margin-right: 8px;
  }
  .sub-header__logo-area .btn{
    padding: 0;
  }
  .sub-header__logo {
    height: auto;
    width: 25vw;
    line-height: initial;
  }
  .sub-header__ttl {
    font-size: 12px;
    max-width: 40vw;
  }
  .sub-header__inner {
    justify-content: flex-start;
  }
  .sub-header__inner-btn .btn{
    font-size: 12px;
  }
  .sub-header__btn-back {
    padding-right: 16px;
    margin-right: 16px;
    position: relative;
    cursor: pointer;
  }
  .sub-header__btn-back::after {
    content: "";
    width: 1px;
    height: 44px;
    background-color: #505763;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
  .has-tab {
    width: 100%;
  }
  .video__ttl {
    padding: 1em 16px;
  }
  .tab {
    margin: 0 16px;
  }
  .tab:last-child {
    padding-right: 16px;
  }
  .tab-content {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .tab-content__search-text {
    padding-left: 16px;
    padding-right: 16px;
  }
  .video__has-nav .video-content {
    width: 100%;
  }
  .video__nav {
    width: 80%;
    position: absolute;
    top: 0;
    right: 0;
  }
  .sub-footer__inner {
    display: block;
  }
  .sub-footer-r ul {
    display: block;
    margin-left: 0;
  }
  .sub-footer-r ul li {
    margin: 8px 0;
  }
  .sub-footer__contact {
    width: 100%;
    text-align: center;
  }
  .sub-footer__has-nav {
    margin-right: 0;
  }
}

/* 利用規約 */
#terms {
  margin: 3.0em auto;
  white-space: pre-wrap;
  max-width: 80%;
}

/* プライバシーポリシー */
#privacy {
  margin: 3.0em auto;
  white-space: pre-wrap;
  max-width: 80%;
}

/* 運営会社情報 */
#about {
  margin: 1.5em auto;
  white-space: pre-wrap;
  max-width: 80%;
}
#about table th {
    min-width: 8em;
}
@media screen and (max-width: 768px) {
    #about table {
        font-size: 12px;
    }
}

/* お問い合わせ */
#contact {
  margin: 3.0em auto;
  /*white-space: pre-wrap;*/
  max-width: 80%;
}
#contact_form table {
    margin: auto;
}
#contact_form th:nth-child(1) {
    text-align: left;
    vertical-align: top;
    padding-top: 0.5rem;
    border: 0px solid black;
}
#contact_form th:nth-child(2) {
    color: red;
    text-align: right;
    vertical-align: top;
    padding-top: 0.5rem;
    border: 0px solid black;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
#contact_form td {
    text-align: left;
    vertical-align: top;
    padding-bottom: 1em;
    border: 5px solid white;
}
#contact_form input {
    width: 100%;
}
#contact_form button {
    width: 100%;
}
#contact_form span  {
    padding: 1em;
    color: red;
}
#contact_form textarea {
    width: 100%;
}
#contact_form input:read-only {
    border: none;
}

.pagination {
    margin-top: -2rem !important;
}
