
.header{
    height: 56px;
    width: 100%;
    /* box-shadow: 0 0 10px #ffff; */
    /* background-color: #00a7db; */
    background-color: white;
    position: fixed;
    top: 0;
    z-index: 10; 
/* 
    width: 90%;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border-radius: 10px;
    text-align: center; */
    border-bottom: solid 3px #f98461;
}

.rightandleft{
  display: flex;
  justify-content: space-between;
  margin-right: auto;
  margin-right: 1%;
}

.header_left{
  display: flex;
  justify-content: space-between;
  margin-left: 20px;
  margin-right: 5%;
  display: flex;
  text-align: left;
  justify-content: flex-end;

}
.header_right{
  display: flex;
  justify-content: space-between;
  margin-left: 50px;
  margin-right: 5%;
  display: flex;
  text-align: left;
  justify-content: flex-end;

}
/* .pcheader{ */
  /* border-right: solid 0.5px #f98461; */
  /* width: 200px; */
/* }  */

.pcheader a{
  display: flex;
  text-decoration: none;
}

.header_right{
    display: flex;
    /* text-align: right; */
    justify-content: flex-end;
}

.clear{
    clear: both;
}

.header_left a {
    line-height: 20px;
    color: #f98461;
    margin: 5.5px 30px;
    font-size: 20px;
    padding: 0px 5px;
    text-decoration: none;

    border-radius:5px
}
.header_right a {
  line-height: 45px;
  color: #f98461;
  margin: 5.5px 30px;
  font-size: 20px;
  padding: 0px 5px;
  text-decoration: none;
  border-radius:5px
}

.header_left a:hover {
    list-style: none;
    background-color: white;
    transition: background-color 0.5s;
    color: #f98461;
}

.header_right a:hover {
  list-style: none;
  background-color: white;
  transition: background-color 0.5s;
  color: #f98461;
}
/* 
.pcheader:first-child{
  border-left: solid 0.5px #f98461;
} */

.footer{
    /* height: 120px; */
    background-color: #f98461;
    color: #e8e8e8;
    padding-top: 20px;
}

.footer_left{
    float: left;
}
.footer_right a{
  color: #fff;
}

.footer_right{
    float: right;
    padding-top: 50px;
    margin-bottom: 20px;
}

.footer_left p {
    margin-bottom: 8px;
}

.footer_left img{
  width: 50px;
  padding: 5px;
  
}

.nav{
  display: none;
}

/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
  }

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: block;
    height: 10px;
    width: 10px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;

    padding: 15px 20px 5px 5px;
    margin: 10px 0 10px 5px;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #f98461;
    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);
    background-color: #f98461;
}
  
#drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: #f98461;
}
    
/* メニューのデザイン*/
.nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    transition: .5s;
    opacity: 0.9;
}
  
/* メニュー黒ポチを消す */
.nav_list {
    list-style: none;
    
}

  .nav_list li{
    text-align: center;
    margin: 50px 10px;
    width: 100%;
  }

  .nav_list li a:hover{
    background-color: #e5ffff;
    color: #f98461;
    font-size: 40px;
    font-weight:bold
  }

  .nav_list li a{
    font-size: 40px;
    color: #f98461;
    padding: 10px;
    text-decoration: none;
    padding: 20px 25%;
  }


  /* アイコンがクリックされたらメニューを表示 */
  #drawer_input:checked ~ .nav_content {
    left: 0;/* メニューを画面に入れる */
  }


#logo1{
    width: 45px;
}
.header_container{
  max-width: 980px;
  padding: 0 20px;
}


@media (max-width: 1270px){
  .pcheader a{
    font-size: 15px;
    line-height: normal;
  }
  /* .pcheader a{
    margin: 10px 30px;
  } */
}
  
@media (max-width: 1000px){
  .header_right a {
    margin: 5.5px 0;
  }
  .pcheader{
    margin:5.5px 10px;
  }
}

@media (max-width: 1100px){
  .nav{
    display: block;
  }
  .pcheader a{
    display: none;
  }
  .pcheader{
    margin: 0;
    border: 0;
  }
  .pcheader:first-child{
    border-left: 0;
  }
}


@media (max-width:670px){
  .footer{
    height: auto;
  }

  .footer_left{
    display: flex;
    flex-direction: column;
  }

  .footer_right{
    padding-bottom: 20px;
  }

  .nav_list li a{
    font-size: 25px;
  }
}

@media (max-width:350px){
  .nav_list li a{
    font-size: 23px;
  } 
}
