@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;
    }

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

main{
    width: 1000px;
    height: 530px;
    margin: 0 auto;  
}

.img img{
    height: 410px;
    object-fit: cover;
    margin-left: 600px;
    margin-top: -390px;
}

.pc { display: block !important; }
.sp { display: none !important; }

.namae {
    font-size: 17px;
    margin-top: 30px;
    margin-left: 270px;
    margin-bottom: 20px
}

.bun{
    font-size: 13px;
    line-height: 1.8;
    margin-left: 270px;
    margin-bottom: 20px
}

.reki{
    font-size: 12.5px;
    line-height: 1.8;
    margin-left: 270px;
    margin-bottom: 20px
}

footer{
    width:1000px;
    height: 10px;
    text-align: center;
    margin: 0 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: 420px;
}

.namae{
    margin-left: 5px; 
    padding-left: 5px;
    font-size: 11px;   
}

.bun{
    margin-left: 5px; 
    padding-left: 5px;
    font-size: 10px;
 }

.reki{
    margin-left: 5px; 
    padding-left: 5px;
    font-size: 9.7px;
}

.img img {
    max-width: 100%;
    margin-left: 20%;
    margin-top: -113%;
    opacity: 0.2;
}

.pc { display: none !important; }
 .sp { display: block !important; }
    
 footer{
     width: 360px;
    font-size: 12px;
    text-align: center;  
}

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

}
