@charset "utf-8";

.container {
  /* background: #444 url('../img/our-services/back.png'); */
  width: 100%;
  min-width: 980px;
  padding-top: 115px;
  justify-content: center;
  overflow: hidden;
}

header #subKeyvisual {
  z-index: 2;
}

@media screen and (min-width : 768px) {
  .breadcrumb {
    width: 980px;
    margin: 0 auto;
    padding: 3px 0;
    height: 30px;
    position: absolute;
    top: 285px;
    z-index: 1;
  }

  .breadcrumb a {
    color: #39f;
  }
}

.sidebar {
  margin: 0px 20px 40px 0;
}

.keyword {
  position: absolute;
  left: 0;
  z-index: 1;
}

.topics {
  position: absolute;
  top: 250px;
  left: 0;
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#our-services {
  position: relative;
  font-family: 'Open Sans', 'Noto Sans JP', 'NotoSansCJKjp', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
  background: #444 url('../img/our-services/back.png');
}

.sp #our-services {
  background: #444 url('../img/our-services/back.png');
}

#our-services h2 {
  padding: 30px 10px 0;
  max-width: 740px;
  margin: 0 auto;
  position: relative;
}

#our-services h2 img {
  width: 95%;
  max-width: 520px;
  position: relative;
  z-index: 1;
}

#our-services h2:after {
  content: '';
  display: block;
  position: absolute;
  background: url('../img/our-services/arrows.png') bottom left no-repeat;
  background-size: cover;
  width: 45vw;
  max-width: 400px;
  height: 25vw;
  max-height: 200px;
  top: 0;
  right: 0;
}

.sp img {
  max-width: 100%;
}

#our-services section {
  background-color: #fff;
}

#our-services nav {
  margin-top: 30px;
  padding-top: 30px;
  background-color: #fff;
}

#our-services nav ul {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  align-items: start;
  justify-content: center;
}

#our-services nav ul li {
  position: relative;
  flex: 0 0 30%;
  margin: 5px;
}

#our-services nav ul li:before {
  position: absolute;
  top: -5px;
  left: -5px;
}

#our-services nav ul li a {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 90px;
  text-indent: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
  color: transparent;
}

#our-services .subTitle {
  position: absolute;
  text-align: center;
  left: calc(50% - 150px);
}

.nav1:before {
  content: url('../img/our-services/batch_nav01.png');
}

.nav2:before {
  content: url('../img/our-services/batch_nav02.png');
}

.nav3:before {
  content: url('../img/our-services/batch_nav03.png');
}

.nav4:before {
  content: url('../img/our-services/batch_nav04.png');
}

.nav5:before {
  content: url('../img/our-services/batch_nav05.png');
}

.nav1 a {
  background: #fff url('../img/our-services/back_nav01.jpg') center center;
  background-size: cover;
}

.nav2 a {
  background: #fff url('../img/our-services/back_nav02.jpg') center center;
  background-size: cover;
}

.nav3 a {
  background: #fff url('../img/our-services/back_nav03.jpg') center center;
  background-size: cover;
}

.nav4 a {
  background: #fff url('../img/our-services/back_nav04.jpg') center center;
  background-size: cover;
}

.nav5 a {
  background: #fff url('../img/our-services/back_nav05.jpg') center center;
  background-size: cover;
}

#our-services .osWrap {
  background-color: #fff;
  padding: 5px 15px 15px;
}

#our-services section {
  background-color: #f0f0f0;
  margin: 30px auto 0;
  padding-top: 25px;
  border-radius: 10px;
  position: relative;
  max-width: 710px;
  color: #000;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#our-services h3 {
  position: absolute;
  top: -20px;
}

#our-services h3 img {
  max-height: 50px;
}

#our-services p {
  padding: 10px 15px;
  font-size: 0.9em;
  line-height: 1.8em;
  overflow: hidden;
}

#our-services p>strong {
  font-size: 1.25em;
  font-weight: bold;
}

#our-services p>img {
  display: block;
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0 15px 15px;
}

#our-services section>img {
  display: block;
  padding: 0 15px 15px;
  max-width: 100%;
  margin: 0 auto;
}

#our-services section>small {
  display: block;
  padding: 0 20px;
  font-size: 0.8em;
  line-height: 1.6em;
}

