/* ==========================================================================
top2017.css
 ========================================================================== */
.main_slider {
  width: 100%;
  margin-top: 54px;
}

.main_slider > div {
  position: relative;
  margin: 0;
  width: 100%;
  padding: 0;
}

.main_slider > div img {
  width: 100%;
}

.main_slider > div a {
  color: #333;
  text-decoration: none;
}

.main_slider > div div p:nth-child(1) {
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1.5;
  font-weight: bold;
  text-align: justify;
  margin: 1em 10px 0 10px;
}

.main_slider > div div time {
  font-size: 12px;
  font-size: 1.2rem;
  margin: 0 10px;
}

.main_slider > div div p:nth-child(3) {
  font-size: 12px;
  font-size: 1.2rem;
  margin: 1em 10px;
  color: #666;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (min-width: 768px) {
  .main_slider .red {
    background: #AD1E26;
  }
  .main_slider .blue {
    background: #003555;
  }
  .main_slider .box {
    width: 1000px;
    position: relative;
  }
  .main_slider .box img {
    width: auto;
  }
  .main_slider .box div {
    background: #fff;
    position: absolute;
    top: 50%;
    right: 3em;
    width: 500px;
    height: 250px;
    transform: translateY(-125px);
    padding: 2em;
  }
  .main_slider .box div p:nth-child(1) {
    margin: 0;
    font-size: 25px;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: justify;
  }
  .main_slider .box div time {
    margin: 0;
    line-height: 2;
  }
  .main_slider .box div p:nth-child(3) {
    position: absolute;
    bottom: 3em;
    margin: 0;
    padding-right: 2.5em;
    overflow: visible;
    height: 5em;
    -webkit-line-clamp: 3;
  }
  .main_slider .box div p:nth-child(3):after {
    content: "...read more";
    display: block;
    text-align: right;
    color: #ccc;
    text-decoration: underline;
    position: absolute;
    bottom: -1em;
    right: 2.5em;
    transition: .3s ease-in-out;
  }
}

.main_slider a:hover p:nth-child(3):after {
  color: #CD516A;
}

@media (min-width: 1024px) {
  .main_slider {
    margin-top: 0;
  }
}

.sub_slider {
  width: 100%;
  padding-bottom: 2em;
}

.sub_slider .box {
  width: 320px;
  display: block;
  border: 1px solid #d9d9d9;
  margin: 0 0.5em;
  position: relative;
  height: 100%;
  margin-top: 10px;
  transition: .3s ease-in-out;
}

.sub_slider .box .b_blue {
  background: #003555;
}

@media (min-width: 1024px) {
  .sub_slider .box {
    /*&:hover{
 				transform: translate(-10px, -10px);
 				box-shadow: 10px 10px $gray02;
 			}*/
  }
}

.sub_slider .box a {
  text-decoration: none;
  color: #333;
}

.sub_slider .box h3 {
  background: #AD1E26;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 2;
}

@media (min-width: 1024px) {
  .sub_slider .box h3 {
    font-size: 15px;
    font-size: 1.5rem;
  }
}

.sub_slider .box div {
  padding: 1em;
}

.sub_slider .box div .img_logo {
  box-shadow: none;
  text-align: center;
}

.sub_slider .box div .img_logo:after {
  display: none;
}

.sub_slider .box div .img_logo img {
  text-align: center;
  margin: 0 auto;
}

.sub_slider .box div dl dt {
  font-weight: bold;
  font-size: 18px;
  font-size: 1.8rem;
}

.sub_slider .box div dl dd {
  font-weight: bold;
  font-size: 15px;
  font-size: 1.5rem;
  color: #AD1E26;
}

.sub_slider .box div dl dd span:before {
  content: "";
  font-family: 'icomoon';
  font-size: 1.8rem;
  font-size: 18px;
  margin: 0 0.5em 0 1em;
}

.sub_slider .box div dl dd .score50:before {
  content: "\e9d9\e9d9\e9d9\e9d9\e9d9";
}

.sub_slider .box div dl dd .score45:before {
  content: "\e9d9\e9d9\e9d9\e9d9\e9d8";
}

.sub_slider .box div dl dd .score40:before {
  content: "\e9d9\e9d9\e9d9\e9d9\e9d7";
}

.sub_slider .box div dl dd .score35:before {
  content: "\e9d9\e9d9\e9d9\e9d8\e9d7";
}

