@import "_var.scss";
@import "base.css";
@import "common.css";
/*---------------------------------
Page CSS 2018.05
CSS 担当者名 Document 2018.05
Last Update 2018.05 担当者名
---------------------------------*/

/*
トップページ
-------------------------------------*/
#Page.pageIndex {
  #MainImg {
    width: 100%;
    height: 670px;
    #Slide {
      width: 100%;
      height: 100%;
      position: relative;
      .slide_item {
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
      }
      .slide_item01 { background-image: url(/daigakuin/common_2/img/contents/top/mainimage_01.jpg); }
      .slide_item02 { background-image: url(/daigakuin/common_2/img/contents/top/mainimage_02.jpg); }
      .slide_item03 { background-image: url(/daigakuin/common_2/img/contents/top/mainimage_03.jpg); }
      .slide_item04 { background-image: url(/daigakuin/common_2/img/contents/top/mainimage_04.jpg); }		
      .slick-list, .slick-track {
        width: 100%;
        height: 100%;
      }
      .slick-num {
        position: absolute;
        right: 44px;
        bottom: 30px;
        display: flex;
        align-items: center;
        p {
          color: #fff;
          margin-bottom: 0;
          span { display: inline-block; }
          &.progress {
            width: 40px;
            margin: 0 10px;
            .bar {
              display: block;
              width: 100%;
              height: 1px;
              background-color: #fff;
              position: relative;
              &:after {
                position: absolute;
                top: 0;
                left: 0;
                content: '';
                display: block;
                width: 0%;
                height: 100%;
              }
              &.active:after {
                background-color: $basic_green01;
                animation: progress 5.5s ease;
              }
            }
          }
        }
      }
    }
  }
  #Main {
    #ContBox01 {
      padding: 120px 0 50px;
      p {
        text-align: center;
        background: url(/daigakuin/common_2/img/header/logo.png) no-repeat center top;
        background-size: 62px auto;
        padding-top: 86px;
        margin-bottom: 0;
      }
    }
    #ContBox02 {
      .contSubBox {
        padding-top: 50px;
        position: relative;
        z-index: 0;
        .flexBox {
          justify-content: space-between;
          .image {
            width: 580px;
            img {
              width: 100%;
              height: auto;
            }
          }
          .contents {
            width: calc(100% - 630px);
            padding-top: 23px;
            a {
              display: block;
              text-decoration: none;
              &.button {
                width: 100%;
                background-color: #fff;
                color: $basic_green02;
                text-align: center;
                padding: 18px 0;
                border: solid $basic_green02;
                border-width: 3px 1px 1px 1px;
                pointer-events: none;
                span {
                  display: inline-block;
                  font-size: 18px;
                  // background: url(/daigakuin/common_2/img/contents/target_02.png) no-repeat right center;
                  background-size: 16px;
                  // padding-right: 26px;
                }
              }
            }
            .subBox {
              display: flex;
              background-color: #fff;
              padding: 34px 50px 31px;
              margin-top: 30px;
              dl {
                width: 100%;
                & + dl {
                  margin-left: 90px;
                  position: relative;
                  &:before {
                    position: absolute;
                    content: '';
                    height: calc(100% - 15px);
                    border-left: 1px dashed #d7cda9;
                    top: 5px;
                    left: -46px;
                  }
                }
                dt {
                  color: $basic_brown01;
                  margin-bottom: 11px;
                }
                dd {
                  ul li {
                    line-height: 2;
                    a {
                      width: 100%;
                      background: url(/daigakuin/common_2/img/contents/target_03.png) no-repeat right 1px top 16px;
                      background-size: 13px auto;
                      padding: 6px 0 7px;
                    }
                    & + li {
                      border-top: 1px dashed $basic_brown02;
                    }
                  }
                }
              }
            }
          }
        }
        &:before {
          position: absolute;
          content: '';
          width: calc( (100% / 2) + 500px );
          height: 300px;
          background-color: #f7f5ed;
          top: 0;
          right: 0;
          z-index: -1;
        }
        &:nth-of-type(even) {
          &:before {
            right: auto;
            left: 0;
          }
          .flexBox {
            flex-direction: row-reverse;
          }
        }
        & + .contSubBox { margin-top: 72px; }
      }
      .contSubBox01 {
        .flexBox .contents a.button {
          pointer-events: auto;
          span {
            padding-right: 26px;
            background: url(/daigakuin/common_2/img/contents/target_02.png) no-repeat right 0 top 6px;
            background-size: 16px;
          }
        }
      }
      .contSubBox02 {
        .flexBox .contents {
          a.button span {
            // background-image: url(/daigakuin/common_2/img/contents/arrow_06.png);
            background-position: right bottom 4px;
            background-size: 9px auto;
          }
          .subBox dl dd ul li a {
            background-image: url(/daigakuin/common_2/img/contents/arrow_02.png);
            background-position: right 2px top 17px;
            background-size: 7px auto;
          }
        }
      }
      .contSubBox04 {
        .flexBox .contents a.button {
          pointer-events: auto;
          span {
            background: url(/daigakuin/common_2/img/contents/target_02.png) no-repeat right 0px top 6px;
            background-size: 16px;
            padding-right: 26px;
          }
        }
      }
    }
    #ContBox03 {
      margin-top: 138px;
      background-color: $basic_green01;
      padding: 103px 0 111px;
      .innerBasic { width: 1000px; }
      .flexBox {
        .contBoxTitle {
          width: calc(100% - 717px);
          font-size: 38px;
          color: #000;
          letter-spacing: 0.2em;
          line-height: 34px;
          small {
            display: block;
            font-size: 24px;
            letter-spacing: 0.2em;
          }
        }
        div {
          width: 717px;
          .postList {
            li {
              .date {
                display: block;
                color: #000;
                margin-bottom: 6px;
              }
              p {
                margin-bottom: 0;
                a {
                  color: #000;
					&:after {
                    display: inline-block;
                    content: '';
                    width: 15px;
                    height: 15px;
                    background: url(/daigakuin/common_2/img/contents/target_01.png) no-repeat left top;
                    background-size: 15px auto;
                    margin-left: 8px;
                    transform: translateY(2px);
                  }
                }
              }
              & + li { margin-top: 43px; }
            }
          }
        }
      }
    }
    #ContBox04 {
      padding: 10px 0 60px;
      ul {
        display: flex;
        flex-wrap: wrap;
        width: 1000px;
        margin: 0 auto -40px;
        li {
          margin-bottom: 40px;
          a {
            display: block;
            width: 480px;
            font-size: 24px;
            color: #b09c53;
            text-decoration: none;
            background: url(/daigakuin/common_2/img/contents/arrow_02.png) no-repeat right 39px center;
            background-size: 8px auto;
            padding: 31px 60px 31px 48px;
            border: 1px solid #b09c53;
          }
          &:nth-of-type(odd) { margin-right: 40px }
        }
      }
    }
    #ContBox05 {
      background-color: #f8f8f8;
      background-image: url(/daigakuin/common_2/img/contents/top/banner_bg_01.jpg);
      background-repeat: no-repeat;
      background-position: right bottom;
      background-size: 890px auto;
      padding: 67px 0 74px;
      .contBoxTitle {
        font-size: 38px;
        letter-spacing: 0.2em;
      }
      p {
        width: 334px;
        margin: 15px 0 0;
      }
    }
    #ContBox06 {
      padding: 140px 0 240px;
      .banner {
        display: flex;
        align-items: center;
        width: 100%;
        height: 200px;
        background: url(/daigakuin/common_2/img/contents/top/banner_bg_02_pc.jpg) no-repeat left top;
        background-size: 100% auto;
        font-size: 24px;
        color: #fff;
        text-decoration: none;
        padding-left: 60px;
        span {
          background: url(/daigakuin/common_2/img/contents/arrow_03.png) no-repeat right bottom 6px;
          background-size: 11px auto;
          padding-right: 28px;
        }
      }
    }
  }
}

