@charset "UTF-8";

#pageHead {
  background: #f3f4f7 url(../images/pageHead_bg_pc.jpg) no-repeat 80% center;
  margin: 0 0 55px;
}

#pageHead h1 span {
  color: #d00414;
}

/* 「自社の強みづくり」を～ */
#sec1 {
  width: 1040px;
  margin: 0 auto 40px;
  display: grid;
  grid-row-gap: 40px;
  grid-template-columns: 510px 460px;
  grid-template-rows: auto 1fr auto;
  align-content: start;
  justify-content: space-between;
}

#sec1 h2 {
  font-size: 30px;
  font-weight: bold;
  padding: 30px 0 0;
  grid-area: 1 / 1 / 2 / 2;
}

#sec1 h2 span {
  color: #d00414;
}

#sec1 .text {
  line-height: 2;
  width: 480px;
  grid-area: 2 / 1 / 3 / 2;
  align-self: flex-start;
}

#sec1 .image {
  align-self: flex-end;
  grid-area: 1 / 2 / 3 / 3;
}

#sec1 .catch {
  color: #d00414;
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  background: url('../images/s_arrow.svg') no-repeat center top / 74px auto;
  padding: 80px 0 0;
  grid-area: 3 / 1 / 4 / 3;
}

/* 強みとなるサービスをご提供 */
#sec2 {
  box-sizing: 100%;
  background: #fdf8f2 url('../images/sec2_bg_pc.jpg') no-repeat center top / cover;
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0 0 60px;
  padding: 50px 0 60px;
}

#sec2 h2 {
  font-size: 26px;
  font-weight: bold;
  width: 550px;
  margin-bottom: 35px;
  padding: 0 0 0 490px;
  box-sizing: content-box;
}

#sec2 .text {
  width: 550px;
  padding: 0 0 0 490px;
  box-sizing: content-box;
}

/* ＴＭＳが提供するサービス例 */
#sec3 {
  width: 1040px;
  margin: 0 auto 80px;
}

#sec3 h2 {
  color: #d00414;
  font-size: 28px;
  font-weight: bold;
  border-left: solid 10px #d00414;
  margin: 0 0 30px;
  padding: 0 0 0 20px;
}

#sec3 .serviceBox {
  background: #fafafa;
  padding: 50px;
  display: grid;
  grid-template-columns: 400px 480px;
  grid-template-rows: auto 1fr auto;
  justify-content: space-between;
}

#sec3 .serviceBox h3 {
  font-size: 30px;
  font-weight: bold;
  margin: 0 0 25px;
  grid-area: 1 / 1 / 2 / 2;
  grid-row-gap: 50px;
}

#sec3 .serviceBox h3::before {
  content: '';
  width: 14px;
  height: 14px;
  background: #d00414;
  border-radius: 7px;
  display: inline-block;
  margin: 0 10px 0 0;
}

#sec3 .serviceBox h3 span {
  font-size: 16px;
  display: block;
  font-weight: normal;
}

#sec3 .serviceBox .text {
  line-height: 2;
  grid-area: 2 / 1 / 3 / 2;
  align-self: start;
}

#sec3 .serviceBox picture {
  grid-area: 1 / 2 / 3 / 3;
  display: block;
}

#sec3 .serviceBox .usage {
  width: 650px;
  background: #fff;
  border: solid 1px #ff8d14;
  margin: 60px 0 0;
  padding: 55px 0 35px;
  position: relative;
  justify-self: center;
}

#sec3 .serviceBox .usage dt {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  width: 280px;
  background: #ff8d14;
  border-radius: 20px;
  padding: 5px 0;
  transform: translateX(-50%);
  position: absolute;
  top: -16px;
  left: 50%;
}

#sec3 .serviceBox .usage dt::after {
  content: '';
  width: 10px;
  height: 10px;
  background: #ff8d14;
  transform: translateX(-50%) rotate(45deg);
  position: absolute;
  bottom: -4px;
  left: 50%;
}

#sec3 .serviceBox .usage dd {
  margin: 0 0 5px;
}

#sec3 .serviceBox.box1 .usage dd {
  margin-left: 115px;
}

#sec3 .serviceBox.box2 .usage dd {
  margin-left: 80px;
}

#sec3 .serviceBox .usage dd::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: #ff8d14;
  display: inline-block;
  margin: 0 4px 0 0;
}

#sec3 .box1 .usage {
  grid-area: 3 / 1 / 4 / 3;
}

#sec3 .box2 .seminar {
  width: 630px;
  justify-self: center;
  grid-area: 3 / 1 / 4 / 3;
  margin: 50px 0 0;
}

#sec3 .box2 .seminar h4 {
  text-align: center;
  border-top: dotted 2px #505050;
  border-bottom: dotted 2px #505050;
  margin: 0 0 25px;
  padding: 5px 0;
}

#sec3 .box2 .seminar .images {
  display: flex;
  justify-content: space-between;
  margin: 0 0 30px;
}

#sec3 .box2 .seminar .text {
  text-align: center;
}

#sec3 .box2 .seminar .text span {
  font-weight: bold;
}

#sec3 .box2 .usage {
  grid-area: 4 / 1 / 5 / 3;
}

#sec3 .other {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin: 80px 0;
}

