body,
html {
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
}

img {
  border: none;
  text-decoration: none;
}

a:focus,
*:focus {
  outline: none;
}

a {
  text-decoration: none;
}

#content a:link,
#content a:visited {
  text-decoration: none;
}

#content a:hover,
#content a:active {
  color: #f00;
}
#content a:visited {
  color:#333;
}

body {
  font-size: 1em;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

h1 {
  height: 80px;
  font-size: 2em;
  text-align: center;
}


#container {
  max-width: 1080px;
  margin: 0 auto;
}

.sp_nav {
  display: none;
}

nav {
  display: flex;
  justify-content: space-around;
  width: 1080px;
  height: 150px;
  position: fixed;
  z-index: 10;
  background-color: #fff;
  padding-top: 40px;
}

nav .nav-links {
  width: 660px;

}

nav li {
  float: left;
  height: 70px;
  list-style: none;
}

nav .navi_banner {
  width: 220px;
}

#content {
  clear: left;
  width: 1030px;
  padding-top: 250px;
  margin: 0 auto;

}

.copyright {
  text-align: center;
  font-size: 1em;
  padding: 60px 0;
}

.footer {
  width: 90%;
  margin: 50px auto;
}

.fooder_logo {
  margin-bottom: 20px;
}

.footer .info_cont {
  display: flex;
  width: 70%;
  font-size: medium;
  font-weight: 500;
}

.footer .info_cont div {
  margin-right: 20px;
}

/* top */

.oshirase {
  margin-bottom: 25px;
  margin-left: 25px;
}
.oshirase span {
  font-weight: bold;
}

.top_box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* about */

.about_box1 {
  width: 650px;
  margin: 20px auto;
  border: 2px solid #7FBE26;
  padding: 20px 40px;
  font-size: 16px;
  line-height: 2;
}

.about_box1_logo {
  margin-bottom: 40px;
}

.about_box1 .title1 {
  width: 30%;
  margin-bottom:10px;
}

.about_in {
  display: flex;

}

.about_in img {
  margin-right: 15px;
  margin-bottom: 15px;
}

.about_in_add {
  margin-left: 133px;
  margin-bottom: 20px;
}

.about_mail {
  margin-right: 20px;
}

.about_box1 .li_square {
  list-style: none;
}

.about_rekishi dt {
  float: left;
}

.about_rekishi dd {
  margin-left: 80px;
}

.about_dd {
  margin-bottom: 10px;
}

.about_footer {
  clear: both;
  width: 563px;
  height: 255px;
  margin: 80px auto;
  padding-bottom: 60px;
}

/* 業務内容*/

.event_title {
  width: 650px;
  margin: 40px auto 0px;
  display: flex;
  justify-content: space-between;
}

.event_text,
.hansoku_text {
  width: 600px;
  margin: 0 auto;
  padding: 60px 0;
}

.event_box,
.hansoku_box {
  width: 1030px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.event_box img,
.hansoku_box img {
  margin-bottom: 60px;
}

.event_line {
  border: 1px solid #333;
  margin: 50px 0 70px;
}

.hansoku_title {
  width: 180px;
  margin: 0 auto 0;
}

.hansoku_box2 {
  display: flex;
  margin-left: 30px;

}

.hansoku_box2 img {
  margin-right: 60px;

}

#content .topics {
  width: 800px;
  margin: 15px auto;
  font-size: 1em;
}

#content .topics h3{
  margin-bottom: 40px;
  text-align: center;
}

#content .topics h4{
  margin-top: 20px;
  margin-bottom: 10px;
}

#content .topics h5{
  font-size: 1em;
  margin-top: 20px;
  margin-bottom: 10px;
}
#content .topics p{
  margin-top: 10px;
  margin-bottom: 10px;
}
#content .topics ul li{
  margin-left:40px;

}


/* privacy */

#content .privacy {
  width: 800px;
  margin: 15px auto;
  font-size: 1em;
}

#content .privacy h3 {
  font-size: 1.5em;
  margin: 30px 0 30px;
}

#content .privacy dt {
  margin: 30px 0 15px;

}

#content .privacy dd {
  margin-left: 30px
}

#content .privacy ul {
  margin-left: 30px
}

.clear {
  clear: both;
}

.fade_in {
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

/*オンマウス時に実行*/
.fade_in:hover {
  opacity: 0.4;
  filter: alpha(opacity=60);
}

/* スマホ用 */
@media screen and (max-width: 768px) {
  #container {
    width: 375px;
    margin: 0 auto;
    padding: 0 20px;

  }

  nav {
    display: flex;
    justify-content: space-around;
    width: 375px;
    height: 160px;

  }

  .sp_nav {
    display: block;
    display: flex;
    justify-content: space-between;
    width: 55%;
    height: 125px;


  }

  .sp_nav li {
    margin-right: 25px;
    height: 35px;

  }

  nav .nav-links {
    display: none;
  }


  #content {
    width: 375px;

  }

  .top_box {
    width: 375px;
    display: flex;
    flex-direction: column;
  }

  .top_box img {
    margin-bottom: 10px;
  }

  .top_box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }


  .footer {
    width: 375px;

  }

  .fooder_logo img {
    width: 370px;
  }

  .info_cont {
    display: flex;
    flex-direction: column;
    width: 375px;
  }

  .footer .info_cont div {
    width: 375px;
  }



  /* スマホ用業務内容 infomation */

  .event_title {
    width: 350px;
    margin-top:15px;
    display: flex;
  }
  .event_title img {
    width:150px;
  }

  .event_box,
  .hansoku_box {
    width: 370px;
    display: flex;
    flex-direction: column;
    /* flex-wrap: nowrap; */
    justify-content: center;
    padding:0;
    margin:0;
 
  }

  .event_box img,
  .hansoku_box img,
  .hansoku_box2 img {
    width: 360px;

  }

  .event_text,
  .hansoku_text {
    width: 360px;
    padding:30px 0 30px;
    
  }
  .hansoku_box2 {
    display: flex;
    flex-direction: column;
    margin:0 auto;
  }

  .hansoku_last_img {
    width: 360px;
    margin:0 auto 60px;
  }




 
  /* スマホ用about */

  .about_box1 {
    width: 340px;
    margin: 0px auto  20px;
    padding:15px;
    border: 2px solid #7FBE26;
    font-size: 12px;
    line-height: 2;
  }
  .about_box1 .title1 {
    width: 30%;
    margin-bottom:10px;
  }

  .about_box1 .title2 {
    width: 100%;
  }

  .about_box1_logo {
    width: 90%;
    margin: 0 auto 20px;
  }

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

  .about_in img {
    width: 35%;
    margin-top:20px;
  }

  .about_footer {
    width:365px;
    height:120px;
  }

  .about_footer img {
    width: 360px;
    margin:0 auto;
  }

  .about_in_add {
    margin-left: 0px;
    margin-bottom: 5px;
  }


  .about_box1 .li_square {
    list-style: none;
  }




/*privacy  */

#content .privacy {
  width: 365px;
  margin: 15px auto;
  font-size: 1em;
}

#content .privacy h3 {
  font-size: 1em;
  font-weight: 600;
  width:365px;
  margin: 30px 0 30px;
}

#content .privacy dt {
  width:90%;
  margin: 30px 0 15px;

}

#content .privacy dd {
  width:80%;
  margin-left: 0px
}

#content .privacy ul {
  width:100%;
  margin-left: 0px
}
#content .privacy li {
  margin-left:30px;
} 

#content .topics {
  width: 100%;
  margin: 15px auto;
  font-size: 1em;
}
#content .topics h3{
  margin-bottom: 20px;
  text-align: center;
}

}