#our-services section>small:last-child {
  padding-bottom: 20px;
}

#our-services section>small:before {
  content: '※ ';
}

.telnum {
  margin: 20px;
}

.telnum em {
  display: inline-flex;
  font-style: normal;
  align-items: center;
}

.telnum em:before {
  font-family: 'typicalo';
  content: '\e914';
  font-size: 1.8em;
  margin: 5px 0;
  color: #12a73b;
}

.telnum em a {
  text-decoration: none;
}

.telnum em span {
  font-size: 2.2em;
  font-weight: bold;
  margin: 5px;
  color: #333333;
}

.telnum ul {
  display: flex;
  flex-wrap: wrap;
}

.telnum li {
  font-size: 0.9em;
  line-height: 1.2em;
  margin-right: 10px;
}

.telnum li small {
  font-size: 0.75em;
}

.telnum>span {
  display: inline-block;
  background-color: #999;
  color: #fff;
  font-size: 0.75em;
  padding: 3px 10px;
  position: relative;
}

.telnum>span:after {
  content: '';
  width: 0;
  height: 0;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent transparent #999;
  position: absolute;
  right: -16px;
  top: 0;
}

.relationLink {
  margin: 30px auto;
  max-width: 640px;
  padding: 15px;
  background-color: #f2f2f2;
  border: 1px solid #c7c7c7;
  box-sizing: border-box;
}

.relationLink h4 {
  display: block;
  padding-bottom: 15px;
}

.relationLink ul {
  background-color: #fff;
  padding: 10px;
  overflow: hidden;
}

.relationLink li {
  float: left;
  margin: 5px;
}

.relationLink a {
  display: block;
  text-decoration: underline;
  font-weight: bold;
  color: #0260e8;
  position: relative;
  padding-left: 30px;
}

.relationLink a:before {
  display: block;
  position: absolute;
  content: '\e909';
  font-family: 'typicalo';
  top: 3px;
  left: 10px;
  width: 14px;
  height: 14px;
  font-size: 10px;
  line-height: 14px;
  background-color: #0260e8;
  color: #fff;
  text-align: center;
  border-radius: 3px;
}

@media screen and (min-width: 500px) {
  #our-services nav ul li {
    flex: 1 0 15%;
  }

  #our-services p>strong {
    display: inline-block;
  }
}

@media screen and (min-width: 580px) {
  #our-services nav ul {
    max-width: 740px;
    margin: 0 auto;
  }

  #our-services nav ul li a {
    height: 120px;
  }

  #our-services p {
    font-size: 1em;
    line-height: 1.6em;
    padding: 15px 20px;
  }

  #our-services p>img {
    float: right;
  }

  #our-services h3 {
    padding-left: 20px;
  }
}

@media screen and (min-width: 640px) {
  .telnum {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 15px 20px;
  }
}

@media screen and (min-width: 740px) {
  #our-services section {
    padding-top: 45px;
  }

  #our-services h3 img {
    max-height: 70px;
  }
}

@media screen and (min-width: 768px) {
  #our-services .telnum em a {
    pointer-events: none;
    cursor: default;
  }
}

@media screen and (min-width: 1000px) {
  .keyword {
    left: calc(50% - 490px);
  }

  .topics {
    left: calc(50% - 490px);
  }
}

.container #our-services nav ul li {
  flex: 1 0 15%;
}

.container #our-services p>strong {
  display: inline-block;
}

.container #our-services nav ul {
  max-width: 740px;
  margin: 0 auto;
}

.container #our-services nav ul li a {
  height: 120px;
}

.container #our-services p {
  font-size: 1em;
  line-height: 1.6em;
  padding: 15px 20px;
}

.container #our-services p>img {
  float: right;
}

.container #our-services h2 img {
  top: -10px;
  left: -10px;
}

.container #our-services h2:after {
  background: url('../img/our-services/arrows.png') top right no-repeat;
  background-size: contain;
  width: 400px;
  max-width: none;
  height: 270px;
  max-height: none;
  top: auto;
  bottom: -20px;
}

.container #our-services h3 {
  padding-left: 20px;
}

.container #our-services section {
  padding-top: 45px;
}

.container #our-services h3 img {
  max-height: 70px;
}

.container .telnum {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 15px 20px;
}