@charset "utf-8";

#wrapper{
  position: relative;
}

main{
  background: #fff7e5;
  padding: 45px 0 80px;
  display: block;
}

#content,main{
}

#content{
  max-width: 1220px;
  margin: 0 auto;
  background-color: #fff;
  padding: 64px 64px;
  box-sizing: border-box;
  width: 90%;
  border-radius: 20px;
}

header{
  position: relative;
  padding: 30px 0 26px;
}

.hd_logo_02{
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translate(0, -50%);
  line-height: 0;
}

.tal{
  text-align: left;
}

.flex_box{
  display: flex;
  justify-content: space-between;
}

.flex_box_column{
  flex-direction: column;
}

.flex_box_row{
  flex-direction: row;
}


footer{
  background-color: #fff;
  padding: 1% 3%;
  box-sizing: border-box;
  border-top: 1px solid #cecece;
}

footer nav{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

footer nav ul{
  display: flex;

}

footer nav ul li{
  margin-right: 20px;
  padding-right: 20px;
  border-right: solid 1px #595757;
}
footer nav ul li:last-child{
  margin: 0;
  padding: 0;
  border: none;
}

footer nav ul li{
  line-height: 1;
}

.red_txt{
  color: #cb0000;
}

.bold{
  font-weight: bold;
}

.sp_only{
  display: none;
}



@media screen and (max-width:768px) {

  #wrapper{
    min-width: 100%;
  }

  body{
    font-size: 13px;
    letter-spacing: 0.025em;
  }

  img{
    width: 100%;
    height: auto;
  }


  footer nav,#content{
    width: 100%;
  }
    
  footer nav {
    display: block;
    padding: 6.134% 0;
  }
  footer nav ul {
    margin-bottom: 4%;
    justify-content: center;
  }

  footer nav ul li{
  font-size: 12px;
  margin-right: 0;
  padding-right: 0;
  }
    footer nav ul li:nth-child(1) {
        width: 18%;
    }
    footer nav ul li:nth-child(2) {
        width: 31%;
    }
    footer nav ul li:nth-child(3) {
        width: 27%;
    }
    footer nav ul li:nth-child(4) {
        width: 24%;
    }

  header {
    padding: 16px 16px;
    height: inherit;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }
  h1{
    width: 34.4%;
    margin: 0 auto;
  }
  .hd_logo_02{
    width: 16.534%;
    right: 3%;
    margin: 0 auto;
  }
  main {
      padding: 8% 0 50px;
  }
  #content{
    padding: 8% 6% 8%;
    width: 92%;
    border-radius: 10px;
  }

  #content,main{
  }


  .pc_only{
    display: none;
  }

  .sp_only{
    display: block;
  }
}
