@charset "UTF-8";

body{
  background-color: #000;
}

#mid_career{
  width: 100%;
  min-height: calc(100vh - (8.05vmax + 25px));
  min-height: calc(100svh - (8.05vmax + 25px));
  padding: 8.05vmax 0 0 0;
}
      #mid_career::before {
        content: "";
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        z-index: -1;
        width: 100%;
        height: 100vh;
        height: 100svh;
        background-repeat: no-repeat;
        background-position: center right;
        background-image: url("../img/mid_career/top.png");
        background-size: cover;
      }
      
      @media screen and (max-width: 1380px) {
        #mid_career::before {
          right: -200px;
          width: calc( 100% + 200px);
        }
      }
      @media screen and (max-width: 1080px) {
        #mid_career::before {
          right: -30vmax;
          width: calc( 100% + 30vmax);
        }
      }


.mid_career_triangle {
  position: fixed;
  width: auto;
  height: 70vh;
  left: 0;
  bottom: 0;
  z-index: 1;
}

.mid_career_title {
  position: relative;
  display: block;
  z-index: 4;
}
      .mid_career_title img {
        margin: 4em 6em;
        height: 20vh;
      }

.mid_career_main {
  position: relative;
  width:100%;
  z-index: 4;
}
      .mid_career_main a { text-decoration:none; }
      .mid_career_main a:link,
      .mid_career_main a:visited,
      .mid_career_main a:active { color:#000; }

.mid_career_contents1, .mid_career_contents2 {
  height: auto;
  width: 55vw;
  max-width: 650px;
  margin: 4em 0;
}
.mid_career_contents1 {
  padding: 1em 0 0.5em 2em;
  background:url("../img/mid_career/button1.png") top left / 100% 100% no-repeat;
}
.mid_career_contents2 {
  padding: 1.5em 0 0.8em 2em;
  background:url("../img/mid_career/button2.png") top left / 100% 100% no-repeat;
}
      .mid_career_contents1 img,
      .mid_career_contents2 img { 
        position: relative;
        width: 55vh;
        transition-duration: 0.3s;        
      }
      .mid_career_contents1 img:hover,
      .mid_career_contents2 img:hover { 
        transform: translateY(-3px);
        transition-duration: 0.2s;
      }


@media screen and (max-width: 1080px) {
  .sns {
    background-color: rgba(0,0,0,1);
  }

  #mid_career {
    height: calc(100vh - (65px + 25px));
    height: calc(100svh - (65px + 25px));
    padding: 65px 0 0 0;
  }

  .mid_career_triangle {
    height: 40vh;
  }

  .mid_career_title img {
    width: 40vw;
    height: auto;
    min-width: 300px;
    margin: 5vh 5vw;
  }

  .mid_career_contents1, .mid_career_contents2 {
    height: auto;
    width: 85%;
    max-width: 600px;
    margin: 0em 0 3em;
  }
  .mid_career_contents1 {
    padding: 1em 0 0.5em 1.5em;
  }
  .mid_career_contents2 {
    padding: 1.5em 0 0.8em 1.5em;
  }
        .mid_career_contents1 img,
        .mid_career_contents2 img { 
          position: relative;
          width: 85%;
          max-width: 500px;    
        }
}
