/* 共通 */
video {
  width: 100%;
}

.top-sec_title {
  text-align: center;
  color: #22a222;
  font-family: 'Roboto';
  padding-bottom: 30px;
  font-weight: bold;
}

section:nth-child(even) {
  background: #FFFFFF;
}

section:nth-child(odd) {
  background: #f2f0e9;
}

/* TOPページの背景動画 */
.perspective-image {
  background-image: url("/assets/img/FYI00024370.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  align-items: center;
  -webkit-box-align: center;
	-ms-flex-align: center;
  overflow: hidden;
  background-position-y: 60px;
  height: 100vh;
}

.movie-shader {
  position: absolute;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.front-transparent {
  display: flex;
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  justify-content: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
  z-index: 3;
  margin: 30px 50px 0;
  padding: 10px;
  background-color: rgba(0,0,0,0.2);
}

.emphasis-word {
  
  font-weight: bold;
  line-height: 6vw;
  /* font-family: 'Yu Gothic', "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Osaka","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",Roboto,sans-serif; */
}

.heading-word {
  
}

.perspective-image span {
  font-family: 'Yu Gothic', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Roboto, sans-serif;
  color: #ffffff;
}

/* ニュース */

.top-sec-news {
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
}

.fixed-container {
  width: 100%;
  max-width: 1400px;
}

.top-sec-news .top-sec_title {
  font-family: 'Roboto';
  color: #22a222;
  text-align: left;
  align-self: center;
  padding-top: 40px;
}

.top-news_list>li>a:hover {
  background-color: #ddffcc;
  transform: translateX(30px);
}

.top-news-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.top-news-wrapper>div:nth-child(1) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex: 15%;
  max-width: 15%;
}

.top-news-wrapper>div:nth-child(2) {
  flex: 83%;
  max-width: 83%;
}

.top-news_list>li>a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  border-bottom: 1px solid #ececec;
  text-decoration: none;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  transition: all .3s;
}

.top-news_status {
  display: inline-block;
  width: 70px;
  height: 25px;
  line-height: 25px;
  color: white;
  text-align: center;
  margin: 0 20px 0 15px;
}

.top-news_list_item-info {
  background: #4679c0;
}

.top-news_list_item-blog {
  background: #3d9074;
}

.top-news_list_item-media {
  background: #cc5e5e;
}

/* サービス */
.nav-heading-wrap {
  display: flex;
  justify-content: center;
}

.nav-heading {
  width: 80%;
  margin: 0 auto;
}

.nav-heading-title {
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 50px;
}

.nav-heading-text {
  color: #333;
  
}

.nav-heading-text span {
  
  font-weight: bold;
}

.nav-content-wrap {
  padding-top: 30px;
}

