html {
    margin-right: auto;
    margin-left : auto;
    text-align: center;
    background-color: #e5fff6;
  }
  @font-face {
    font-family: "幻ノにじみ明朝";
    src: url(http://wmspic.weimall.jp/img/幻ノにじみ明朝.otf) format('opentype');
  }
body {
  font-family: dnp-shuei-nmincho-std, sans-serif;
  font-weight: 400;
  font-style: normal;
  }
#aic-body{
    text-align: center;
    background-color: #e5fff6;
    margin: 0;
  }
  .firstvew{
    height: 850px;
  }
  /* 左ヘッダーロゴ */ 
  .ami-logo {
    width: 28%;
    text-align: left;
    object-fit: cover;
  }
  .ami-logo img{
    width: 50%;
    margin-top: 1%;
    margin-left: 5%;
  }

  /* ハンバーガーメニュー */ 
  .cc-following{
    position: fixed;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    /* background: #e5fff6; */
    padding-top: 35px;
    z-index: 999;
    text-align: center;
  }
  .cc-following, .overlay{
    display: block;
  }
  .menu_inside{
    margin-top: 25%;
    width: 30%;
    height: 100%;
    background: #ffffff;
    margin: 0 0 0 auto;
  }
  .hamburger {
    display : block;
    position: fixed;
    z-index : 999;
    right : 40px;
    top   : 20px;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    background: #484848;
    border: none;
    height: 1px;
    width: 60px;
    position: absolute;
    top: 0;
    -webkit-transition: all,.35s ease;
    transition: all,.35s ease;
    cursor: pointer;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
    left: 0;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
    width: 100%;
    left: 40%;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
    left: 0;
  }
  
  /* メニュー開いてる時のボタン */
  .hamburger.active {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition     : all 0.3s ease-in-out;
    transition        : all 0.3s ease-in-out;
    -webkit-transition-delay: 0.6s;
    -o-transition-delay     : 0.6s;
    transition-delay        : 0.6s;
    -webkit-transform: rotate(45deg);
    -ms-transform    : rotate(45deg);
    -o-transform     : rotate(45deg);
    transform        : rotate(45deg);
    z-index: 999;
  }
  .hamburger.active span:nth-child(2){
    width: 0px;
  }
  .hamburger.active span:nth-child(1),
  .hamburger.active span:nth-child(3){
    background :#666;
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }
  .hamburger.active span:nth-child(1){
    -webkit-transform: translateY(4px);
    -ms-transform    : translateY(4px);
    -o-transform     : translateY(4px);
    transform        : translateY(4px);
  }
  
  .hamburger.active span:nth-child(3){
    -webkit-transform: translateY(-16px) rotate(90deg);
    -ms-transform: translateY(-16px) rotate(90deg);
    -o-transform : translateY(-16px) rotate(90deg);
    transform    : translateY(-16px) rotate(90deg);
  }
  
  /* メニュー開いてる時の内容 */
  .open .globalMenuSp{
    display: block;
    width: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
  }
  .globalMenuSp {
    position: fixed;
    z-index : 0;
    top  : 0;
    right : 0;
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
  }
  .globalMenuSp_wrap{
    visibility: hidden;
    opacity: 0;
    transition: ease-in-out .2s;
    width: 45%;
    max-width: 720px;
    background: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    padding: 0 5%;
  }
  
  nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    margin-top: 5%;
  }
  
  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
  }
  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }
  nav.globalMenuSp ul li:hover{
    background :#e5fff6;
  }
  
  nav.globalMenuSp ul li a {
    display: block;
    color: #484848;
    padding: 1em 0;
    text-decoration :none;
  }
  .menu_logo img{
    width: 50%;
    margin-top: 20%;
  }
  .menu_acces{
    font-size: 20px;
    margin-top: 10%;
  }
   a.menu_tel,.menu_fax{
    text-decoration: none;
    color: #484848;
  }
   .menu_fax{
  border-top: 1px solid;
  }
  
  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    opacity: 100;
    z-index: 995;
    width: 100%;
  }
  /* メイン　受講案内 */
  .main{
    margin-top: 20%;
    color: #484848;
  }
  .course{
    width: 65%;
    margin: 0 auto;
  }
  .title{
      display: flex;
      flex-direction: column;
  }
  .c-title{
      display: flex;
      flex-direction: column;
      align-content: space-between;
  }
  .jukou-txt{
    font-size: 25px;
    padding-top: 10px;
  }
  .top-contents{
      text-align: left;
      margin-top: 150px;
  }
  .top-text{
    display: flex;
    flex-direction: column;
    margin-top: 5%;
  }
  .top-text2{
      margin-top: 5%;
      margin-bottom: 5%;
      text-align: left;
  }
  .txt-border{
    border-top: 1px solid #484848;
    border-bottom: 1px solid #484848;
    padding: 10px;
    margin-top: 10%;
  }

 /* 受講手順 */
  .img-title{
      margin-top: 10%;
  }
  .course-img{
      width: 100%;
  }
  .course-img img{
      width: 100%;
  }
  .form-img{
      width: 100%;
  }
  .form-img img{
      width: 100%;
  }
  .form-pdf{
    font-family: fot-tsukuardgothic-std, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.6rem;
    background: #fff;
    padding: 0.75em;
    border-radius:20px;
    color:white;
    width: 70%;
    margin: 0 auto;
  }
  .form-bg{
      margin-top: 5%;
      background: #bcecdb;
      padding-bottom: 5%;
  }
  /* 免許資格画像 */
  table{
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    width: 100%;
    margin-top: 5%;
  }
  
  table tr:last-child{
    border-bottom:solid 1px #bcecdb;
  }
  
  table th{
    text-align: center;
    padding: 7px 0;
    border-right:solid 1px #bcecdb;
    border-left:solid 1px #bcecdb;
    background-color:#bcecdb;
  }
  
  table th:nth-child(1){
    background-color:#bcecdb;
  }
  
  table th:nth-child(3){
    background-color:#bcecdb;
    color: white;
  }
  
  table tr:nth-child(2) td{
    padding: 10px;
  }
  
  table td{
    text-align: center;
    padding: 7px 0;
    border-right:solid 1px #bcecdb;
    border-left:solid 1px #bcecdb;
  }
  /* 資格に関するテキスト */
  .txt2{
    font-size: 1.2rem;
  }
  .lecturer-titl{
      text-align: left;
  }
  /* 講師紹介 */
  .txt-border2{
    padding: 10px;
    margin-top: 10%;
    margin-bottom: 10%;
    background-image: radial-gradient(#C5DAE5 30%, transparent 30%);
    background-size: 15px 15px;/*imageで指定した割合が100%の時の値*/
    background-position: bottom;
    background-repeat: repeat-x;

  }
  .lecturer-title{
    text-align: left;
    font-size: 30px;
    margin-bottom: 5%;
  }

  .people1{
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    outline: none;
  }
  .people-img{
    width: 40%;
  }
  .lecturer-img{
    width: 100%;
    object-fit: cover;
  }
  .people-txt{
    width: calc(60% - 70px);
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: flex-start;
    padding-right: 15px;
    text-align: left;
  }
  .heading{
    font-size: 1.5rem;
    margin-bottom: 5%;
  }
  .article{
    line-height: 1.5rem;
    font-size: 12px;;
  }
  .txt-border3{
    padding: 10px;
    margin-top: 10%;
    margin-bottom: 10%;
    background-image: radial-gradient(#C5DAE5 30%, transparent 30%);
    background-size: 6px 6px;/*imageで指定した割合が100%の時の値*/
    background-position: bottom;
    background-repeat: repeat-x;
    
  }
  




/* スクロールボタン */ 
.wrapper{
    width:100%;
    height:100vh;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .wrapper .col{
    width:50%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .scroll-down-box{
    display:block;
    position:relative;
    text-decoration:none;
    top: 36%;
  }
  .scroll-down-box svg{
    fill:#111;
  }
  .scroll-down-box.alt svg{
    fill:#fff;
  }
  .scroll-down-box .scroll-text{
    width:65px;
    height:auto;
    -webkit-animation: rotation 10s infinite linear;
    animation: rotation 10s infinite linear;
  }
  .scroll-down-box.alt .scroll-text{
    -webkit-animation: none;
    animation: none;
  }
  .scroll-down-box.alt:hover .scroll-text{
    -webkit-animation: rotation 10s infinite linear;
    animation: rotation 10s infinite linear;
  }
  .scroll-down-box .scroll-icon{
    width:25px;
    height:auto;
    position:absolute;
    top:50%;
    left:50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    -webkit-transition:all 0.2s ease-in;
    transition:all 0.2s ease-in;
  }
  .scroll-down-box.alt .scroll-icon{
    width:35px;
  }
  .scroll-down-box:hover .scroll-icon{
    -webkit-animation: move 1s infinite linear;
    animation: move 1s infinite linear;
  }
  .scroll-down-box.alt:hover .scroll-icon{
    -webkit-animation: none;
    animation: none;
  }
  
  @keyframes rotation {
      from {-webkit-transform: rotate(0deg); transform: rotate(0deg);}
      to {-webkit-transform: rotate(359deg); transform: rotate(359deg);}
  }
  
  @keyframes move {
      0% {-ms-transform: translate(-50%,-50%); -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%);}
      25% {-ms-transform: translate(-50%,-35%); -webkit-transform: translate(-50%,-35%); transform: translate(-50%,-35%);}
      50% {-ms-transform: translate(-50%,-50%); -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%);}
      75% {-ms-transform: translate(-50%,-65%); -webkit-transform: translate(-50%,-65%); transform: translate(-50%,-65%);}
      100% {-ms-transform: translate(-50%,-50%); -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%);}
  }
  .scroll-down-box{
    transition: 1s;  /* 1秒かけて動く */
  }
  
  .scroll-down-box:hover {
      transform: rotate(180deg);  /* マウスオーバー時に回転 */
  }

   /* フッター */   
.footer{
  padding: 50px 0 40px
}
.footer-txt{
  margin: 5px 0 0;
  font-size: 10px;
  font-family: "Work Sans",sans-serif;
  font-weight: 600;
}






/* ローディング画面 */
/* ロゴアニメーション */
#splash {
  /*fixedで全面に固定*/
position: fixed;
width: 100%;
height: 100%;
z-index: 999;
text-align:center;
color:#fff;
}
/* Loading画像中央配置　*/
#splash_logo {
position: absolute;
top: 48%;
left: 50%;
transform: translate(-50%, -50%);
}
/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width:260px;
}
/* fadeUpをするアイコンの動き */