.sub_slider .box div dl dd .score30:before {
  content: "\e9d9\e9d9\e9d9\e9d7\e9d7";
}

.sub_slider .box div dl dd .score25:before {
  content: "\e9d9\e9d9\e9d8\e9d7\e9d7";
}

.sub_slider .box div dl dd .score20:before {
  content: "\e9d9\e9d9\e9d7\e9d7\e9d7";
}

.sub_slider .box div dl dd .score15:before {
  content: "\e9d9\e9d8\e9d7\e9d7\e9d7";
}

.sub_slider .box div dl dd .score10:before {
  content: "\e9d9\e9d7\e9d7\e9d7\e9d7";
}

.sub_slider .box div h4 {
  font-size: 15px;
  font-size: 1.5rem;
  margin: 0.5em 0;
  padding-top: 1em;
  border-top: 1px solid #d9d9d9;
}

.sub_slider .box div h4:before {
  font-family: 'icomoon';
  content: "\e96d";
  color: #60A37F;
  margin-right: 0.5em;
}

.sub_slider .box div .kuchi {
  font-size: 12px;
  font-size: 1.2rem;
  height: 4.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-bottom: 1em;
  color: #666;
}

@media (min-width: 1024px) {
  .sub_slider .box div .kuchi {
    height: 8em;
    -webkit-line-clamp: 5;
  }
}

.sub_slider .box div .btn {
  font-size: 12px;
  font-size: 1.2rem;
  margin: 0;
  border: 1px solid #d9d9d9;
  text-align: center;
}

.sub_slider .box div .btn a {
  display: block;
  padding: 1em;
  transition: .3s ease-in-out;
  background: #5087BF;
  color: #fff;
}

.sub_slider .box div .btn a:before {
  font-family: 'icomoon';
  content: "\e903";
  margin-right: 0.5em;
}

@media (min-width: 1024px) {
  .sub_slider .box div .btn a:hover {
    background: #666;
  }
}

.sub_slider ul {
  background: #eee;
}

.sub_slider ul li {
  display: none;
}

#arrow {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-100px);
}

@media (min-width: 1024px) {
  #arrow {
    width: 1000px;
    top: 45%;
    left: 50%;
    transform: translateX(-500px);
  }
}

#arrow .slick-next:before {
  font-family: 'icomoon';
  content: "\e903";
  background: #333;
  position: absolute;
  top: 0;
  right: 25px;
  padding: 0.5em;
  opacity: .5;
}

@media (min-width: 1024px) {
  #arrow .slick-next:before {
    right: -0.5em;
    padding: 1em;
  }
}

#arrow .slick-prev:before {
  font-family: 'icomoon';
  content: "\e902";
  background: #333;
  position: absolute;
  top: 0;
  left: 25px;
  padding: 0.5em;
  opacity: .5;
}

@media (min-width: 1024px) {
  #arrow .slick-prev:before {
    left: -0.5em;
    padding: 1em;
  }
}

.slick-prev:nth-child(1) {
  z-index: 100;
}

@media (min-width: 1024px) {
  a.disabled {
    pointer-events: none;
  }
}

#contents_box {
  margin: 0;
}

@media (min-width: 1024px) {
  #contents_box {
    margin: 0;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  #main_contents {
    width: 100%;
    padding-right: 0;
    border-right: none;
    float: none;
  }
}

.top_box1 {
  padding: 10px;
}

@media (min-width: 1024px) {
  .top_box1 {
    padding: 0;
    margin: 50px auto;
    max-width: 1000px;
  }
}

.main_contents {
  margin-bottom: 1.5em;
}

.main_contents img {
  width: 130px;
  float: left;
}

.main_contents ul {
  border-top: 1px solid #d9d9d9;
}

@media (min-width: 1024px) {
  .main_contents ul {
    border: none;
  }
}

.main_contents li {
  border-bottom: 1px solid #d9d9d9;
  padding: 1em 0;
}

.main_contents li::after {
  content: "";
  display: table;
  clear: both;
}

.main_contents a {
  text-decoration: none;
  color: #333;
}