.nav-content {
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.ex-nav-content {
  flex: 1;
  position: relative;
  z-index: 1;
  display: block;
  background: #FFFFFF;
  margin: 0 10px;
  min-width: 270px;
  height: 470px;
  -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
  -webkit-transition: all 0.3s linear 0s;
  -moz-transition: all 0.3s linear 0s;
  -ms-transition: all 0.3s linear 0s;
  -o-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.ex-nav-content .category-title {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #22a222;
    padding: 10px 15px;
    color: #FFFFFF;
    
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.ex-nav-content img {
  display: block;
  -webkit-transition: all 0.3s linear 0s;
  -moz-transition: all 0.3s linear 0s;
  -ms-transition: all 0.3s linear 0s;
  -o-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.ex-nav-content:hover {
  background-color: #ddffcc;
}

.ex-nav-content a {
  display: inline-block;
  height: 100%;
  width: 100%;
}

.ex-nav-title {
  display: flex;
  color: #FFFFFF;
  flex: 1;
  width: 100%;
  align-items: center;
  flex-direction: column;
  
  text-align: center;
  transition: .8s;
  margin: 0 0 30px 0;
  position: relative;
  overflow: hidden;
}

.transform-image {
  overflow: hidden;
  width: 100%;
  z-index: 0;
  height: 210px;
}

.transform-image img {
  transition: 0.8s;
  width: 120%;
}

.ex-nav-text {
  position: absolute;
  bottom: 0;
  background: #FFFFFF;
  width: 100%;
  height: 260px;
  padding: 15px;
  -webkti-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
  -moz-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
  -ms-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
  -o-transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
  transition: all 0.3s cubic-bezier(0.37, 0.75, 0.61, 1.05) 0s;
}

.ex-nav-text-wrap {
  margin: 0 20px;
}

/* プロフィール */

.top-sec-profile {
  position: relative;
}

.picture-frame {
  position: absolute;
  background-image: url(/assets/img/leaf0348.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 250px;
  height: 380px;
  bottom: 0;
  right: 0;
  z-index: 0;
  /* opacity: 0.6; */
}

.picture-frame-rotate {
  position: absolute;
  background-image: url(/assets/img/leaf0348_r.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 250px;
  height: 380px;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.6;
}

.profile-wrap {
  justify-content: flex-end;
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row-reverse;
}

.profile-content {
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex: 2;
  margin-right: 50px;
  justify-content: flex-end;
}

.profile-content-img {
  flex: 1;
  align-items: start;
  margin: 0px 50px 0px 0px;
  justify-content: center;
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.profile-content-img img {
  width: auto;
  max-width: 280px;
  height: 100%;
  max-height: 320px;
}

.profile-text-wrap {
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  flex-direction: column;
  display: flex;
  flex: 60%;
}

.profile-title {
  -js-display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  flex-direction: column;
  display: flex;
}

.instractor-name {
  
  margin: 10px 0 30px 30px;
}

.profile-text-wrap>div>h2 {
  
  font-weight: bold;
}

.profile-text-wrap>div>div {
  
  margin: 10px 0 30px 30px;
}

.instractor-text {
  margin-left: 30px;
}

.profile-text-wrap>div>div:nth-last-child(1) {
  margin-bottom: 0;
}

@media screen and (min-width: 1400px) {
  .ex-nav-content {
    height: 560px;
  }

  .transform-image {
    height: 270px;
  }

  .ex-nav-text {
    height: 290px;
  }
}

@media screen and (max-width: 1200px) {
  .service-word {
    
  }
}

@media screen and (max-width: 1050px) {
  .nav-content {
    margin: 0;
    -js-display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .ex-nav-content {
    flex: 46%;
    max-width: 46%;
    position: relative;
    box-shadow: 0 2px 5px #ccc;
    margin: 10px 10px;
    transition: .8s;
  }
  .ex-nav-title {
    background: #000000;
    overflow: hidden;
    display: flex;
    color: #FFFFFF;
    flex: 1;
    width: 100%;
    align-items: center;
    flex-direction: column;
    
    text-align: center;
    transition: .8s;
    margin: 0 0 20px 0;
    position: relative;
    overflow: hidden;
  }
  .transform-image {
    overflow: hidden;
    width: 100%;
    z-index: 0;
  }
  .transform-image img {
    transition: 0.8s;
  }
}

@media screen and (max-width: 850px) {
  .perspective-image {
    background-position: center 70px;
  }
}

@media screen and (max-width: 767px) {
  /* 共通 */
  section {
    width: 98%;
    margin: 0 auto;
  }

  .main-wrap {
    width: 100%;
  }

  .top-sec {
    padding: 0 3%;
    padding-top: 40px;
    padding-bottom: 60px;
    margin: 0;
    width: 100%;
  }
  
  /* TOPページの背景動画 */
  .perspective-image {
    padding-top: 70px;
    height: 520px;
    background-position-y: 70px;
  }

  .front-transparent {
    z-index: 3;
    margin: 0px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    z-index: 3;
    top: 150px;
    
    padding: 16px 8px;
  }

  .emphasis-word {
    font-size: 30px;
    line-height: 2vw;
  }
  
  .heading-word {
    font-size: 20px;
    font-weight: bold;
  }

  /* お知らせ */
  .top-news-wrapper {
    padding-top: 30px;
  }

  .top-news-wrapper>div:nth-child(1),
  .top-news-wrapper>div:nth-child(2) {
    flex: 100%;
    max-width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
  }

  .top-news-wrapper>div:nth-child(1) {
    margin-bottom: 10px;
  }

  .top-sec-news {
    padding-top: 0;
    margin-top: 0;
  }

  .top-sec_title {
    padding-top: 0px;
    padding-bottom: 10px;
  }

  .top-news_list>li>a {
    padding: 15px 10px;
  }

  .top-news_list>li>a>div:first-child {
    margin-bottom: 10px;
  }

  /* サービス */
  .top-sec-service {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .nav-content {
    margin: 0;
    -js-display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .transform-image {
    overflow: hidden;
    width: 100%;
    z-index: 0;
  }

  .transform-image img {
    transition: 0.8s;
  }

  .ex-nav-content {
    flex: 0 0 auto;
    max-width: 100%;
    background-color: rgba(250, 250, 250, 0.6);
    position: relative;
    box-shadow: 0 2px 5px #ccc;
    margin: 20px 0;
    transition: .8s;
    height: 520px;
  }

  .nav-heading {
    width: 100%;
  }

  .nav-heading-wrap {
    display: flex;
    justify-content: center;
  }

  .nav-heading-title {
    justify-content: center;
    align-items: center;
    display: flex;
    margin-bottom: 50px;
  }

  .nav-heading-text {
    
    text-align: left;
    margin: 10px 0;
  }

  .nav-heading-text span {
    font-weight: bold;
    line-height: 1.7;
  }

  .nav-content-wrap {
    padding-top: 20px;
  }
  
  .ex-nav-title {
    display: flex;
    color: #FFFFFF;
    align-items: center;
    flex-direction: column;
    
    text-align: center;
    transition: .8s;
    margin: 0;
    position: relative;
    overflow: hidden;
  }

  .service-word {
    
  }

  .ex-nav-text {
    height: 310px;
    padding: 10px;
  }

  /* プロフィール */
  .profile-content-img {
    flex: 0 0 auto;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 18px;
  }

  .profile-wrap {
    padding: 0 10px;
    flex-direction: column;
  }
  .profile-content {
    flex: 0 0 auto;
    max-width: 100%;
    margin: 0;
  }
  .profile-content-img img {
    width: 70%;
    margin: 0 auto;
  }
  .profile-title {
    padding: 10px 0;
    text-align: start;
  }
  .instractor-name {
    padding-top: 10px;
  }

  .profile-text-wrap>div>div {
    
    margin: 0;
  }
  .instractor-text {
    padding: 10px 0;
    margin-left: 0px;
  }

  .instractor-license {
    padding-top: 10px;
  }
  
  .sp-menu-list_item-icon-arrow {
    position: absolute;
    width: 10%;
    height: auto;
    bottom: 30px;
    right: 20px;
  }
}

@media screen and (max-width: 400px) {
  .perspective-image {
    background-position-x: -172px;
  }
}

@media screen and (min-width: 960px) {

  .movie-shader {
    height: calc(100vh - 60px);
    top: 60px;
  }

  /* サービス */
  .nav-heading-text span {
    font-size: 30px;
  }

  /* プロフィール */
  .profile-title {
    margin-bottom: 30px
  }
}
@media screen and (min-width: 768px) {
  /* ヘッダイメージ */
  .emphasis-word {
    font-size: 5vw;
  }

  .heading-word {
    font-size: 20px;
  }
  
  .ex-nav-content:nth-child(1) {
    margin-left: 0;
  }

  .ex-nav-content:nth-last-child(1) {
    margin-right: 0;
  }

}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  _::-webkit-full-page-media, _:future, :root .profile-title{
    display: block;
  }
}