/*-------------------------
  サービス記事（PC）
-------------------------*/
.mainview {
  width: 100%;
  height: 640px;
  margin-top: 80px;
  background-image: url(../../assets/img/service-back.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
}

.mainview-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-left {
  width: 48%;
}

.mainview-category {
  display: inline-block;
  color: #000;
  font-weight: 900;
  line-height: 1.5;
  padding: 3px 6px;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  margin-bottom: 25px;
}

.mainview-text-1 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
}

.mainview-text-2, .mainview-text-3 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.5;
}

.mainview-text-2 span {
  color: #757575;
  display: inline-block;
}

.mainview-addinfo {
  margin-top: 16px;
}

.ask-staff-btn {
  background-color: #000;
  color: #FFF;
  font-weight: 900;
  font-size: 20px;
  padding: 12px 24px;
  width: 512px;
  max-width: 100%;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
  margin-top: 16px;
}

.ask-staff-btn .fa-comments {
  margin-right: 8px;
  font-size: 32px;
  color: #FFF;
}

.ask-staff-btn:hover {
  background-color: #757575;
}

.content-right {
  display: flex;
  width: 52%;
  margin-left: 23px;
  align-items: flex-end;
}

.content-right img {
  object-fit: contain;
}

/* こんなお悩みありませんか */
.service-content {
  padding-top: 80px;
  padding-bottom: 80px;
}

.trouble-title-wrap {
  position: relative;
  text-align: center;
  margin-bottom: 10px;
}

.trouble-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  line-height: 150%;
  display: inline-block;
}

.trouble-title-img {
  width: 165px;
  height: 140px;
  display: inline-block;
  margin-bottom: -45px;
  z-index: 10;
  position: relative;
}

.trouble-title-img img {
  width: 100%;
  margin-bottom: -50px;
  object-fit: contain;
  display: inline-block;
}

.trouble-item-wrap {
  display: flex;
  background-color: #333;
  padding: 40px 24px 16px 24px;
  margin-bottom: 130px;
  position: relative;
}

.trouble-item-wrap .triangle {
  background: #333;
  height: calc(tan(60deg) * 60px / 2);
  width: 100%;
  height: 74px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  bottom: -73.5px;
  left: 0;
  right: 0;
}

.trouble-item {
  padding: 16px 32px 0 32px;
}

.trouble-icon {
  color: #FFBF80;
  font-size: 48px;
  margin-bottom: 16px;
  text-align: center;
}

.trouble-text {
  color: #FFF;
  font-weight: 900;
  line-height: 1.75;
}

/* BackAppが解決します */
.kaiketsu-img {
  text-align: center;
  margin-bottom: 16px;
}

.kaiketsu-img img {
  width: 898px;
  max-width: 100%;
}

/* 3つのポイント */
.points-item {
  display: flex;
  padding-top: 56px;
  padding-bottom: 56px;
  column-gap: 40px;
  align-items: center;
}

.points-item.reverse {
  flex-direction: row-reverse;
}

.points-item:not(:last-of-type) {
  border-bottom: 1px solid #000;
}

.points-item-left {
  flex-basis: 59%;
}

.points-title-wrap {
  display: flex;
  align-items: flex-end;
  margin-bottom: 24px;
}

.points-title-wrap img {
  margin-right: 8px;
}

.points-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
}

.points-title span {
  color: #757575;
}

.points-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.points-item-right {
  flex-basis: 41%;
}

.points-wrap .ask-staff-btn {
  margin: 16px auto 0 auto;
}

/* おもな機能 */
.features-wrap {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #F4FBF8;
}

.section-title-wrap {
  text-align: center;
}

.section-title {
  text-transform: uppercase;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.469;
  color: #000;
  font-family: 'Oswald', sans-serif;
}

.section-title-ja {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.458;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.section-title-ja::before,
.section-title-ja::after {
  background-color: #333;
  content: "";
  height: 2px;
  width: 24px;
}

.section-title-ja::before {
  margin-right: 8px;
}

.section-title-ja::after {
  margin-left: 8px;
}

.main-features-wrap {
  display: flex;
  column-gap: 40px;
  margin-bottom: 40px;
}

.main-features-title {
  text-align: center;
  margin: 32px 0 16px 0;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5
}

.main-features-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.other-features-title-wrap {
  display: flex;
  align-items: center;
  white-space: nowrap;
  column-gap: 10px;
}

.other-features-line {
  height: 1px;
  width: calc(100% - 150px);
  position: relative;
}

.other-features-line::before {
  content: "";
  background-image: linear-gradient(to right, #808080, #808080 3px, transparent 3px, transparent 8px);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.other-features-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  width: 100px;
}

.other-features-item-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 24px;
  grid-row-gap: 40px;
  margin-top: 42px;
}

.other-features-item {
  text-align: center;
}

.other-features-item img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(5.463414669036865px 5.463414669036865px 16.39024543762207px rgba(38, 177, 112, 0.20));
}

.other-features-item-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.features-wrap .ask-staff-btn {
  margin: 64px auto 0 auto;
}

