/* ------------------------------------- */
/*  共通部分
/* ------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 100%;
  font-family: "游ゴシック体","Yu Gothic","YuGothic","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Meiryo","メイリオ","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  color: #333333;
  background-color: #eeeeee;
}

ol, ul, li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}


a, a:hover {
  color: #333333;
  text-decoration: none;
}

.bg {
  width: 1024px;
  margin: 0 auto;
  background: url(../img/bg.jpg) no-repeat top center;
  background-size: cover;
}
@media (max-width: 1023px) {
  .bg {
    width: 100%;
    background-size: auto 100%;
  }
}

/* ------------------------------------- */
/*  header
/* ------------------------------------- */
.header {
  text-align: left;
  position: relative;
  width: 1024px;
  background: url(../img/pc_header_bg.jpg) no-repeat top left;
  margin: 0 auto;
}
.header:before {
  content:"";
  display: block;
  padding-top: 38.8671875%;
}
.site_logo {
  position: absolute;
  top: 116px;
  left: 241px;
}
.header h1 {
  font-size: 2rem;
  position: absolute;
  letter-spacing: 0.3em;
  line-height: 1.6;
  top: 110px;
  left: 546px;
  color: #2a4198;

}
.header p {
  font-size: 1.0625rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
  position: absolute;
  top: 228px;
  left: 546px;
  font-weight: bold;
}

.contact_link {
  position: absolute;
  right: 5px;
  top: 58px;
}

.contact_btn {
  display: none;
}
.dummy_space {
  display: none;
}

@media (max-width: 1023px) {
  .header {
    background: url(../img/sp_header_bg.jpg) no-repeat top left;
    background-size: 100% auto;
    width: 100%;
  }
  .header:before {
    content:"";
    display: block;
    padding-top: 145.066666667%;
  }
  .header .site_logo {
    width: 56.533333333%;
    top: 24.632352941%;
    left: 50%;
    transform: translateX(-50%);
  }
  .header h1 {
    top: 55.882352941%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4vw;
    display: block;
    width: 100%;
    text-align: center;
  }
  .header p {
    top: 63.970588235%;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 56.533333333%;
    font-size: 3.2vw;
  }
}

