/* 全体共通レイアウト
---------------------------------------------------------------------- */

body {
  font-family: 'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック',sans-serif;
  color: #222222;
  font-size: 90%;
  line-height: 1.6;
}
@media (max-width: 767px) {
  body {
    line-height: 1.4;
  }
}

@media (max-width: 767px) {
  header {
    height: 0;
    /*padding: 0;*/
    position: relative;
  }
  #logo {
    position: absolute;
    top: 16px;
    /*right: 10px;*/
    right: 13px;
  }
}

.navbar {
  padding: .6rem 1rem;
}
.navbar-light .navbar-toggler {
  border-color: #c2143d;
}
.navbar-light .navbar-nav .nav-link {
  color: #c2143d;
  border-bottom: 1px solid #c2143d;
}
.navbar-light .navbar-nav li:last-child .nav-link {
  border-bottom: none;
}
.nav-link {
  padding: .6rem 1rem;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(194, 20, 61, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/*rgba(0, 0, 0, 0.5) -> rgba(194, 20, 61, 1) に変更*/

#pagebody-outer {
  border-top: 3px solid #c2143d;
  background-color: #f2f2f2;
}

.sitelogo {
  position: absolute;
  top: 0;
  left: 0;
  width: 31%;
  height: 70%;
}

h2 {
  font-size: 120%;
  font-weight: 700;
  letter-spacing: 0.1em;
}
@media (max-width: 767px) {
  h2.h2-ross {
    letter-spacing: -0.07em;
  }
}

h2 small {
  letter-spacing: 0;
}

h3 {
  font-size: 110%;
  font-weight: 600;
}

footer ul {
  font-size: 90%;
}
@media (max-width: 767px) {
  footer ul li {
    line-height: 1.8;
  }
}

/* 全体共通クラス
---------------------------------------------------------------------- */

.text-crimson {
  color: #c2143d;
}

.bg-darkgray {
  background-color: #cccccc;
}

.bg-skyblue {
  background-color: #a2bbec;
}

.text-darkblue {
  color: #00006a;
}

.min-h-2p5em {
  min-height: 2.5em;
}

a {
  color: #c2143d;
}
a:visited {
  color: #80000b;
}
a:hover {
  color: #c2143d;
}
a:active {
  color: #c2143d;
}

a.no-underline {
  color: inherit;
}
a.no-underline:visited {
  color: inherit;
}
a.no-underline:hover {
  color: #c2143d;
  text-decoration: none;
}
a.no-underline:active {
  color: #c2143d;
}

a.no-change {
  color: inherit;
}
a.no-change:visited {
  color: inherit;
}
a.no-change:hover {
  color: inherit;
  text-decoration: none;
}
a.no-change:active {
  color: inherit;
}

.h-2p5rem {
  height: 2.5rem;
}

/*@media (min-width: 768px) {
  .h-md-2p5rem {
    height: 2.5rem;
  }
}*/

.ml-17px {
  margin-left: 17px;
}

.mx-17px {
  margin-left: 17px;
  margin-right: 17px;
}

.ml-25px {
  margin-left: 25px;
}

.pt-0p65rem {
  padding-top: 0.65rem;
}

.pt-0p7rem {
  padding-top: 0.7rem;
}

.w-85 {
  width: 85%;
}
.w-90 {
  width: 90%;
}
.w-95 {
  width: 95%;
}

.arrow-white-right {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border: 1.5px solid;
  border-color: #f8fafe #f8fafe transparent transparent;
  transform: rotate(45deg);
}

.arrow-white-down {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border: 1.5px solid;
  border-color: #f8fafe #f8fafe transparent transparent;
  transform: rotate(135deg);
  position: relative;
  top: -3px;
}

.play-btn-outer {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 20%;
}

.mat-download-right {
  width: 180px;
  height: 40px;
  margin-left: auto;
  position: relative;
  /*top: -40px;*/
  top: -50px; /* 2020-10-01 修正 */
  right: 0px;
  font-size: 90%;
}
.mat-download-right-noslide {
  width: 180px;
  height: 40px;
  margin-left: auto;
  position: relative;
  top: 10px;
  right: 10px;
  font-size: 90%;
}
.mat-download-right-sm {
  width: 180px;
  height: 40px;
  margin-left: auto;
  position: relative;
  /*top: -10px;*/
  top: 10px; /* 2020-10-01 修正 */
  right: -15px;
  font-size: 90%;
}

.mat-download-left {
  width: 180px;
  height: 40px;
  position: relative;
  /*top: -130px;*/
  top: -140px; /* 2020-10-01 修正 */
  left: 15px;
  font-size: 90%;
}

.thumb-b {
  border: 1px solid #ccc;
}

/* トップページ
---------------------------------------------------------------------- */

body.top header,
body.top #pagebody,
body.top footer {
  max-width: 947px;
}

#top-lec-vid,
#top-sp-lec,
#top-fin-lec,
#top-president-msg,
#top-update {
  background-color: #ffffff;
}

