* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  word-wrap: break-word;
  overflow-wrap : break-word;
  font-smoothing:antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.9em;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
  color: #3c3c3c;
}

ul,ol{
  list-style-type: none;
}
.clearfix:after{
  content: '';
  display: block;
  clear: both;
}
.wrap{
  max-width: 980px;
  padding: 0 10px;
  margin: 0 auto;
}
a {
  text-decoration: none;
  transition: 0.8s;
  -webkit-transition: 0.8s;
  color: #3c3c3c;
}
a:hover{
  opacity: .6;
}

/*---  HEADER  ---*/
header{
  border-top: 6px solid #C4151C;
  background-color: #f8f8f8;
}
header .wrap{
  padding: 20px 10px 15px;
  display: flex;
  justify-content: space-between;
}
header .logo{
  width: 285px;
}
header nav ul{
  display: flex;
}
header nav ul li{
  border-left: 1px solid #666;
}
header nav ul li:last-child {
  border-right: 1px solid #666;
}

header nav ul li a {
  padding: 10px 30px;
  display: block;
  font-size: 18px;
}
/*btn*/
a.btn{
  padding: 15px 10px 10px;
  margin: 0 auto;
  display: block;
  max-width: 295px;
  background-color: #C4151C;
  text-align: center;
  font-size: 15px;
  color: #fff;
}
a.btn:hover {
  background-color: #d0494f;
  opacity: 1.0;
}

/*---  FOOTER  ---*/
footer{
  background-color: #7E725A;
  color: #fff;
  font-size: 14px;
}
footer .wrap{
  padding: 25px 10px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
footer dl{
  padding-right: 30px;
  border-right: 1px solid #fff;
}
footer dl dt{
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
footer dl dd{
  display: flex;
  align-items: flex-end;
}
footer dl dd a{
  border: 1px solid #fff;
  margin-left: 15px;
  padding: 5px 20px;
  display: block;
  text-align: center;
  color: #fff;
}
footer .backtotop {
  position: absolute;
  right: 10px;
  top: -20px;
}
footer .backtotop img {
  width: 40px;
}
footer nav{
  display: flex;
}
footer nav a{
  color: #fff;
}
footer nav > ul{
  margin-left: 30px;
}
footer nav ul li{
  margin-bottom: 4px;
}
footer nav ul li:last-child{
  margin-bottom: 0;
}
footer nav > ul > li:first-of-type{
  font-weight: bold;
}
footer nav ul ul{
  margin-left: 8px;
}
#copyright{
  padding: 3px 0;
  background-color: #352F21;
  text-align: center;
  font-size: 10px;
}

.group_company p{
  font-weight: bold;
  text-align: center;
}
.group_company ul{
  width: 160px;
  display: flex;
  flex-direction: column;
}
.group_company ul li{
  width: 100%;
}
.group_company ul li a img{
  width: 100%;
}
/*--------------------------
second layer
--------------------------*/
/*breadcrumb*/
.breadcrumb{
  padding: 5px 0;
  background-color: #D1D2D4;
  font-size: 14px;
}
.breadcrumb ol{
  display: flex;
}
.breadcrumb ol li:before {
  content: ">";
  padding: 0 5px 0 10px;
}
.breadcrumb ol li:first-child:before {
  content: none;
  padding: 0;
}
.breadcrumb ol li a:hover {
  text-decoration: underline;
}

/*title*/
.title{
  background-color: #C4151C;
  padding: 30px 0;
}
.title h1{
  color: #fff;
  font-size: 32px;
}
/*content*/
.content_wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 10px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
}
.content_wrap .content{
  width: calc(100% - 260px);
}

.content > section{
  padding: 40px 0;
  border-bottom: 1px dashed #939597;
}
.content > section:first-child{
  padding-top: 0;
}
.content > section:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.content > section h2{
  border-bottom: 1px solid #C4151C;
  margin: 0 0 40px 0;
  padding-right: 20px;
  display: inline-block;
  color: #C4151C;
  font-size: 18px;
  font-weight: 100;
}
.content > section h2 span {
  margin-right: 15px;
  font-size: 28px;
  font-weight: bold;
}

.content p{
  margin-bottom: 30px;
}
/*aside nav*/
.content_wrap aside{
  width: 200px;
  border: 1px solid #000;
  padding: 0 20px;
}
.content_wrap aside nav li{
  padding: 20px 0px;
  border-bottom: 1px dashed #939597;
}
.content_wrap aside nav li:last-child{
  border-bottom: 0;
}
.content_wrap aside nav li a{
  padding-left: 15px;
  border-left: 8px solid #C4151C;
  font-size: 20px;
}

/**\\\\\768 breakpoint\\\\\**/
@media screen and (max-width: 768px) {
  /*---  HEADER  ---*/
  header .wrap{
    padding: 10px 10px;
    display: block;
    text-align: center;
  }
  header .logo{
    max-width: 230px;
    width: 100%;
  }
  header nav ul{
    margin-top: 10px;
    justify-content: space-between;
  }
  header nav ul li{
    border-right: 1px solid #666;
    border-left: 0;
    width: 33%;
  }
  header nav ul li:last-child {
    border-right: 0;
  }
  header nav ul li a {
    padding: 5px 0;
    font-size: 16px;
  }
  /*--- btn ---*/
  a.btn{
    width: 100%;
  }
  /*---  FOOTER  ---*/
  footer .wrap{
    padding: 25px 10px;
    display: block;
  }
  footer dl{
    padding: 0 0 25px 0;
    border-right: 0;
    border-bottom: 1px solid #fff;
  }
  footer nav{
    margin-top: 25px;
    font-size: 12px;
    justify-content: space-between;
  }
  footer nav > ul{
    margin-left: 0;
  }
  footer nav ul li {
    margin-bottom: 0;
  }
  footer dl dd a{
    padding: 5px 10px;
  }
  #copyright{
    padding: 1px 0;
  }

  /*------------------------------
  secondlayer
  ------------------------------*/
  /*content*/
  .content_wrap{
    padding: 0;
    flex-direction: column-reverse;
  }
  .content_wrap .content{
    width: 100%;
    padding: 30px 10px;
  }
  /*aside nav*/
  .content_wrap aside{
    width: 100%;
    border: 0;
    padding: 0;
    background-color: #000;
    text-align: center;
  }
  .content_wrap aside nav ul{
    display: flex;
    justify-content: space-between;
  }
  .content_wrap aside nav li{
    padding: 15px 0px;
    border-right: 1px solid #fff;
    border-bottom: 0;
    width: 33%;
  }
  .content_wrap aside nav li:last-child{
    border-right: 0;
  }
  .content_wrap aside nav li a{
    padding-left: 0;
    border-left: 0;
    color: #fff;
    font-size: 16px;
  }

  .group_company{
    margin-top: 20px;
  }
  .group_company p{
    margin-bottom: 10px;
  }
  .group_company ul{
    width: 200px;
    margin: 0 auto;
  }
}