/* 得意領域 */
.strengths-wrap {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-title.orange {
  color: #757575;
}

.strengths-item-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
}

.strengths-item {
  border-radius: 0 0 16px 16px;
  background-color: #FFF9F2;
  box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.20);
  border: 1px solid #FFA040;
  transition: all 0.5s;
  position: relative;
}

.strengths-item-header {
  background-color: #FFA040;
  padding: 12px 8px;
  text-align: center;
  color: #FFF;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  transition: all 0.5s;
}

.strengths-item-innerwrap {
  padding: 24px 32px 16px 32px;
}

.strengths-item-innerwrap img {
  object-fit: contain;
  width: 100%;
  margin-bottom: 24px;
}

.strengths-item-text {
  color: #333;
  font-weight: 400;
  line-height: 1.75;
  margin-bottom: 34px;
}

.strengths-item-btn {
  background-color: #FFF;
  border: 1px solid #757575;
  padding: 4px 10px;
  color: #757575;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition: all 0.5s;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translate(-50%, 0);
  width: calc(100% - 64px);
}

.strengths-item-btn .fa-arrow-right {
  margin-left: 4px;
}

.strengths-item-btn:hover {
  background-color: #757575;
  color: #FFF;
}

.strengths-item.hovered {
  background-color: #FFECD9;
  box-shadow: 6px 6px 12px 0px rgba(0, 0, 0, 0.30);
}

.strengths-item-header.hovered {
  background-color: #757575;
}

.strengths-show-btn {
  font-size: 20px;
  font-weight: 900;
  color: #757575;
  height: 64px;
  margin: 64px auto 0 auto;
  padding: 12px 24px;
  width: 400px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
  border: 2px solid #757575;
}

.strengths-show-btn .fa-arrow-right {
  margin-left: 8px;
}

.strengths-show-btn:hover {
  background-color: #757575;
  color: #FFF;
}

/* ご依頼の流れ */
.workflow-wrap {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #F4FBF8;
}

.workflow-start, .workflow-arrow, .workflow-goal {
  text-align: center;
}

.workflow-start {
  margin-bottom: 10px;
}

.workflow-arrow {
  margin-bottom: 24px;
}

.workflow-item {
  display: flex;
  column-gap: 16px;
  align-items: center;
  border-radius: 16px;
  background-color: #FFF;
  box-shadow: 4px 4px 12px 0px rgba(38, 177, 112, 0.20);
  padding: 24px 32px 24px 40px;
  position: relative;
  width: 95%;
  margin-left: auto;
  margin-bottom: 26px;
}

.workflow-item-num {
  position: absolute;
  top: -14px;
  left: -48px;
}

.workflow-item-left {
  width: calc(100% - 181px);
}

.workflow-item-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  padding-bottom: 4px;
  margin-bottom: 16px;
  border-bottom: 2px solid #000;
}

.workflow-item-text {
  color: #333;
  font-weight: 400;
  line-height: 1.5;
}

.workflow-item-right {
  width: 165px;
}

.workflow-item-right img {
  width: 100%;
}

.workflow-goal {
  max-width: 100%;
  width: 492px;
  margin: 0 auto;
}

.workflow-wrap .ask-staff-btn {
  margin: 64px auto 0 auto;
}

/* よくある質問 */
.faq-wrap {
  padding-top: 80px;
  padding-bottom: 80px;
}

.faq-item:not(:last-of-type) {
  margin-bottom: 24px;
}

.faq-item-header {
  display: flex;
  align-items: center;
  padding: 0 32px 6px 0;
  border-bottom: 2px solid #757575;
  position: relative;
  cursor: pointer;
}

.faq-question-icon {
  flex-basis: 48px;
  margin-right: 10px;
}

.faq-question-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.faq-item-title {
  color: #333;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
  width: calc(100% - 58px);
}

.faq-item-btn {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translate(0, -50%);
  cursor: pointer;
  transition: all 0.5s;
}

.faq-item-btn:hover {
  opacity: 0.5;
}

.faq-item-btn i {
  color: #757575;
  font-size: 14px;
}

.faq-item-answer {
  background-color: #FFF9F2;
  padding: 16px 16px 16px 0;
  display: flex;
}

.faq-answer-icon {
  flex-basis: 48px;
  margin-right: 10px;
}

.faq-answer-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.faq-item-text {
  width: calc(100% - 58px);
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

/* お役立ち情報 */
.blog-wrap {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #F4FBF8;
}

.blog-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}

.blog-item {
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.10);
  position: relative;
  transition: all 0.5s;
  border-radius: 0px 0px 16px 16px;
}

.blog-item img {
  height: 258px;
  width: 100%;
  object-fit: cover;
}

.blog-textwrap {
  padding: 32px;
  transition: all 0.5s;
  background-color: #FFF;
  border-radius: 0px 0px 16px 16px;
}

.blog-title {
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 68px;
}

.second-wrap {
  display: flex;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 8px;
  align-items: center;
}

.blog-date {
  font-size: 16px;
  font-weight: 500;
  margin-right: 12px;
  line-height: 1.5;
}

.blog-tag {
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 4px;
  background-color: #808080;
  line-height: 1em;
  margin-right: 8px;
}