.main_contents span:nth-of-type(2) {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 1em 0 0 140px;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.main_contents time {
  position: relative;
  display: block;
  margin: 0 0 0 140px;
  font-size: 12px;
  font-size: 1.2rem;
}

@media (min-width: 1024px) {
  .main_contents {
    width: 675px;
    padding-right: 24px;
    border-right: 1px solid #d9d9d9;
    float: left;
  }
  .main_contents li {
    width: 49%;
    float: left;
    position: relative;
    transition: .3s ease-in-out;
    overflow: hidden;
    padding: 0;
    border-bottom: none;
    margin-bottom: 1em;
  }
  .main_contents li:nth-child(1), .main_contents li:nth-child(3), .main_contents li:nth-child(5) {
    margin-right: 1%;
  }
  .main_contents li:nth-child(2), .main_contents li:nth-child(4), .main_contents li:nth-child(6) {
    margin-left: 1%;
  }
  .main_contents li:nth-child(5), .main_contents li:nth-child(6) {
    margin-bottom: 0;
  }
  .main_contents li time {
    position: relative;
    display: block;
    margin: 1em 1em 0.5em 1em;
    font-size: 12px;
    font-size: 1.2rem;
    transition: .3s ease-in-out;
  }
  .main_contents li span:nth-of-type(2) {
    font-size: 15px;
    font-size: 1.5rem;
    padding: 0 1em 1em 1em;
    margin: 0 0 1em 0;
    transition: .3s ease-in-out;
    height: 3em;
  }
  .main_contents li img {
    transition: .3s ease-in-out;
    backface-visibility: hidden;
    width: 100%;
    float: none;
    opacity: 1;
  }
}

.basic {
  position: relative;
}

.basic span:nth-of-type(1) {
  background: #AD1E26;
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 12px;
  font-size: 1.2rem;
}

@media (min-width: 1024px) {
  .basic span:nth-of-type(1) {
    top: 170px;
  }
  .basic:hover {
    background: #AD1E26;
  }
  .basic:hover span, .basic:hover time {
    color: #fff;
  }
  .basic:hover img {
    opacity: 0.5;
  }
}

.practice {
  position: relative;
}

.practice span:nth-of-type(1) {
  background: #003555;
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 12px;
  font-size: 1.2rem;
}

@media (min-width: 1024px) {
  .practice span:nth-of-type(1) {
    top: 170px;
  }
  .practice:hover {
    background: #003555;
  }
  .practice:hover span, .practice:hover time {
    color: #fff;
  }
  .practice:hover img {
    opacity: 0.5;
  }
}

.right_box {
  background: #eee;
}

@media (min-width: 1024px) {
  .right_box {
    margin-left: 685px;
  }
}

@media (min-width: 1024px) {
  .sub_rank {
    padding-top: 2em;
  }
}

.top_box2 {
  background: #4fb782;
  padding: 20px 0;
  clear: both;
}

@media (min-width: 1024px) {
  .top_box2 {
    padding: 50px 0 20px 0;
    background: url(../images2017/home/bg_yorozu.jpg) top center #4fb782;
  }
}

.top_box2 div {
  padding: 10px;
}

@media (min-width: 1024px) {
  .top_box2 div {
    padding: 0;
    margin: 0 auto;
    max-width: 1000px;
  }
}

.top_box2 div h2 {
  text-align: center;
  margin-bottom: 2em;
  padding-top: 2em;
  font-size: 20px;
  font-size: 2.0rem;
  text-indent: 110%;
  width: 320px;
  height: 48px;
  margin: 0 auto 60px auto;
  overflow: hidden;
  background: url(../images2017/home/ttl_yorozu.png) top center/contain no-repeat;
}

@media (min-width: 1024px) {
  .top_box2 div h2 {
    font-size: 30px;
    font-size: 3.0rem;
    width: 600px;
    height: 90px;
    margin: 20px auto 80px auto;
  }
}

.top_box2 div li {
  background: #fff;
  position: relative;
  box-shadow: 5px 5px  #aaa;
  margin-bottom: 3.5em;
}

@media (min-width: 1024px) {
  .top_box2 div li {
    width: 32%;
    box-shadow: none;
    margin-bottom: 3em;
    float: left;
    transition: .3s ease-in-out;
  }
  .top_box2 div li:nth-child(2) {
    margin: 0 2%;
  }
  .top_box2 div li:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px  #aaa;
  }
}

.top_box2 div li::after {
  content: "";
  display: table;
}

.top_box2 div li::before {
  content: "pick up!";
  background: #CD516A;
  color: #fff;
  position: absolute;
  padding: 0.3em 1em;
  border-radius: 3px 3px 0 0;
  top: -2.2em;
  left: 1em;
  font-size: 12px;
}

.top_box2 div li a {
  text-decoration: none;
  color: #333;
  display: block;
  height: 100%;
}

