@charset "utf-8";
html{
    animation: fadein 3s forwards;
  }
  
  @keyframes fadein {
    0% {opacity: 0}
    100% {opacity: 1}
  }

body{
    font-family:'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    font-size: 16px;
}

a{
    text-decoration: none;
}

header h1{
    display: none;
}

header{
    width:1000px;
    height: 110px;
    margin: auto;
}

header ul{
    width:1000px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header ul li{
    width:100px;
    text-align: center;
    border-right: 1px solid ;
}

header ul li:last-child{
    border-right: none;
}

header ul li a{
    display: block;
}

header ul li{
    list-style: none;
}

header ul li a:hover{
    color:red;
    font-weight: bold;
}

.contact{
    color:red;
    font-weight: bold;
}

main{
    width: 1000px;
    height: 1000px;
    margin: 30px auto;
    text-align: center;
}

.form{
    width:1000px;
    height:1000px;
    margin-top: -30px;  
}

  footer{
    width:1000px;
    height: 10px;
    text-align: center;
    margin: -110px auto;
}

  /*ハンバーガー関連*/
 body {
    margin: 0;
    padding: 0;
}
  
  /*ハンバーガーアイコン*/
  .btn-burger {
      cursor: pointer;
      display: block;
      width: 56px;
      height: 60px;
      position: absolute;
      top: 5px;
      right: 10px;
  }
  
  /*ハンバーガーアイコンを作る三本線*/
  .icon, .icon:before, .icon:after {
    position: absolute;
    top: 13px;
    right: 0;
    left: 0;
    bottom: 0;
    height: 2px; /*線の太さ*/
    width: 30px; /*線の長さ*/
    background-color: #444;
    border-radius: 2px;
    display: block;
    content: '';
    cursor: pointer;
    margin: auto;
}

/*三本線の間隔*/
.icon:before {
  top: -15px;
}
.icon:after {
  top: -29px;
}
  
  /*チェックボックス非表示*/
  .nav-toggle {
      display: none;
  }
  
  /*アイコンをクリックしたら*/
  .nav-toggle:checked ~ .btn-burger .icon {
      background: transparent;
  }
  .nav-toggle:checked ~ .btn-burger .icon:before {
      transform: rotate(-45deg);
      top: 0;
  }
  .nav-toggle:checked ~ .btn-burger .icon:after {
      transform: rotate(45deg);
      top: 0;
  }
  
  .icon,
  .icon:before,
  .icon:after {
      transition: all .8s;
  }
  
  
  /*中身*/
  .nav {
      background-color: #fff;
      
  }
  .nav-list a {
      display: block;
      text-decoration: none;
      color: #000000;
      font-weight: bold;
      font-size: 14px;
  }
  
  .nav-list {
    text-align: center;
      list-style: none;
      display: none;
      margin: 0;
      padding-left: px;
     
  }
  
  .nav-list li {
      margin: 0;
      padding: 10px;
  }
  
  .nav-toggle:checked ~ .nav .nav-list {
      display: block;
  }
  
  /*メインイメージ*/
  .top {
      height: 200px;
      margin-bottom: 50px;
      background-color: #f0f8ff;
  }
  
  /* --------------------------------------------------
    幅768px以上のスタイル指定 ここから
  -------------------------------------------------- */
  @media screen and (min-width: 640px) {
  /* ハンバーガーボタン */
  .btn-burger {
      display: none;  /*768px以上では使用しない */
  }
}

  /*ph関連*/
@media screen  and (max-width: 640px){


header{
    width: 100%; 
    height: 80px;
    text-align: center;
    margin: auto;
        }
        
header ul{
    display: none;
        }
        
header h1{
    display: block;
    font-size: 13px;
    font-weight:bold;
    padding-top: 20px;
    line-height: 1.8;
 }
    
main{
    width: 360px;
    height: 1080px;
    position: relative;
}

.form{
    width: 350px;
    height: 1100px;
    position: relative;
}

.form iframe{
    position: absolute;
    left: 5px;
    max-width: 100%;
    height:100%
}

footer{
    width: 360px;
    text-align: center;
    font-size: 12px;
}

footer p{
    margin-top: -10px;
} 
 
}