.fadeUp{
  animation-name: fadeUpAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity: 0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  
/* 線と背景アニメーション */
.shutter{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:#bcecdb;
  z-index:9999;
}
.shutter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  background-color: #e5fff6;
  width: 0;
  height: 1px;
}
.shutter {
  -webkit-animation: byeShutter 2.6s forwards;
          animation: byeShutter 2.6s forwards;
}
.shutter::before {
  -webkit-animation: shutterOpen 2.6s forwards;
          animation: shutterOpen 2.6s forwards;
}
.main-container {
  -webkit-animation: contentScale 2.6s forwards;
          animation: contentScale 2.6s forwards;
}

.image-wrapper-sp{
  display: none;
}

@keyframes byeShutter {
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
    z-index: -1;
  }
}
@keyframes shutterOpen {
  0% {
    width: 0;
    height: 1px;
  }
  50% {
    width: 100%;
    height: 1px;
  }
  90% {
    width: 100%;
    height: 100%;
  }
  100% {
    width: 100%;
    height: 100%;
  }
}
@keyframes main-containerScale {
  70% {
    -webkit-transform: perspective(800px) scale(0.9) rotateX(15deg);
            transform: perspective(800px) scale(0.9) rotateX(15deg);
  }
  100% {
    -webkit-transform: perspective(800px) scale(1) rotateX(0);
            transform: perspective(800px) scale(1) rotateX(0);
  }
}

