/*----------------------------------------------------
  トップページ
--------------------------------------------------- */
/*----------------------------------------------------
 visual
--------------------------------------------------- */
@media screen and (max-width:767px) {
  #visual{
    position:relative;
  }
  #visual .lead{
    position:absolute;
    bottom: 13%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 68%;
    color: #fff;
    line-height: 1.3;
    font-size: 5vw;
    text-align: center;
    padding: 0.8em 0;
    background: url(https://www.ryugakujournal.com/img/visual_lead_sp.png) no-repeat center;
    background-size: cover;
  }
  #visual .bg img{
    width: 100%;
  }
}
@media screen and (min-width:768px) {
  #visual{
    background: url(https://www.ryugakujournal.com/img/visual_img_pc.jpg) no-repeat center;
    background-size: cover;
  }
  #visual .inner{
    position:relative;
    height: 400px;
  }
  #visual .lead{
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 640px;
    height: 90px;
    color: #fff;
    line-height: 90px;
    font-size: 30px;
    text-align: center;
    background: url(https://www.ryugakujournal.com/img/visual_lead_pc.png) no-repeat center;
    background-size: cover;
  }
  #visual .lead br{
    display: none;
  }
  #visual .bg{
    display: none;
  }
}

/*----------------------------------------------------
  #contents
--------------------------------------------------- */
#contents{
  background: #fafafa;
}
@media screen and (max-width:767px) {
  #contents{
    padding-bottom: 8%;
  }
  #contents .lead{
    text-align: center;
    font-size: 5.3125vw;
    padding: 1.5em 0;
    line-height: 1.5;
    font-weight: normal;
  }
  #contents .detail a{
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 4%;
    position: relative;
  }
  #contents .detail01 a,
  #contents .detail02 a{
    color: #fff;
  }
  #contents .detail03 a{
    color: #505050;
  }
  #contents .detail a .img img{
    width: 100%;
  }
  #contents .detail a .textarea{
    position: absolute;
    top: 2%;
    left: 6%;
  }
  #contents .detail a .title{
    font-family: 'Crimson Text', serif;
    font-size: 8.75vw;
    position: relative;
    padding-left: 25px;
    line-height: 1.5;
  }
  #contents .detail01 a .title::before,
  #contents .detail02 a .title::before{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    width: 20px;
    height: 20px;
    background: url(https://www.ryugakujournal.com/common/img/arrow_white.png) no-repeat center;
    background-size: cover;
  }
  #contents .detail03 a .title::before{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    width: 20px;
    height: 20px;
    background: url(https://www.ryugakujournal.com/common/img/arrow_gray.png) no-repeat center;
    background-size: cover;
  }
  #contents .detail a h3{
    font-weight: normal;
    font-size: 5vw;
  }
  #contents .detail a .text{
    font-size: 3.75vw;
    line-height: 1.5;
  }
  #contents .bannerArea li{
    margin-bottom: 4%;
  }
  #contents .bannerArea .bannerTypeA a{
    display: block;
    font-size: 4.0625vw;
    font-weight: bold;
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 1.5em 0;
  }
  #contents .bannerArea .banner01 a{
    background:#002d64;
  }
  #contents .bannerArea .banner01 a span{
    background: url(https://www.ryugakujournal.com/common/img/header_icon_01.png) no-repeat left center;
    background-size: 8%;
    padding-left: 6%;
  }
  #contents .bannerArea .banner02 a{
    background:#008ca0;
  }
  #contents .bannerArea .banner02 a span{
    background: url(https://www.ryugakujournal.com/common/img/header_icon_02.png) no-repeat left center;
    background-size: 9%;
    padding-left: 6%;
  }
  #contents .bannerArea .banner_program a,
  #contents .bannerArea .banner_magazine a{
    position: relative;
    display: block;
  }
  #contents .bannerArea .banner_program a{
    color: #505050;
  }
  #contents .bannerArea .banner_program a .text{
    position: absolute;
    top: 30%;
    left: 8%;
  }
  #contents .bannerArea .banner_program a .text span{
    font-size: 4.375vw;
    font-weight: bold;
  }
  #contents .bannerArea .banner_magazine a{
    color: #505050;
    font-size: 4.375vw;
    font-weight: bold;
  }
  #contents .bannerArea .banner_magazine a .text{
    position: absolute;
    top: 40%;
    left: 8%;
  }
  #contents .bannerArea .banner_magazine a .text br{
    display: none;
  }
  #contents .bannerArea .banner_program a img,
  #contents .bannerArea .banner_magazine a img{
    width: 100%;
  }
}
@media screen and (min-width:768px) {
  #contents .inner{
    overflow: hidden;
    padding-bottom: 60px;
  }
  #contents .lead{
    text-align: center;
    font-size: 26px;
    padding: 75px 0 70px;
    line-height: 1.5;
  }
  #contents .left{
    float: left;
    width: 760px;
  }
  #contents .detail a{
    box-sizing: border-box;
    padding: 10px 0 0 30px;
  }
  #contents .detail01 a,
  #contents .detail02 a{
    color: #fff;
    width: 365px;
    height: 340px;
    margin-bottom: 15px;
    float: left;
    position: relative;
  }
  #contents .detail03 a{
    color: #505050;
    width: 745px;
    height: 205px;
    float: left;
    position: relative;
  }
  #contents .detail a .img{
    display: none;
  }
  #contents .detail01 a{
    margin-right: 15px;
    background: url(https://www.ryugakujournal.com/img/contents_img_fact_pc.jpg) no-repeat center top;
    background-size: contain;
  }
  #contents .detail02 a{
    background: url(https://www.ryugakujournal.com/img/contents_img_support_pc.jpg) no-repeat center top;
    background-size: contain;
  }
  #contents .detail03 a{
    background: url(https://www.ryugakujournal.com/img/contents_img_message_pc.jpg) no-repeat center top;
    background-size: contain;
  }
  #contents .detail a .title{
    font-family: 'Crimson Text', serif;
    font-size: 40px;
    position: relative;
    padding-left: 30px;
  }
  #contents .detail01 a .title::before,
  #contents .detail02 a .title::before{
    position: absolute;
    top: 15%;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    width: 20px;
    height: 20px;
    background: url(https://www.ryugakujournal.com/common/img/arrow_white.png) no-repeat center;
    background-size: cover;
  }
  #contents .detail03 a .title::before{
    position: absolute;
    top: 15%;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    width: 20px;
    height: 20px;
    background: url(https://www.ryugakujournal.com/common/img/arrow_gray.png) no-repeat center;
    background-size: cover;
  }
  #contents .detail a h3{
    font-weight: normal;
    font-size: 20px;
  }
  #contents .detail a .text{
    line-height: 1.5;
  }
  #contents .bannerArea{
    float: right;
    width: 240px;
  }
  #contents .bannerArea li{
    margin-bottom: 15px;
  }
  #contents .bannerArea .bannerTypeA a{
    display: table-cell;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    height: 120px;
    width: 240px;
    vertical-align: middle;
  }
  #contents .bannerArea .banner01 a{
    background:#002d64;
  }
  #contents .bannerArea .banner01 a span{
    background: url(https://www.ryugakujournal.com/common/img/header_icon_01.png) no-repeat left center;
    background-size: 12px;
    padding-left: 20px;
  }
  #contents .bannerArea .banner02 a{
    background:#008ca0;
  }
  #contents .bannerArea .banner02 a span{
    background: url(https://www.ryugakujournal.com/common/img/header_icon_02.png) no-repeat left center;
    background-size: 14px;
    padding-left: 20px;
  }
  #contents .bannerArea .banner_program a{
    display: table-cell;
    vertical-align: middle;
    height: 140px;
    width: 240px;
    background: url(https://www.ryugakujournal.com/img/contents_img_program_pc.jpg) no-repeat center top;
    color: #505050;
    box-sizing: border-box;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.5;
  }
  #contents .bannerArea .banner_program a span{
    font-size: 15px;
    font-weight: bold;
  }
  #contents .bannerArea .banner_magazine a{
    display: table-cell;
    vertical-align: middle;
    height: 135px;
    width: 240px;
    background: url(https://www.ryugakujournal.com/img/contents_img_magazine_pc.jpg) no-repeat center top;
    color: #505050;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    box-sizing: border-box;
    padding-left: 20px;
  }
  #contents .bannerArea .banner_program a img,
  #contents .bannerArea .banner_magazine a img{
    display: none;
  }
}