.blog-textwrap a {
  border: 1px solid #000;
  color: #000;
  font-size: 14px;
  font-weight: 900;
  padding: 5px 10px;
  text-align: center;
  transition: all 0.5s;
}

.blog-textwrap a svg path {
  transition: all 0.5s;
}

.blog-textwrap a:hover {
  background-color: #000;
  color: #FFF;
}

.blog-textwrap a:hover svg path {
  fill: #FFF;
}

.blog-item.hovered {
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.30);
  background-color: #F4FBF8;
  border-radius: 0px 0px 16px 16px;
}

.blog-textwrap.hovered {
  background-color: #F4FBF8;
  border-radius: 0px 0px 16px 16px;
}

.blog-bottom {
  position: absolute;
  width: calc(100% - 64px);
  bottom: 32px;
  left: 32px;
}

.blog-bottom .fa-arrow-right {
  margin-left: 0.25em;
}

.blog-btn {
  margin-top: 56px;
  text-align: center;
}

.blog-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 900;
  color: #000;
  border: 2px solid #000;
  width: 400px;
  max-width: 100%;
  padding: 16px 10px;
  margin: 0 auto;
  transition: all 0.5s;
}

.blog-btn .fa-arrow-right {
  font-size: 24px;
  margin-left: 0.25em;
}

.blog-btn a:hover {
  color: #FFF;
  background-color: #000;
}

/*-------------------------
  サービス記事（タブレット）
-------------------------*/
@media screen and (max-width: 1054px){
  .blog-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*-------------------------
  サービス記事（SP）
-------------------------*/
@media screen and (max-width: 768px){
  .mainview {
    width: 100%;
    height: auto;
    margin-top: 60px;
    padding-top: 60px;
    align-items: flex-start;
  }

  .mainview-content {
    flex-direction: column;
  }

  .content-left {
    width: 100%;
  }

  .mainview-text-1 {
    font-size: 28px;
  }

  .content-left img {
    margin-bottom: 0;
  }

  .mainview-content .ask-staff-btn {
    position: absolute;
    bottom: 53px;
    left: 50%;
    transform: translate(-50%, 0);
    width: calc(100% - 48px);
  }
  
  .content-right {
    min-width: 280px;
    width: 100%;
    margin: 23px auto 147px auto;
    align-items: center;
    justify-content: center;
  }

  .content-right img {
    width: 60%;
    min-width: 280px;
  } 

  /* こんなお悩みありませんか */
  .trouble-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    margin-bottom: 5px;
  }

  .trouble-title {
    flex-basis: 60%;
    font-size: 24px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .trouble-title-img {
    flex-basis: 20%;
    flex-shrink: 0;
    min-width: 122px;
    height: 104px;
    display: flex;
    justify-content: flex-start;
    align-items:baseline;
    margin-bottom: -30px;
  }

  .trouble-title-img img{
    flex-shrink: 0;
    width: 122px;
    height: 104px;
    display: inline-block;
  }

  .trouble-item-wrap {
    flex-direction: column;
    margin-bottom: 98px;
  }

  .trouble-item {
    padding-bottom: 16px;
  }

  .trouble-item-wrap .triangle {
    bottom: -73.3px;
  }

  /* Backappが解決します */
  .kaiketsu-img {
    margin-bottom: 32px;
  }

  /* 3つのポイント */
  .points-item {
    padding-top: 24px;
    padding-bottom: 24px;
    column-gap: 0;
    flex-direction: column;
  }
  
  .points-item.reverse {
    flex-direction: column;
  }
  
  .points-item-left {
    flex-basis: 100%;
  }
  
  .points-title-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
  
  .points-title-wrap img {
    margin-right: 0;
    margin-bottom: 8px;
  }
  
  .points-text {
    margin-bottom: 24px;
  }
  
  .points-item-right {
    flex-basis: 100%;
  }

  /* おもな機能 */
  .main-features-wrap {
    flex-direction: column;
    column-gap: 0;
    row-gap: 40px;
  }
  
  .other-features-item-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 得意領域 */
  .strengths-item-wrap {
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 0;
  }

  /* ご依頼の流れ */
  .workflow-arrow.first-arrow {
    margin-bottom: 14px;
  }

  .workflow-arrow {
    margin-bottom: 22px;
  }

  .workflow-item {
    flex-direction: column;
    column-gap: 0;
    width: 100%;
    margin-left: 0;
  }

  .workflow-item-num {
    top: -53px;
    left: 0;
  }

  .workflow-item-left {
    width: 100%;
  }

  .workflow-item-right {
    margin-top: 16px;
    width: 165px;
  }

  /* お役立ち情報 */
  .blog-content {
    grid-template-columns: repeat(1, 1fr);
  }

  .blog-btn {
    margin-top: 40px;
  }

  .blog-btn a {
    width: 100%;
    max-width: 364px;
  }
}

@media screen and (max-width: 370px){
  .mainview-text-1 {
    font-size: 24px;
  }
  
  .mainview-text-2, .mainview-text-3 {
    font-size: 34px;
  }
}