* {
    margin: 0;
    padding: 0;
  }
  header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10000;
    background-color: #ffffff;
  }
  nav{
    background-color: #b0def8;
  }
    nav ul{
    margin: 0 0 0 0;
    padding: 20 20 20 0 ;
    text-align:right;
    }
    nav ul li{
    list-style: none;
    display: inline-block;
    width: 10%;
    min-width: 50px;
    }
    nav ul li a{
    text-decoration: none;
    color: #333;
    }
    nav ul li.current a{
    color: #F33135;
    }
    nav ul li a:hover{
    color: #E7DA66;
    }
  
   /* チェックボックスを非表示にする */
   .drawer_hidden {
    display: none;
  }
.mein{
  padding: 100px 0px 0px 0px;
}

#photo {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  text-align: left;
  overflow: hidden;
  position: relative;
}

#photo img {
  top: 0;
  left: 0;
  position: absolute;
}

.btn--orange,
h2 {
  color: #6cb4e4;
  text-align: center;
  padding: 0.25em;
  border-top: solid 2px #6cb4e4;
  border-bottom: solid 2px #6cb4e4;
  background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  margin: 20px 0px 20px 0px;
}
h3 {
  color: #6594e0;/*文字色*/
  /*線の種類（点線）2px 線色*/
  border-bottom: dashed 2px #6594e0;
  margin: 20px 0px 20px 0px;
}
.parent {
  width: 100%;
  margin-bottom: 0px;
  display: flex;
}

.parent1 .text_area,
.parent3 .text_area {
   width: 70%;
}
.parent2 .img_area {
   width: 30%;
}




.Profile1{
  margin: auto;
}
.footer {
  text-align: center;
}

@media screen and (max-width: 959px) {
	/* 959px以下に適用されるCSS（タブレット用） */

  #photo img {
    top: 0;
    left: 0;

    object-fit: cover; /* この一行を追加するだけ！ */
  }

/* CSSコード */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: #fff;
  }
  
  .logo {
    font-size: 24px;
  }
  
  /* ここから下がハンバーガーメニューに関するCSS */
    

  
  /* ハンバーガーアイコンの設置スペース */
  .drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;
  }
  
  /* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
    
  }
  
  /* 三本線の一番上の棒の位置調整 */
  .drawer_open span:before {
    bottom: 8px;
  }
  
  /* 三本線の一番下の棒の位置調整 */
  .drawer_open span:after {
    top: 8px;
  }
  
  /* アイコンがクリックされたら真ん中の線を透明にする */
  #drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, 0);
  }
  
  /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
  #drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  
  #drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  }
    
  /* メニューのデザイン*/
  .nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    transition: .5s;
    box-align: center;
  }
  
  /* メニュー黒ポチを消す */
  .nav_list {
    list-style: none;
    
    
  }
  .nav li {
  display: list-item;  /* 縦に並べる */
	line-height:3.0em;
	border-bottom: 1px solid #ccc;
	list-style-position: inside;
  }
  /* アイコンがクリックされたらメニューを表示 */
  #drawer_input:checked ~ .nav_content {
    left: 0%;/* メニューを画面に入れる */
  }

  .parent {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
  }
  .parent .text_area,
  .parent .img_area {
    width: 100%;
  }
  .parent1 .text_area,
  .parent3 .text_area {
     margin-right: 10px;
  }
  .parent2 .img_area {
     margin-right: 10px;
  }
  .parent1,
  .parent3 {
    flex-direction: column;
  }
  .parent2 {
    flex-direction: column-reverse;
  }
  .image-vw{
    width: 100%;
  }
}


