@charset "utf-8";

h2 {
  font-size: 40px;
}

main {
  margin-top: 200px;
  text-align: center;
}

h2 {
  position: absolute;
  top: 120px;
  left: 0;
  font-size: 70px;
  text-align: left;
  margin-left: 10%;
  letter-spacing: 0.2em;
}

/* トップページプロフィール */
.profile {

  margin: 100px auto;
  max-width: 1200px;
  height: 650px;
  /* border: solid 0.1px #000; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;

  h2 {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 70px;
    font-weight: bold;
    text-align: left;
    margin-top: -5%;
    margin-left: -2%;
    letter-spacing: 0.2em;
  }

  .divMovie {
    position: absolute;
    display: inline;
    width: 110%;
    height: 110%;
    object-fit: cover;

    video {
      width: 90%;
      height: 110%;
      text-align: center;
      border-radius: 30% 52% 25% 32% / 31% 26% 46% 39%;
    }
  }

  .typContent {
    .div1st {
      position: absolute;
      top: -20%;
      left: 70%;
      object-fit: cover;
      width: 100%;

      p {
        font-weight: bold;
        transform: rotate(-12deg);
        font-size: 28px;
        text-align: left;

        padding: 0;
        margin: 0;
      }

    }

    .div2st {
      position: absolute;
      top: 0%;
      left: 70%;
      width: 100%;

      p {
        font-weight: bold;
        transform: rotate(-12deg);
        font-size: 20px;
        text-align: left;
        padding: 0;
        margin: 0;
      }
    }
  }


}




/*==================================================
スライダーのためのcss
===================================*/

.sliderSection {
  text-align: center;
  margin: 250px auto;

}

.slider {
  text-align: center;
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  margin: 70px auto;
  width: 60vw;

  height: 70vh;
  display: flex;

}

.slider img {
  width: 60vw;
  height: 60vh;
  object-fit: cover;
  /*スライダー内の画像を60vwにしてレスポンシブ化*/

}

.slider .slick-slide {
  transform: scale(0.8);
  /*左右の画像のサイズを80%に*/
  transition: all .5s;
  /*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5;
  /*透過50%*/
}

.slider .slick-slide.slick-center {
  transform: scale(1);
  /*中央の画像のサイズだけ等倍に*/
  opacity: 1;
  /*透過なし*/
}


/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute;
  /*絶対配置にする*/
  top: 42%;
  cursor: pointer;
  /*マウスカーソルを指マークに*/
  outline: none;
  /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666;
  /*矢印の色*/
  border-right: 2px solid #666;
  /*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  margin: 20px 0 0 0;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px;
  /*ドットボタンのサイズ*/
  height: 8px;
  /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #ccc;
  /*ドットボタンの色*/
}

.slick-dots .slick-active button {
  background: #333;
  /*ドットボタンの現在地表示の色*/
}

@media screen and (max-width:640px) {
  main {
    margin-top: 100px;
    text-align: center;
  }

  .profile {
    top: 0;
    position: relative;
    margin: 10px auto;
    width: 100%;
    height: 100vh;
    /* border: solid 0.1px #000; */
    overflow: hidden;
    justify-content: center;
    align-items: center;
    text-align: center;

    h2 {
      position: absolute;
      top: 0;
      left: 0;
      font-size: 44px;
      font-weight: bold;
      text-align: left;
      margin-top: 0%;
      margin-left: 3%;
      letter-spacing: 0.2em;
      width: 100%;
    }

    .divMovie {
      position: absolute;
      display: inline;
      width: 160%;
      height: 100%;
      object-fit: cover;
      left: -28%;
      top: -25%;
      overflow: hidden;

      video {
        width: 90%;
        height: 110%;
        text-align: center;
        border-radius: 30% 52% 25% 32% / 31% 26% 46% 39%;
      }
    }

    .typContent {
      display: flex;
      .div1st {
        position: absolute;
        top: 55%;
        left: 3%;
        object-fit: cover;
        width: 100%;

        p {
          font-weight: bold;
          transform: none;
          font-size: 27px;
          text-align: left;

          padding: 0;
          margin: 0;
        }

      }

      .div2st {
        position: absolute;
      top: 67%;
        left: 3%;
        width: 100%;

        p {
          font-weight: bold;
          transform: none;
          font-size: 18px;
          text-align: left;
          padding: 0;
          margin: 0;
        }
      }
    }
  }

  .sliderSection {
    text-align: center;
    margin: 0px auto;

  }
}