@keyframes progress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/*
検索結果
-------------------------------------*/
#PageSearch.pageIndex {
  #Main {
    .contBox {
      padding: 132px 0 221px;
      h2 {
        font-size: 42px;
        color: $basic_green01;
        letter-spacing: 0.2em;
        text-align: center;
        margin-bottom: 40px;
      }
    }
  }
}

/*
大学院生への各種支援
-------------------------------------*/
#PageSupport.pageIndex {
  #MainImg {
    #MainImgInner { background-image: url(/daigakuin/common_2/img/contents/recommen/mainimg_pc.jpg); }
  }
  #Main {
    #ContBox01 {
      padding: 160px 0 240px;
      .innerBasic { width: 1000px; }
      .contSubBox {
        margin: 0 auto;
        & + .contSubBox { margin-top: 30px; }
        h3 {
          font-size: 24px;
          color: $basic_green02;
          background: url(/daigakuin/common_2/img/contents/icon_03.png) no-repeat right 20px center;
          background-size: 31px auto;
          padding: 24px 51px 27px 20px;
          border-top: 1px solid $basic_green02;
          border-bottom: 1px solid $basic_green02;
          &.active { background-image: url(/daigakuin/common_2/img/contents/icon_04.png); }
        }
        .showBox {
          padding: 44px 20px 70px;
          .post {
            & + .post { margin-top: 53px; }
            .title {
              font-size: 20px;
              color: $basic_brown01;
              padding-left: 26px;
              position: relative;
              &:before {
                position: absolute;
                content: '◆';
                top: 0;
                left: 0;
              }
            }
            .content {
              margin-top: 8px;
              .honbun {
                margin-bottom: 23px;
                p {
                  margin-bottom: 0;
                  & + p { margin-top: 16px; }
                }
              }
              table {
                width: 100%;
                th, td {
                  line-height: 2;
                  text-align: justify;
                  border-bottom: 1px solid #fff;
                  padding-top: 22px;
                  padding-bottom: 21px;
                }
                th {
                  width: 230px;
                  background-color: #effafa;
                  font-weight: 400;
                  vertical-align: middle;
                  padding-left: 30px;
                  padding-right: 30px;
                }
                td {
                  background-color: #f8f8f8;
                  padding-left: 40px;
                  padding-right: 40px;
                  border-left: 1px solid #fff;
                }
              }
              .button {
                width: 280px;
                height: 60px;
                margin: 40px auto 0;
                color: $basic_green02;
                text-decoration: none;
                display: flex;
                justify-content: center;
                align-items: center;
                border: 1px solid $basic_green02;
                span {
                  background: url(/daigakuin/common_2/img/contents/target_02.png) no-repeat right center;
                  background-size: 16px auto;
                  padding-right: 30px;
                }
              }
            }
          }
        }
      }
      .greenBox {
        margin-top: 100px;
        background-color: #effafa;
        padding: 45px 50px 46px;
        p {
          font-size: 14px;
          margin-bottom: 0;
        }
      }
    }
  }
}

