/* common
-------------------- */
.main_title{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 5.3em;
  margin-bottom: 1%;
  font-size: 2.6rem;
  font-weight: bold;
  text-align: center;
  background: #F8F7F5;
}
#breadcrumb{
  max-width: 1200px;
  width: 90%;
}
.content{
  max-width: 1200px;
  width: 90%;
  margin: 0 auto 5%;
}
.subnav{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3%;
}
.content .txt + .subnav{
  margin-top: 10%;
}
.subnav li{
  position: relative;
  width: 23%;
  margin-bottom: 2%;
}
.subnav li a {
  position: relative;
  display: block;
  padding: 2em 1em 2em 2em;
  font-size: 1.5rem;
  line-height: 1.5;
  border-bottom: 1px solid #DBDBDB;
  overflow: visible;
  transition: all ease 0.25s;
}
.subnav li:before{
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 1px;
  height: 24px;
  margin: auto;
  background: #DBDBDB;
}
.subnav li a > span {
  position: relative;
  display: block;
  z-index: 1;
  width: 100%;
}
.subnav li a > span:after{
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
  margin-top: -3px;
  border-top: 2px solid #991017;
  border-right: 2px solid #991017;
  transform: rotate(45deg);
}
.subnav li a:after {
  background: transparent;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  -webkit-transform-origin: right top;
  -ms-transform-origin: right top;
  transform-origin: right top;
  transform: scale(0,1);
  -webkit-transition: -webkit-transform .3s;
  transition: -webkit-transform .3s;
  transition: transform .3s;
  z-index: 0;
}
.subnav li a:hover{
  opacity: 1;
}
.subnav li a:hover:after {
  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: scale(1,1);
  -ms-transform: scale(1,1);
  transform: scale(1,1);
}
.subnav li a:after {
  background: #f1f2f6;
}
.content .title02{
  margin-bottom: 1.5em;
  font-size: 3rem;
  text-align: center;
  font-weight: 500;
}
.content p{
  font-size: 1.5rem;
  line-height: 2;
}
.content .info{
  margin: 5% 0;
}
.content .info p{
  font-size: 1.3rem;
  text-align: center;
}
.content .info p.fwb{
  font-size: 1.6rem;
  font-weight: 500;
}
.content .info p.tel{
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.6;
  font-family: "Poppins", sans-serif;
}
.content .info p.btn{
  margin: 2em 0;
}
.content .info p.btn a{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 48px;
  margin: auto;
  font-size: 1.4rem;
  border: 2px solid #58534E;
  border-radius: 6px;
  text-decoration: none;
}
.page_nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 82px;
  margin-bottom: 10%;
  background: #F8F7F5;
  border-radius: 41px;
}
.page_nav li{
  padding: 0 3em;
  border-left: 1px solid #58534E;
}
.page_nav li:first-child{
  border-left: none;
}
.page_nav li a{
  font-size: 1.5rem;
}
section{
  padding-top: 15%;
  padding-bottom: 15%;
  margin-top: -15%;
}
.in{
  margin-bottom: 8%;
}
.in h3{
  margin-left: 0.5em;
  margin-bottom: 2em;
  font-size: 2.4rem;
  font-weight: bold;
}
.in dl{
  padding-bottom: 5%;
  margin-bottom: 5%;
  margin-left: 3%;
  border-bottom: 1px solid #E3E3E3;
}
.in dl dt{
  position: relative;
  padding-left: 3em;
  margin-bottom: 1em;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2;
}
.in dl dt:before{
  position: absolute;
  top: 0.1em;
  left: 0;
  content: "Q";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  font-size: 1.4rem;
  color: #fff;
  font-family: "Poppins", sans-serif;
  background: #58534E;
  border-radius: 50%;
}
.in dl dd{
  position: relative;
  padding-left: 3.2em;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: 0.08em;
}
.in dl dd:before{
  position: absolute;
  top: 0.1em;
  left: 0;
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2em;
  height: 2em;
  font-size: 1.4rem;
  color: #58534E;
  font-family: "Poppins", sans-serif;
  background: #E3E3E3;
  border-radius: 50%;
}
.in dl dd a,
.in dl dd span{
  border-bottom: 1px solid #58534E;
}

@media screen and (min-width: 1037px){
  .tab{
    display: none;
  }
}

@media screen and (max-width: 1036px){
  .subnav li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 6em;
    padding: 2em 0.5em 2em 1em;
    font-size: 1.3rem;
  }
  .subnav li a > span:after{
    height: 0.6em;
    width: 0.6em;
  }
  .page_nav li{
    padding: 0 1em;
  }
  section{
    padding-top: 12vw;
    padding-bottom: 12vw;
    margin-top: -12vw;
  }
}

@media screen and (max-width: 768px){
  section{
    padding-top: 7vw;
    padding-bottom: 7vw;
    margin-top: -7vw;
  }
}

@media screen and (max-width: 767px) {
  .main_title{
    height: 3em;
    font-size: 2rem;
  }
  .subnav{
    margin-bottom: 15%;
  }
  .subnav li{
    width: 48%;
    margin-bottom: 0;
  }
  .subnav li a{
    padding: 1.5em 1em;
    font-size: 1.2rem;
  }
  .subnav li a:before{
    height: 1.5em;
  }
  /*.subnav li a:after {
    right: 8%;
    height: 0.6em;
    width: 0.6em;
    margin-top: -5px;
    border-top: 1px solid #991017;
    border-right: 1px solid #991017;
  }*/
  .content .title02{
    margin-bottom: 1em;
    font-size: 2rem;
  }
  .content p{
    font-size: 1.3rem;
  }
  .page_nav{
    height: 100px;
    padding: 5% 3%;
  }
  .in h3{
    font-size: 1.8rem;
  }
  .in dl dt{
    padding-left: 2.5em;
    font-size: 1.4rem;
  }
  .in dl dd{
    padding-left: 3.1em;
    font-size: 1.3rem;
  }
  .in dl dt:before,
  .in dl dd:before{
    top: 0.2em;
    font-size: 1.2rem;
  }
}