.top_box2 div li img {
  width: 70px;
  float: left;
  margin: 1em 0 0 1em;
}

.top_box2 div li span:nth-child(2) {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 1em  1em 0 2.5em;
  height: 6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-indent: -1.6em;
}

@media (min-width: 1024px) {
  .top_box2 div li span:nth-child(2) {
    font-size: 15px;
    font-size: 1.5rem;
  }
}

.top_box2 div li span:nth-child(2)::before {
  content: "Q.";
  margin-right: 0.5em;
}

.top_box2 div li span:nth-child(3) {
  font-size: 14px;
  font-size: 1.4rem;
  float: none;
  clear: both;
  padding: 1em;
  display: block;
  color: #666;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .top_box2 div li span:nth-child(3) {
    padding-top: 0.5em;
    font-size: 15px;
    font-size: 1.5rem;
    margin-bottom: 1em;
    height: 9.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    text-align: justify;
  }
}

.top_box2 .btn {
  text-align: center;
  margin: 2em 0 5em 0;
}

@media (min-width: 1024px) {
  .top_box2 .btn {
    margin: 3em 0 6em 0;
  }
}

.top_box2 .btn a {
  text-decoration: none;
  color: #fff;
  border: 2px solid #fff;
  padding: 2em 4em;
  transition: .3s ease-in-out;
}

@media (min-width: 1024px) {
  .top_box2 .btn a:hover {
    background: #666;
    border: 2px solid #666;
    color: #fff;
  }
}

.top_box2 .btn a::before {
  font-family: 'icomoon';
  content: "\e903";
  margin-right: 0.5em;
}

.top_box3 {
  border-bottom: 1px solid #d9d9d9;
  position: relative;
}

.top_box3 h2 {
  text-align: center;
  margin-bottom: 1em;
  padding-top: 2em;
  font-size: 20px;
  font-size: 2.0rem;
  color: #003555;
}

@media (min-width: 1024px) {
  .top_box3 h2 {
    font-size: 30px;
    font-size: 3.0rem;
  }
}

.top_box3 h2 span {
  display: block;
  width: 300px;
  margin: 0 auto;
  border-top: 1px solid #666;
  font-size: 12px;
  font-size: 1.2rem;
  color: #666;
  padding: 0.5em 0;
}

@media (min-width: 1024px) {
  .top_box3 h2 span {
    font-size: 18px;
    font-size: 1.8rem;
  }
}

.btn02 {
  text-align: center;
  margin: 2em 0 5em 0;
}

@media (min-width: 1024px) {
  .btn02 {
    margin: 3em 0 6em 0;
  }
}

.btn02 a {
  background: #666;
  text-decoration: none;
  color: #fff;
  padding: 2em 4em;
  transition: .3s ease-in-out;
}

@media (min-width: 1024px) {
  .btn02 a {
    background: #fff;
    color: #333;
    border: 2px solid #aaa;
  }
  .btn02 a:hover {
    background: #666;
    color: #fff;
    border: 2px solid #666;
  }
}

.btn02 a::before {
  font-family: 'icomoon';
  content: "\e903";
  margin-right: 0.5em;
}

.top_box4 {
  padding: 10px;
}

@media (min-width: 1024px) {
  .top_box4 {
    padding: 0;
    margin: 50px auto;
    max-width: 1000px;
  }
}

.top_box4 h2 {
  font-size: 20px;
  font-size: 2.0rem;
  border-left: 5px solid #003555;
  padding: 0.5em;
  color: #003555;
  margin: 1em 0 0.5em 0;
}

.top_box4 h2 span {
  margin-left: 0.5em;
  font-size: 12px;
  font-size: 1.2rem;
}

.top_box4 a {
  text-decoration: none;
  color: #333;
  display: block;
}

@media (min-width: 1024px) {
  .top_box4 a:hover p:nth-of-type(2) {
    text-decoration: underline;
  }
}

.top_box4 .news, .top_box4 .event {
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 1em;
}

@media (min-width: 1024px) {
  .top_box4 .news, .top_box4 .event {
    width: 49%;
    float: left;
    border: none;
  }
  .top_box4 .news div, .top_box4 .event div {
    border: 1px solid #d9d9d9;
    padding: 1em;
    box-sizing: border-box;
  }
}

.top_box4 .news img, .top_box4 .event img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