/*----------------------------------------------------
  #voices
--------------------------------------------------- */
#voices{
  background-color: #dde6eb;
}
#voices .title {
  color: #323246;
  font-family: 'Crimson Text', serif;
  font-weight: normal;
  text-align: center;
}
#voices .list li .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
#voices .list li .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (max-width:767px) {
  #voices{
    padding: 8% 0;
  }
  #voices .title {
    font-size: 6.25vw;
    margin-bottom: 2%;
  }
  #voices .text{
    text-align: center;
    margin-bottom: 6%;
    font-size: 3.75vw;
  }
  #voices .text br{
    display: none;
  }
  #voices .list li{
    margin-bottom: 5%;
  }
}
@media screen and (min-width:768px) {
  #voices{
    padding: 60px 0;
  }
  #voices .title {
    font-size: 32px;
    margin-bottom: 10px;
  }
  #voices .text{
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
  }
  #voices .list{
    overflow: hidden;
    margin: 0 40px;
  }
  #voices .list li{
    float: left;
    width: 440px;
    margin-right: 40px;
  }
  #voices .list li:last-child{
    margin-right: 0;
  }
}

/*----------------------------------------------------
  #another
--------------------------------------------------- */
@media screen and (max-width:767px) {
  #another{
    padding: 10% 0;
  }
  #another .news h3{
    font-size: 4.375vw;
    font-weight: bold;
    color: #002e64;
    border-bottom: 3px solid #002e64;
    padding-bottom: 10px;
  }
  #another .news ul li{
    padding: 20px 0 15px 0;
    border-bottom: 1px dotted #506478;
    font-size: 3.75vw;
  }
  #another .news ul li .icon{
    padding: 2px 13px;
    display: inline-block;
    font-size: 3.4375vw;
    color: #fff;
    font-weight: bold;
    margin: 0 15px 5px 0;
  }
  #another .news ul li .date{
    font-size: 3.75vw;
  }
  #another .news ul li span.press{
    background-color: #0078dc;
  }
  #another .news ul li span.media{
    background-color: #785082;
  }
  #another .news ul li a{
    display: block;
  }
  #another .news .toList{
    text-align: center;
    font-size: 3.75vw;
    margin-top: 10%;;
  }
  #another .news .toList a{
    text-decoration: underline;
  }
  #another .side{
    margin-top: 10%;;
  }
  #another .side .banner_recruit img{
    width: 100%;
  }
  #another .side .sns{
    overflow: hidden;
    text-align: center;
    padding-top: 10%;;
  }
  #another .side .sns li{
    display: inline-block;
    margin: 0 5%;
    width: 10%;
  }
  #another .side .sns li img{
    width: 100%;
  }
  #another .side .banner_sendenkaigi{
    text-align: center;
    padding-top: 10%;;
  }
  #another .side .banner_sendenkaigi img{
    width: 100%;
  }
}
@media screen and (min-width:768px) {
  #another .inner{
    overflow: hidden;
    padding: 75px 0;
  }
  #another .news{
    float: left;
    width: 680px;
  }
  #another .news h3{
    font-weight: bold;
    color: #002e64;
    border-bottom: 3px solid #002e64;
    padding-bottom: 10px;
  }
  #another .news ul li{
    padding: 20px 0 15px 0;
    border-bottom: 1px dotted #506478;
  }
  #another .news ul li .icon{
    padding: 2px 13px;
    display: inline-block;
    font-size: 13px;
    color: #fff;
    font-weight: bold;
    margin: 0 20px 15px 0;
  }
  #another .news ul li span.press{
    background-color: #0078dc;
  }
  #another .news ul li span.media{
    background-color: #785082;
  }
  #another .news ul li a{
    display: block;
  }
  #another .news .toList{
    text-align: right;
    margin-top: 20px;
  }
  #another .side{
    float: right;
    width: 240px;
  }
  #another .side .sns{
    overflow: hidden;
    text-align: center;
    padding-top: 40px;
  }
  #another .side .sns li{
    display: inline-block;
    margin: 0 10px;
  }
  #another .side .sns li img{
    width: 30px;
  }
 #another .side .banner_sendenkaigi{
    text-align: center;
    padding-top: 40px;
  }
}