@charset "shift-jis";
/* ==========================================================================
/school/casebox/
========================================================================== */

section ul.detail{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
section ul.detail li{
  width: 32%;
  border: 1px solid #00afec;
  margin-bottom: 118px;
  position: relative;
}
section ul.detail li::after{
  content: "";
  width: 40px;
  height: 40px;
  background-image: url(/school/image/index/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  margin: auto;
}
section ul.detail li h2{
  letter-spacing: 0;
  font-size: 21px;
}
section ul.detail li h2 a{
  position: relative;
  z-index: 5;
  color: #000;
  display: block;
  padding: 55px 10px 90px;
}
section ul.detail li h2 a.space{ padding: 35px 10px 60px;}
section ul.detail li h2::after{
  border-bottom: 0;
  width: auto;
  margin: 0;
  position: absolute;
  right: 0;
  bottom: -25px;
  background-size: contain;
  background-position: left bottom;
  background-repeat: no-repeat;
}
section ul.detail li:first-child h2::after{
  width: 65px;
  height: 100px;
  background-image: url(/school/image/index/img_myhome02.svg);
}
section ul.detail li:nth-child(2) h2::after{
  width: 60px;
  height: 100px;
  background-image: url(/school/image/index/img_retirement02.svg);
}
section ul.detail li:nth-child(3) h2::after{
  width: 60px;
  height: 90px;
  background-image: url(/school/image/index/img_education02.svg);
}
section ul.detail li:nth-child(4) h2::after,
section ul.detail li:nth-child(7) h2::after{
  width: 85px;
  height: 130px;
  background-image: url(/school/image/index/img_entrepreneur02.svg);
  right: -20px;
}
section ul.detail li:nth-child(5) h2::after{
  width: 45px;
  height: 100px;
  background-image: url(/school/image/index/img_investment02.svg);
  right: 12px;
}
section ul.detail li:nth-child(6) h2::after{
  width: 45px;
  height: 100px;
  background-image: url(/school/image/index/img_fx02.svg);
  right: 12px;
}
section ul.detail li:nth-child(8) h2::after{
  width: 40px;
  height: 140px;
  background-image: url(/school/image/index/img_dinks02.svg);
  right: 15px;
}
section ul.detail li:nth-child(9) h2::after{
  width: 45px;
  height: 110px;
  background-image: url(/school/image/index/img_mutualfund02.svg);
  right: 8px;
}
section ul.detail li.soon > div{
  height: 20em;
  background: #00afec25;
}
section ul.detail li.soon h2{
  line-height: 6;
  color: #00afec50;
}


/* タブレット */
@media screen and (min-width: 600px) and (max-width: 1024px) {
}

/* 1024px以下のモニター */
@media screen and (max-width: 1024px) {
  section article {
    padding-left: 5%;
    padding-right: 5%;
  }
  section ul.detail li h2 { font-size: 20px;}
  section ul.detail li h2::after{
    background-position: right bottom;
  }
  section ul.detail li:nth-child(1) h2::after,
  section ul.detail li:nth-child(2) h2::after,
  section ul.detail li:nth-child(3) h2::after,
  section ul.detail li:nth-child(4) h2::after,
  section ul.detail li:nth-child(5) h2::after,
  section ul.detail li:nth-child(6) h2::after,
  section ul.detail li:nth-child(7) h2::after,
  section ul.detail li:nth-child(8) h2::after,
  section ul.detail li:nth-child(9) h2::after{
    width: 40px;
    height: 80px;
  }
  section ul.detail li:nth-child(1) h2::after{
    width: 50px;
  }
  section ul.detail li:nth-child(2) h2::after{
    right: 4px;
  }
  section ul.detail li:nth-child(3) h2::after{
    right: 5px;
  }
  section ul.detail li:nth-child(4) h2::after,
  section ul.detail li:nth-child(7) h2::after{
    width: 70px;
    height: 105px;
    right: -15px;
  }
  section ul.detail li:nth-child(5) h2::after{
    right: 5px;
  }
  section ul.detail li:nth-child(6) h2::after{
    right: 5px;
  }
  section ul.detail li:nth-child(8) h2::after{
    height: 110px;
    right: 5px;
  }
  section ul.detail li:nth-child(9) h2::after{
    height: 95px;
    right: 5px;
  }
}

/* 599px以下（スマホ） */
@media screen and (max-width: 599px) {
  section ul.detail li{
    width: 100%;
    margin-bottom: 25px;
    display: flex;
  }
  section ul.detail li::before {
    position: absolute;
    bottom: 7px;
    left: 40%;
    z-index: 5;
    width: 23px;
    height: 23px;
    background: #fff;
    border: 1px solid #44a1c3;
    border-radius: 50%;
    box-sizing: border-box;
    content: '';
  }
  section ul.detail li::after {
    position: absolute;
    bottom: 14px;
    left: calc(40% + 5px);
    right: auto;
    z-index: 5;
    transform: rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 1px solid #44a1c3;
    border-right: 1px solid #44a1c3;
    background-image: none;
    content: '';
  }
  section ul.detail li > div{
    width: 50%;
    position: relative;
    overflow: hidden;
  }
  section ul.detail li > div img{
/*        display: block;*/
    max-width: inherit;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
  }
  section ul.detail li h2 {
    width: 50%;
    font-size: 15px;
    text-align: left;
  }
  section ul.detail li h2::after{
    background-position: right bottom;
  }
  section ul.detail li:nth-child(1) h2::after,
  section ul.detail li:nth-child(2) h2::after,
  section ul.detail li:nth-child(3) h2::after,
  section ul.detail li:nth-child(4) h2::after,
  section ul.detail li:nth-child(5) h2::after,
  section ul.detail li:nth-child(6) h2::after,
  section ul.detail li:nth-child(7) h2::after,
  section ul.detail li:nth-child(8) h2::after,
  section ul.detail li:nth-child(9) h2::after{
    width: 35px;
    height: 55px;
    right: 5px;
    bottom: 5px;
  }
  section ul.detail li:nth-child(2) h2::after{
    right: 8px;
  }
  section ul.detail li:nth-child(3) h2::after{
    height: 52px;
    right: 8px;
  }
  section ul.detail li:nth-child(4) h2::after,
  section ul.detail li:nth-child(7) h2::after{
    width: 50px;
    height: 75px;
    right: -15px;
  }
  section ul.detail li:nth-child(5) h2::after{
    right: 8px;
  }
  section ul.detail li:nth-child(6) h2::after{
    right: 8px;
  }
  section ul.detail li:nth-child(8) h2::after{
    height: 75px;
    right: 13px;
  }
  section ul.detail li:nth-child(9) h2::after{
    height: 65px;
    right: 8px;
  }
  section ul.detail li h2 a,
  section ul.detail li h2 a.space{
    display: block;
    height: auto;
    padding: 10px 10px 50px;
    color: #333;
    font-size: 14px;
  }
  section ul.detail li.soon > div{ height: 10em;}
  section ul.detail li.soon h2{
    line-height: 5;
    padding: 10px;
    box-sizing: border-box;
  }
}

/* 横幅狭いスマホ（iPhone5等） */
@media screen and (max-width: 320px) {
  section ul.detail li h2{ font-size: 14px;}
}


@media screen and (min-width: 599px) {
  .m_lead {
    text-align: center;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom:40px;
  }
}
@media screen and (max-width: 599px) {
  .m_lead {
    font-size: 14px;
    text-align: left;
    line-height: 1.8;
    margin:0 auto;
    margin-bottom:40px;
  }
}

/* .howto_movie */
.howto_movie .heading_tb_line {
  margin-bottom: 1.5em;
  padding: 0.5em 0;
  border-top: 1px dashed #1b2669;
  border-bottom: 1px dashed #1b2669;
  color: #1b2669;
  font-size: 30px;
  text-align: center;
  line-height: 1.6;
}
.howto_movie .howto_movie_lead {
  margin-bottom: 2em;
  font-size: 20px;
  text-align: left;
  line-height: 1.8;
}
@media screen and (max-width: 599px) {
  .howto_movie .heading_tb_line {
    font-size: 18px;
  }
  .howto_movie .howto_movie_lead {
    font-size: 16px;
  }
}