@media (min-width: 1024px) {
  .top_box4 .news img, .top_box4 .event img {
    width: 175px;
  }
}

.top_box4 .news time, .top_box4 .event time {
  font-size: 12px;
  font-size: 1.2rem;
  color: #666;
}

.top_box4 .news p:nth-of-type(1), .top_box4 .event p:nth-of-type(1) {
  background: #eee;
  margin-bottom: 1em;
}

@media (min-width: 1024px) {
  .top_box4 .news p:nth-of-type(1), .top_box4 .event p:nth-of-type(1) {
    width: 175px;
    float: left;
    margin-right: 1em;
  }
}

.top_box4 .news p:nth-of-type(2), .top_box4 .event p:nth-of-type(2) {
  font-weight: bold;
  margin: 0.5em 0;
}

@media (min-width: 1024px) {
  .top_box4 .news p:nth-of-type(2), .top_box4 .event p:nth-of-type(2) {
    font-size: 18px;
    font-size: 1.8rem;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

.top_box4 .news p:nth-of-type(3), .top_box4 .event p:nth-of-type(3) {
  font-size: 12px;
  font-size: 1.2rem;
  color: #666;
  height: 4.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (min-width: 1024px) {
  .news {
    margin-right: 1%;
  }
}

@media (min-width: 1024px) {
  .event {
    margin-left: 1%;
    margin-bottom: 1em;
  }
}

.soudan {
  clear: both;
  margin-top: 5em;
  display: block;
}

@media (min-width: 1024px) {
  .soudan {
    background: #eee;
    padding: 1em;
    margin: 1em 0;
  }
}

.soudan p:nth-child(1) {
  font-weight: bold;
  font-size: 18px;
  font-size: 1.8rem;
  margin: 1.5em 0 0.5em 0;
  border-left: 5px solid #003555;
  padding: 0.5em;
}

@media (min-width: 1024px) {
  .soudan p:nth-child(1) {
    text-align: center;
    padding: 0;
    border: none;
    margin: 1em 0;
    font-size: 20px;
    font-size: 2.0rem;
  }
}

.soudan a {
  display: inline;
}

.soudan .btn01 a {
  color: #fff;
  display: block;
}

.soudan .charge, .soudan .free {
  border: 1px solid #d9d9d9;
  padding: 0 1em 1em 1em;
  margin-bottom: 1em;
}

@media (min-width: 1024px) {
  .soudan .charge, .soudan .free {
    background: #fff;
    width: 49%;
    float: left;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .soudan .charge {
    margin-right: 1%;
  }
  .soudan .charge div {
    min-height: 155px;
  }
  .soudan .free {
    margin-left: 1%;
  }
}

time {
  letter-spacing: 1px;
}

.update {
  border-top: 1px solid #d9d9d9;
  margin-bottom: 3em;
}

@media (min-width: 1024px) {
  .update ul {
    width: 70%;
    float: left;
  }
  .update ul li {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

.update:last-child {
  margin-bottom: 0;
}

.update ul:nth-of-type(1) li {
  margin-bottom: 0.5em;
}

.update ul:nth-of-type(1) li time {
  display: inline;
  margin-right: 1em;
  font-size: 12px;
  letter-spacing: 1px;
  color: #666;
}

.update ul:nth-of-type(1) li a {
  text-decoration: underline;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (min-width: 1024px) {
  .update ul:nth-of-type(1) li a {
    display: inline;
    text-decoration: none;
  }
  .update ul:nth-of-type(1) li a:hover {
    text-decoration: underline;
  }
}

.update #footer_sns li {
  width: 50px;
}

.update #footer_sns li a {
  height: 50px;
  padding-top: 50px;
}

.update #footer_sns li a:before {
  top: 20%;
  left: 45%;
  font-size: 20px;
  text-transform: translate(-50%);
}

.update #footer_sns .h_sns_facebook {
  margin-right: 0;
}

.update #footer_sns .h_sns_facebook a:before {
  content: "\e60d";
}

.update #footer_sns .h_sns_twitter {
  margin: 0 1%;
}

.update #footer_sns .h_sns_twitter a:before {
  content: "\e611";
}

.update #footer_sns .h_sns_google {
  margin-right: 0;
}

.update #footer_sns .h_sns_google a:before {
  content: "\e608";
}

@media (min-width: 1024px) {
  #footer_sns {
    border: none;
    width: 30%;
    margin: 0;
    padding: 1em 0 0 0;
    text-align: right;
  }
}