/*
404
-------------------------------------*/
#Page404.pageIndex {
  #Main {
    .contBox {
      padding-top: 100px;
      h3 {
        font-size: 20px;
        color: $basic_green02;
        text-align: center;
      }
      p {
        text-align: center;
        margin: 25px 0 50px;
      }
      a {
        display: flex;
        margin: 0 auto;
        border: 1px solid #39acac;
        width: 280px;
        height: 60px;
        line-height: 58px;
        text-decoration: none;
        color: #39acac;
        justify-content: center;
        align-items: center;
      }
    }
  }
}

@media print, screen and (min-width: 768px) {
  /*
  トップページ
  -------------------------------------*/
  #Page.pageIndex {
    #Main {
      #ContBox02 {
        .contSubBox {
          .contents {
            a {
              transition: 0.5s ease;
              &.button:hover {
                color: #fff;
                background-color: $basic_green01;
                border-color: $basic_green01;
                span { background-image: url(/daigakuin/common_2/img/contents/target_01.png); }
              }
            }
            .subBox {
              dl dd ul li a:hover { color: $basic_brown01; }
            }
          }
        }
        .contSubBox02 {
          .contents {
            a.button:hover span { background-image: url(/daigakuin/common_2/img/contents/arrow_03.png); }
            .subBox {
              dl dd ul li a:hover { color: $basic_brown01; }
            }
          }
        }
      }
      #ContBox04 {
        ul li a {
          opacity: 1;
          transition: opacity 0.5s ease;
          &:hover { opacity: 0.6; }
        }
      }
      #ContBox06 {
        .banner {
          opacity: 1;
          transition: opacity 0.5s ease;
          &:hover { opacity: 0.7; }
        }
      }
    }
  }

  /*
  大学院生への各種支援
  -------------------------------------*/
  #PageSupport.pageIndex {
    #Main {
      #ContBox01 {
        .contSubBox {
          .click, .showBox .post .content .button {
            opacity: 1;
            transition: opacity 0.5s ease;
            &:hover { opacity: 0.6; }
          }
        }
      }
    }
  }

  /*
  404
  -------------------------------------*/
  #Page404.pageIndex {
    #Main {
      .contBox {
        a {
          opacity: 1;
          transition: opacity 0.5s ease;
          &:hover {
            opacity: 0.6;
          }
        }
      }
    }
  }
}