/* ------------------------------------- */
/*   footer
/* ------------------------------------- */
.footer {
  text-align: center;
  height: 120px;
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.footer small {
  display: inline-block;
  width: 100%;
  color: #fff;
  margin: 0;
  font-size: 0.75rem;
}

@media (max-width: 1023px) {
  .footer {
    padding: 1em;
  }
  .footer small {
    font-size: 3.4vw;
  }
}

/* ------------------------------------- */
/*   カード表示部
/* ------------------------------------- */
.card_box {
  display : flex;
  flex-wrap : wrap;
  justify-content:space-between;
  padding: 32px;
  background-color: #fff;
  background: url(../img/tab_bg.jpg) no-repeat top center, #fff;
  background-size: cover;
}

.card_box:after{
  content:"";
  display:block;
  width: 31.25%;
  height:0;
}

.card_post {
  width: 31.25%;
  position: relative;
  margin-bottom: 2.5em;
}

/* カード画像 */
.thumbnail {
  position: relative;
}
.thumbnail > img {
  width: 100%;
  vertical-align: bottom;
}
.thumbnail.movie:after {
  content: '';
  width: 17.142857143%;
  height: 30.769230769%;
  background: url(../img/play.png) no-repeat center center;
  background-size: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.card_post h3 {
  font-size: 1.125rem;
  color: #2a4198;
}
.card_post p {
  font-size: 0.75rem;
}
.card_cat {
  font-size: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
  color: #fff;
}
.card_cat:before {
  content:"";
  display: block;
  padding-top: 10.793650794%;
}
.card_movie {
  background: url(../img/icon_mv.png) no-repeat center center;
  background-size: cover;
  padding-right: 1em;
}
.card_web {
  background: url(../img/icon_web.png) no-repeat center center;
  background-size: cover;
}
.card_pdf {
  background: url(../img/icon_pdf.png) no-repeat center center;
  background-size: cover;
}
@media (max-width: 1023px) {
  .card_box {
    padding: 5vw 5%;
    background: url(../img/tab_bg.jpg) no-repeat bottom center, #fff;
    background-size: 100 auto;
  }
  .card_post {
    width: 100%;
    margin-bottom: 2.5em;
  }
  .card_post h3 {
    line-height: 1.9;
  }
  .card_post p {
    line-height: 1.9;
  }
  .card_cat {
    font-size: 3vw;
  }
}
@media (max-width: 479px) {
  .card_post h3 {
    font-size: 5vw;
  }
  .card_post p {
    font-size: 4vw;
  }
}
/* ------------------------------------- */
/*   上書き共通要素
/* ------------------------------------- */
a:hover img {
  opacity: 1;
}
.fixed {
  position: fixed;
}
.clear {
  clear: both;
}
.sp_br {
  display: none;
}
.sp_only {
  display: none;
}
@media (max-width: 1023px) {
  .sp_br {
    display: block;
  }
  .sp_only {
    display: block;
  }
  .pc_only {
    display: none;
  }
  .pc_br {
    display: none;
  }
}

/* ------------------------------------- */
/*   TAB切り替えボタン
/* ------------------------------------- */
.swiper-container {
  margin: 0 auto 30px;
}
.tab_menu {
  margin: 0 auto;
  max-width: 1024px;
  cursor: pointer;
  background-color: #516fe0;
}
.tab_menu .swiper-slide {
  width: 20%;
  padding: 1em 0;
  border-left: none;
  margin: 0 !important;
  text-align: center;
  font-weight: bold;
  color: #fff;
  font-size: 1.125rem;
  z-index: 1;
  position: relative;
}
.tab_menu .swiper-slide::before{
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  z-index: -1;
  background-color:#2a4198;
  transform: skewX(-15deg);
  -webkit-backface-visibility: hidden;
}
.tab_menu .tab_color1::before {
  background-color: #2a4198;
}
.tab_menu .tab_color1::after {
  background-color: #2a4198;
  position: absolute;
  content: "";
  top: 0; left: 0;
  width: 16%;
  height: 100%;
  z-index: -2;
}
.tab_menu .tab_color2::before {
  background-color: #3c55b1;
}
.tab_menu .tab_color3::before {
  background-color: #2a4198;
}
.tab_menu .tab_color4::before {
  background-color: #3c55b1;
}
.tab_menu .tab_color5::before {
  background-color: #2a4198;
}
.tab_menu .tab_color5::after {
  background-color: #2a4198;
  position: absolute;
  content: "";
  top: 0; right: 0;
  width: 16%;
  height: 100%;
  z-index: -2;
}

.tab_contents {
  margin: 0 auto;
  width: 960px;
  margin-left: 32px;
  margin-right: 32px;
}
.tab_menu .swiper-slide.hover {
  color: #2a4198;
}
.tab_menu .swiper-slide.hover::before {
  background-color: #bec8f5;
}
.tab_menu .swiper-slide.hover::after {
  background-color: #bec8f5;
}

.tab_menu .swiper-slide-thumb-active {
  cursor: default;
}
.tab_menu .swiper-slide-thumb-active::before {
  background-color: #516fe0 !important;
  cursor: default;
}
.tab_menu .swiper-slide-thumb-active.tab_color1::after {
  background-color: #516fe0 !important;
}
.tab_menu .swiper-slide-thumb-active.tab_color5::after {
  background-color: #516fe0 !important;
}

.tab {
  color: #fff;
}

.tab_head {
  text-align: center;
  height: 100px;
  padding: 0 32;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  background-color: #516fe0;
}
.tab_head h2 {
  font-size: 1.125rem;
}

@media (max-width: 1023px) {
  .tab_contents {
    width: 93.6%;
    border: none;
    margin: 0 3.2%;
  }
  .tab {
    padding-bottom: 1vh;
  }
  .tab_menu .swiper-slide {
    width: 20%;
    height: 7vh;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
  }
  .tab_head {
    height: auto;
    padding: 0 5% 1vh;
    background: none;
    text-align: left;
  }
  .tab_head h2 {
    padding: 1vh 0;
    text-align: center;
    width: 100%;
    margin-bottom: 0;
  }
}

@media (max-width: 479px) {
  .tab_menu .swiper-slide {
    font-size: 3vw;
    height: 7vh;
    min-height: 48px;
    border-width: 1px;
  }
  .tab_head {
    text-align: left;
    font-size: 3vw;
  }
  .tab_head h2 {
    padding: 1vh 0;
    font-size: 4.3vw;
  }
  .tab {
    padding-bottom: 1vh;
  }
}