.top-link2list {
  background-color: #a2bbec;
  color: #00006a;
  font-size: 85%;
  letter-spacing: 0;
  font-weight: 600;
}

#top-president-msg h2 {
  background-color: #4d4d4d;
  color: #ffffff;
  font-size: 85%;
  letter-spacing: 0;
  padding: 1em 0;
}

#top-lec-vid h2 {
  border-left: 5px solid #29aae3;
}
#top-sp-lec h2 {
  border-left: 5px solid #8cc63e;
}
#top-fin-lec h2 {
  border-left: 5px solid #f8931f;
}

#top-update ul {
  font-size: 90%;
  line-height: 1.5;
}

/* 講義名のスマホ表示を若干小さくし、下マージンをなくす*/

@media (max-width: 767px) {
  #top-sp-lec h3,
  #top-fin-lec h3 {
    font-size: 100%;
	margin-bottom: 0;
  }
}

/* 講義情報の上下の線を md 以上で表示 */

@media (min-width: 768px) {
  p.lec-info {
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
  }
}

/* カテゴリーボタン */

#cat-btns .cat-btn {
  width: 32%;
  height: 2.5rem;
  color: white;
  line-height: 2.7rem;
}

#cat-btns a.cat-btn {
  text-decoration: none;
}
#cat-btns a.cat-btn:hover {
  opacity: 0.8;
}

#cat-btns #btn-lecture {
  background-color: #29aae3;
  box-shadow: 2px 2px 2px #b3b3b3;
}
#cat-btns #btn-lecture .cat-arrow {
  background-color: #0071bd;
}

#cat-btns #btn-special {
  background-color: #8cc63e;
  box-shadow: 2px 2px 2px #b3b3b3;
}
#cat-btns #btn-special .cat-arrow {
  background-color: #3ab54a;
}

#cat-btns #btn-final {
  background-color: #f8931f;
  box-shadow: 2px 2px 2px #b3b3b3;
}
#cat-btns #btn-final .cat-arrow {
  background-color: #f15a25;
}

.cat-title {
  font-size: 125%;
  font-weight: 700;
  letter-spacing: 0.3em;
}
@media (max-width:768px) {
  .cat-title {
    font-size: 105%;
    font-weight: 700;
    letter-spacing: 0.1em;
  }
}

.cat-arrow {
  max-width: 2.5rem;
}


/* 非トップページ
---------------------------------------------------------------------- */

body.non-top header,
body.non-top #pagebody,
body.non-top footer {
  max-width: 940px;
}

body.non-top #pagebody {
  background-color: #ffffff;
}

#bread {
  font-size: 90%;
}

#content-title {
  border-left: 5px solid #c2143d;
  padding-left: 20px;
}

#content-title h2 {
  letter-spacing: 0;
}

#list-update span {
  display: block;
  width: 10rem;
  float: left;
}

#list-update li {
  padding-bottom: 15px;
}

@media (max-width: 767px) {
  .update-date {
    font-weight: bold;
  }
}

/* 「Webセミナー」のタブレット表示調整 */

@media (min-width: 871px) { /* md2 のブレークポイント＝871px として */
  .d-md2-block {
    display: block !important;
  }
  .d-md2-none {
    display: none !important;
  }
}