/* レスポンシブ設定 */

@media screen and (max-width: 1000px) {
  .menu_inside{
    width: 100%;
  }
  .ami-logo{
    position: relative;
    z-index: 99;
    width: 40%;
  }
  .ami-logo img{
    width: 75%;
    margin-top: 10%;
  }
  .ami{
    margin-left: 10%;
  }
  #bg:before {
    background: none;
}
}
@media screen and (max-width: 1110px) {
.txt2 {
  font-size: 14px;
}
}
@media screen and (max-width: 1190px) {
 .people1{
  flex-direction: column;
 }
 .people-txt{
  width: 100%
 }
 .heading{
  margin-top: 2%;
 }
}

@media (max-width: 768px) {
  .course{
    width: 80%;
  }
  .main{
    margin-top: 15%;
  }
  .top-contents{
    margin-top: 90px;
  }
  .contents-title{
    font-size: 18px;
  }
  .top-text{
    font-size: 14px;
  }
  .top-text2{
    font-size: 12px;
  }
  .i-title{
      font-size: 17px;
    }
  .table th{
    font-size: 10px;
  }
  table img {
    width: 60%;
}
  .form-pdf{
    font-size: 1rem;
  }
  .txt2{
    font-size: 12px;
  }
  .article{
    padding-top: 5%;
    line-height: 1.1rem;
  }
  .lecturer-title {
    font-size: 20px;
}
.heading {
  font-size: 16px;
}
.txt-border2{
  background-size: 12px 12px;
}
.table tr:nth-child(2) td {
  font-size: 17px;
  padding: 10px;
}
  .footer-txt{
    margin: 40px 0 0;
  }
  .scroll-down-box:hover {
    transform: rotate(360deg);  /* マウスオーバー時に回転 */
}
}

@media (max-width: 620px) {
  .scroll-down-box .scroll-text{
    width: 40px;
  }
  .scroll-down-box .scroll-icon{
    width: 15px;
  }
  .scroll-down-box .scroll-icon{
    width: 40%;
  }
  .scroll-down-box{
    top: 40%;
  }
  .cc-following{
    width: 20%;
  }
  .hamburger{
    right: 15px;
  }
  .hamburger span{
    width: 40px;
  }
  .hamburger span:nth-child(2){
    width: 54%;
  }

}
@media (max-width: 500px) {
.article{
  font-size: 12px;
}

}
@media (max-width: 460px) {
  .heading {
    font-size: 16px;
  }
  .article{
    font-size: 10px;
  }
  .ami-logo{
    width: 50%;
  }
}