.nextpageBtn {
  display: flex;
  justify-content: center;
}

.nextpageBtn a {
  font-size: 14px;
  width: 500px;
  margin: 0 10px;
}

.nextpageBtn a figure {
  width: 150px;
}

/* FOR smartphone landscape
***************************************************************************/
@media screen and (max-width: 700px) {
  #pageHead {
  }

  #pageHead .inner {
    width: 100%;
    background: url(../images/pageHead_bg_sp.jpg) no-repeat right top / cover;
    margin: 0;
    padding: 0 4vw;
    box-sizing: border-box;
    position: relative;
  }

  #pageHead .inner h1 {
    width: auto;
    margin-left: 6.3vw;
  }

  #pageHead .inner h1 span {
    display: block;
  }

  /* 「自社の強みづくり」を～ */
  #sec1 {
    width: 92vw;
    margin: 0 auto 40px;
    display: grid;
    grid-row-gap: 40px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }

  #sec1 h2 {
    font-size: 5.3vw;
    padding: 0;
    grid-area: 1 / 1 / 2 / 2;
  }

  #sec1 .text {
    width: 100%;
    grid-area: 3 / 1 / 4 / 2;
  }

  #sec1 .image {
    grid-area: 2 / 1 / 3 / 2;
  }

  #sec1 .catch {
    font-size: 5.3vw;
    background-size: 18.8vw auto;
    padding: 18vw 0 0;
    grid-area: 4 / 1 / 5 / 2;
  }

  /* 強みとなるサービスをご提供 */
  #sec2 {
    width: 92vw;
    background: #fdf8f2 url('../images/sec2_bg_sp.jpg') no-repeat center top / auto 61.3vw;
    margin: 0 0 10.6vw;
    padding: 70vw 4vw 10.3vw;
  }

  #sec2 h2 {
    font-size: 5vw;
    width: 100%;
    margin-bottom: 8vw;
    padding: 0;
  }

  #sec2 .text {
    font-size: 4vw;
    width: 100%;
    padding: 0;
  }

  /* ＴＭＳが提供するサービス例 */
  #sec3 {
    width: 100%;
    margin: 0 auto 80px;
  }

  #sec3 h2 {
    font-size: 5.3vw;
    border-left: solid 2vw #d00414;
    margin: 0 4vw 6.6vw;
    padding: 0 0 0 2.6vw;
  }

  #sec3 .serviceBox {
    padding: 9vw 4vw;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
  }

  #sec3 .serviceBox h3 {
    font-size: 5vw;
    margin: 0 0 5vwx;
    grid-area: 1 / 1 / 2 / 2;
    grid-row-gap: 0;
  }

  #sec3 .serviceBox h3::before {
    width: 2.8vw;
    height: 2.8vw;
    border-radius: 1.4vw;
  }

  #sec3 .serviceBox h3 span {
    font-size: 3.2vw;
  }

  #sec3 .serviceBox .text {
    margin: 0 0 14vw;
    grid-area: 2 / 1 / 3 / 2;
  }

  #sec3 .serviceBox picture {
    margin: 0 0 12.6vw;
    grid-area: 3 / 1 / 4 / 2;
  }

  #sec3 .serviceBox .usage {
    width: calc(100% - 10.6vw - 2px);
    margin: 0;
    padding: 10.6vw 5.3vw 5.3vw;
  }

  #sec3 .serviceBox .usage dt {
    font-size: 3.6vw;
    width: 58.6vw;
    padding: 2vw 0;
    top: -4vw;
  }

  #sec3 .serviceBox .usage dt::after {
    width: 3.6vw;
    height: 3.6vw;
    bottom: -2.5px;
  }

  #sec3 .serviceBox .usage dd {
    text-indent: calc(-3.4vw - 4px);
    padding-left: calc(3.4vw + 4px);
  }

  #sec3 .serviceBox.box1 .usage dd {
    margin-left: 0;
  }

  #sec3 .serviceBox.box2 .usage dd {
    margin-left: 0;
  }

  #sec3 .serviceBox .usage dd::before {
    width: 3.4vw;
    height: 3.4vw;
    border-radius: 1.7vw;
  }

  #sec3 .box1 .usage {
    grid-area: 4 / 1 / 5 / 2;
  }

  #sec3 .box2 .seminar {
    width: 100%;
    grid-area: 4 / 1 / 5 / 2;
    margin: 6.8vw 0 0;
  }

  #sec3 .box2 .seminar h4 {
    font-size: 3.8vw;
    margin: 0 0 5.7vw;
    padding: 3.8vw 0;
  }

  #sec3 .box2 .seminar .images {
    margin: 0 0 5.3vw;
  }

  #sec3 .box2 .seminar .text {
    text-align: left;
  }

  #sec3 .box2 .usage {
    grid-area: 5 / 1 / 6 / 2;
  }

  #sec3 .other {
    font-size: 5.3vw;
    margin: 10vw 0;
  }

  .nextpageBtn {
    display: block;
  }

  .nextpageBtn a {
    font-size: 1.12rem;
    width: 92vw;
    margin: 0 auto;
  }

  .nextpageBtn a + a {
    margin-top: 15px;
  }

  .nextpageBtn a figure {
    width: 28.4vw;
  }
}
