@charset "utf-8";

/*-------------------- frame上書き */
#main {
  padding: 0;
}

/*-------------------- common */
#main ul li a:hover {
  background: #f3f3f3;
  box-shadow: 0 1px 12px 0 rgba(0,0,0,.2);
}
.wrapper {
  padding: 0 5vw;
}

/*-------------------- index.html */
#mf1 .sbox {
  justify-content: space-between;
}
#mf1 .sbox .sboxs {
  width: 48%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1em;
  border: 1px solid #ff8f4c;
  border-radius: 5px;
}
#mf1 .sbox .sboxs:hover {
  background: #ff8f4c;
  color: #fff !important;
}

#mf2 h2 {
  margin: 0 auto 0 0;
}
#mf2 .cbox {
  margin: 0;
}

/*-------------------- mf1 */
#mf1 {
  padding: 3vw 5vw 0;
}
#mf1 ul {
  overflow: hidden;
  padding: 2px;
}
#mf1 li {
  position: relative;
}
#mf1 li a {
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.2);
  border-radius: 8px;
  padding: 1em 3em 1em 1.5em;
  margin: 0 20px 1.5em 0;
  width: calc((100% - 20px) / 2);
  float: left;
  position: relative;
}
#mf1 li:nth-of-type(even) a {
  margin-right: 0;
}
#mf1 li .arr {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("../img/faq/mf1i1.svg") center center / contain no-repeat;
  position: absolute;
  top: 40%;
  right: 1em;
  transform: translate(-50%, 0);
}

/*-------------------- mf2 */
.ubox h4 {
  font-size: 1.1em;
  margin: 0;
}
.ttl {
  padding: 0 0 0 1em;
  margin: 2em 0 1.5em;
  position: relative;
}
.ttl:before {
  content: "";
  display: block;
  width: 5px;
  height: 2em;
  background: #ff8f4c;
  margin: 0 0.5em 0 0;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}
.ubox ul li {
  margin-bottom: 1em;
}
.ubox ul li p {
  margin:  0;
}

.uboxs,
.telboxs {
  padding-left: 1em;
}
.uboxs {
  border-radius: 10px;
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,.15);
  padding: 2em 4em;
}
.ubox h4 {
  position: relative;
}
.ubox .num {
  margin: 0 .5em 0 0;
}

/*-------------------- mf2 */
#user h2 {
  background: #ffc596;
  padding: .6em 1em .6em 5vw;
  margin-bottom: 1em;
}
#user .wrapper {
  padding: 0 5vw;
}
#user ul {
  overflow: hidden;
  padding: 2px;
  margin: 2em auto 0;
}
#user li a {
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.2);
  border-radius: 8px;
  padding: 1em 1em 1em 1.5em;
  margin: 0 20px 1.5em 0;
  width: calc((100% - 20px) / 2);
  float: left;
  position: relative;
}
#user li:nth-of-type(even) a {
  margin-right: 0;
}
.t_orange a:link,
.t_orange a:visited {
  color: #ff5f00 !important;
}

/*-------------------- mf3 */
#client h2 {
  background: #ccc;
  padding: .6em 1em .6em 5vw;
  margin-bottom: 1em;
}
#client .wrapper {
  padding: 0 5vw;
}
#client ul {
  overflow: hidden;
  padding: 2px;
  margin: 2em auto 0;
}
#client li a {
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,.2);
  border-radius: 8px;
  padding: 1em 1em 1em 1.5em;
  margin: 0 20px 1.5em 0;
  width: calc((100% - 20px) / 2);
  float: left;
  position: relative;
}
#client li:nth-of-type(even) a {
  margin-right: 0;
}
.t_orange a:link,
.t_orange a:visited {
  color: #ff5f00 !important;
}

@media screen and (max-width: 1024px) {
  #mf1 .sbox {
    flex-direction: row !important;
  }
  .uboxs {
    padding: 2em 3em;
  }
  #user li a,
  #client li a {
    width: 100%;
    float: none;
  }
}

@media screen and (max-width: 540px) {
  #mf1 li a,
  #client li a {
    width: 100%;
    float: none;
  }
  #mf1 .sbox {
    flex-direction: column!important;
  }
  #mf1 .sbox .sboxs {
    width: 100%;
    margin: 0 auto 3vw;
  }
  .uboxs {
    padding: 2em 1em;
  }
}