@media print,
screen and (max-width: 767px) {
  /*
  トップページ
  -------------------------------------*/
  #Page.pageIndex {
    #MainImg {
      height: 335px;
      #MainImgInner { padding: 0; }
      #Slide {
        .slide_item01 { background-image: url(/daigakuin/common_2/img/contents/top/mainimage_sp01.jpg); }
        .slide_item02 { background-image: url(/daigakuin/common_2/img/contents/top/mainimage_sp02.jpg); }
        .slide_item03 { background-image: url(/daigakuin/common_2/img/contents/top/mainimage_sp03.jpg); }
        .slide_item04 { background-image: url(/daigakuin/common_2/img/contents/top/mainimage_sp04.jpg); }
        .slick-num {
          right: 19px;
          bottom: 13px;
          p {
            font-size: 12px;
            &.progress {
              width: 30px;
              margin: 0 8px 0 5px;
            }
          }
        }
      }
    }
    #Main {
      #ContBox01 {
        padding: 40px 0 53px;
        p {
          background-size: 46px auto;
          text-align: justify;
          padding-top: 55px;
        }
      }
      #ContBox02 {
        .contSubBox {
          padding-top: 40px;
          &:before {
            width: calc(100% - 55px);
            height: calc(100% - 25px);
            min-height: 125px;
          }
 /*         & + .contSubBox { margin-top: 25px; }
          &:nth-of-type(even) {
            padding-top: 40px;
            &:before { height: 125px; }
            .flexBox {
              .image { display: none; }
              .contents { padding-top: 0; }
            }
          }*/
          .flexBox {
            .image {
              width: 100%;
              height: 130px;
              overflow: hidden;
              position: relative;
              img {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
              }
            }
            .contents {
              width: 100%;
              padding-top: 15px;
              a.button {
                padding: 10px 0;
                span {
                  background-size: 12px auto;
                  background-position: right 0 center;
                }
              }
              .subBox {
                margin-top: 15px;
                padding: 22px 15px;
                dl {
                  * { line-height: 21px; }
                  & + dl {
                    margin-left: 30px;
                    &:before { left: -15px; }
                  }
                  dt { margin-bottom: 6px; }
                  dd {
                    ul li {
                      line-height: 21px;
                      a {
                        padding: 12px 36px 12px 0;
                        background-position: right 1px center;
                        background-size: 10px auto;
                      }
                    }
                  }
                }
              }
            }
          }
        }
        .contSubBox01 {
          .flexBox {
            .image img {
              top: auto;
              bottom: -6%;
              transform: translateY(0);
            }
          }
        }
        .contSubBox02 {
          .flexBox .contents {
            a.button span {
              background-position: right bottom 6px;
              background-size: 7px auto;
            }
            .subBox dl dd ul li a {
              background-size: 6px auto;
            }
          }
        }
      }
      #ContBox03 {
        margin-top: 94px;
        padding: 54px 0 73px;
        .innerBasic { width: 100%; }
        .flexBox {
          flex-direction: column;
          .contBoxTitle {
            width: 100%;
            font-size: 32px;
            text-align: center;
            small {
              font-size: 19px;
              letter-spacing: 0.24em;
              margin-bottom: 3px;
            }
          }
          div {
            width: 100%;
            margin-top: 34px;
            .postList {
              li {
                & + li { margin-top: 40px; }
                .date { margin-bottom: 5px; }
              }
            }
          }
        }
      }
      #ContBox04 {
        padding: 60px 0 70px;
        ul {
          width: 100%;
          margin-bottom: -15px;
          li {
            width: 100%;
            margin-bottom: 15px;
            &:nth-of-type(odd) { margin-right: 0; }
            a {
              width: 100%;
              font-size: 21px;
              letter-spacing: 0.05em;
              background-size: 6px auto;
              background-position: right 19px center;
              padding: 21px 30px 21px 25px;
            }
          }
        }
      }
      #ContBox05 {
        background-position: right bottom;
        background-size: 375px auto;
        padding: 25px 0 164px;
        .contBoxTitle { font-size: 29px; }
        p {
          width: 100%;
          font-size: 14px;
          line-height: 26px;
          margin-top: 4px;
        }
      }
      #ContBox06 {
        padding: 50px 0 90px;
        .banner {
          width: 100%;
          height: 200px;
          background-image: url(/daigakuin/common_2/img/contents/top/banner_bg_02_sp.jpg);
          font-size: 21px;
          line-height: 33px;
          padding-left: 25px;
          span {
            background-size: 8px auto;
            background-position: right center;
            padding-right: 30px;
          }
        }
      }
    }
  }

  /*
  検索結果
  -------------------------------------*/
  #PageSearch.pageIndex {
    #Main {
      .contBox {
        padding: 66px 0 110px;
        h2 {
          font-size: 30px;
          margin-bottom: 20px;
        }
      }
    }
  }

  /*
  大学院生への各種支援
  -------------------------------------*/
  #PageSupport.pageIndex {
    #MainImg {
      #MainImgInner { background-image: url(/daigakuin/common_2/img/contents/recommen/mainimg_sp.jpg); }
    }
    #Main {
      #ContBox01 {
        padding: 115px 0 97px;
        .innerBasic {
          width: 100%;
          padding: 0;
        }
        .contSubBox {
          & + .contSubBox { margin-top: 15px; }
          h3 {
            font-size: 21px;
            line-height: 32px;
            background-size: 24px auto;
            background-position: right 15px center;
            padding: 15px 54px 16px 15px;
          }
          .showBox {
            padding: 24px 15px 45px;
            .post {
              & + .post { margin-top: 43px; }
              .title { font-size: 20px; }
              .content {
                .honbun {
                  margin-bottom: 16px;
                  p + p { margin-top: 14px; }
                }
                & > p { margin-bottom: 16px; }
                table {
                  th, td {
                    line-height: 28px;
                    padding-top: 16px;
                    padding-bottom: 16px;
                  }
                  th {
                    width: 127px;
                    padding-left: 10px;
                    padding-right: 10px;
                  }
                  td {
                    text-align: left;
                    padding-left: 15px;
                    padding-right: 15px;
                  }
                }
                .button {
                  width: 250px;
                  height: 50px;
                  margin-top: 25px;
                }
              }
            }
          }
        }
        .greenBox {
          margin: 60px 15px 0;
          padding: 20px 25px 18px;
        }
      }
    }
  }


}