section.template17 {
  width: 960px;
  max-width: 960px;
  margin: 60px auto 0;
  overflow: hidden;
}
section.template17 .section__cell--main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
}
section.template17 .section__cell {
  width: calc((100% / 2) - 20px);
  box-sizing: border-box;
}
section.template17 .section__cell a {
  height: 290px;
  text-decoration: none;
  padding: 28px;
  min-height: 182px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
section.template17 .section__main--title {
  font-size: 2.0rem;
  font-weight: bold;
  margin-bottom: 12px;
  min-height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-top: 0;
  padding-bottom: 0;
}
section.template17 .section__faq .section__main--title{
  margin-top: 0;
  padding-left: 46px;
  background: url(../img/guide/qa.png) left center no-repeat;
}
section.template17 .section__contact .section__main--title{
  margin-top: 0;
  padding-left: 46px;
  background: url(../img/guide/tel.png) left center no-repeat;
}
section.template17 .section__sub--comment {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 0;
}
section.template17 .section__sub--title {
  font-size: 1.4rem;
  margin: 0 0 12px;
  line-height: 1;
}
section.template17 .section__sub--number {
  font-size: 2.4rem;
  margin: 0 0 20px 0;
  line-height: 1;
  font-weight: bold;
}
section.template17 .section__sub--btn {
  width: 274px;
  height: 30px;
  border-radius: 16px;
  font-size: 1.4rem;
  font-weight: bold;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
section.template17 p.section__attention {
  font-size: 1.0rem;
  margin-top: 20px;
}

@media print, screen and (max-width: 767px) {
  section.template17 {
    width: unset;
    min-width: unset;
    max-width: unset;
    margin-top: 40px;     
  }
  section.template17 .section__cell--main {
    flex-direction: column;
    gap: 12px;
  }
  section.template17 .section__cell{
    width: 100%;
  }
  section.template17 .section__cell a{
    padding: 24px 12px;
    height: unset;
    min-height: unset;
    box-sizing: border-box;
  }
  section.template17 .section__main--title {
    font-size: 1.8rem;
    margin-bottom: 23px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  section.template17 .section__contact .section__main--title{
    padding-left: 45px;
    background: url(../img/guide/tel_sp.png) left center no-repeat;
    background-size: auto 32px;
  }
  section.template17 .section__mail .section__main--title{
    padding-left: 43px;
    background: url(../img/guide/qa_sp.png) left center no-repeat;
    background-size: auto 32px;
  }  
  section.template17 .section__sub--title {
    font-size: 1.2rem;
  }
  section.template17 .section__sub--number {
    margin: 0 0 12px;
  }
  section.template17 .section__sub--comment {
    font-size: 1.2rem;
  }
  section.template17 .section__sub--btn {
    width: 228px;
    height: 28px;
    font-size: 1.2rem;
  }
  section.template17 .section__cell--main {
    margin: 0 20px;
  }
}