#ad-171 {
  margin-top: 70px;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
}

#ad-171 .container {
  width: 1140px;
  max-width: none;
}
@media (max-width: 1140px) {
  #ad-171 .container {
    width: 100% !important;
  }
}

#ad-171 a:hover,
#ad-171 a:visited,
#ad-171 a:link,
#ad-171 a:active {
  text-decoration: none!important;
}

#ad-171 .hover:hover {
  opacity: .8;
  transition: .2s;
}

#ad-171 p {
  color: #333;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
}

#ad-171 .bg h2 {
  position: relative;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  color: #333;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.4;
  text-align: center;
}
#ad-171 .bg h2::before {
  position: absolute;
  border-bottom: 5px solid #f08b71;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  content: '';
}

#ad-171 h3 {
  margin-bottom: 1rem;
  color: #0c6993;
  font-size: 2.2rem;
  line-height: 1.5;
}

@media (max-width: 575.98px) {
  #ad-171 p {
    font-size: 1.2rem;
  }
  #ad-171 .bg h2 {
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    font-size: 2rem;
  }
  #ad-171 h3 {
    font-size: 1.5rem;
  }
}

#btob,
#btoc,
#btoe,
#brand{
  margin-top: -90px;
  padding-top: 90px;
}
#service-top {
  margin-top: -50px;
  padding-top: 50px;
}

/* ナビ */

#ad-171 .nav-171 {
  height: 70px;
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#ad-171 .hamburger {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#ad-171 .logo {
  width: 150px;
}
#ad-171 .logo-mz {
  width: 120px;
}

#ad-171 .btn-gNav {
  display: none;
}

#ad-171 .gNav .gNav-menu {
  display: flex;
  justify-content: space-between;
}
#ad-171 .gNav .gNav-menu li {
  margin: 0 auto;
  padding: 0 18px;
}
#ad-171 .gNav .gNav-menu li a {
  color: #333;
  font-weight: 600;
}
#ad-171 .gNav .gNav-menu li a:hover {
  color: #0c6993;
  transition: .2s
}

/* hamburger */

#ad-171 .hamburger .btn-gNav {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 24px;
  z-index: 12;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}
#ad-171 .hamburger .btn-gNav span {
  position: absolute;
  width: 100%;
  height: 4px;
  background: #333;
  border-radius: 10px;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}
#ad-171 .hamburger .btn-gNav span:nth-child(1) {
  top: 0;
}
#ad-171 .hamburger .btn-gNav span:nth-child(2) {
  top: 10px;
}
#ad-171 .hamburger .btn-gNav span:nth-child(3) {
  top: 20px;
}
#ad-171 .hamburger .btn-gNav.open span:nth-child(1) {
  background: #ffffff;
  top: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#ad-171 .hamburger .btn-gNav.open span:nth-child(2), #ad-171 .hamburger .btn-gNav.open span:nth-child(3) {
  top: 6px;
  background: #ffffff;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media (max-width: 991.98px) {
  #ad-171 {
    margin-top: 53px;
  }
  #ad-171 .nav-171 {
    height: 53px;
    justify-content: start;
  }
  #ad-171 .hamburger {
    justify-content: start;
    align-items: flex-start;
    padding: 0;
  }
  #ad-171 .logo {
    width: 110px;
    margin-right: 15px;
  }
  #ad-171 .logo-mz {
    width: 90px;
    margin-top: 4px;
  }
  #ad-171 .btn-gNav {
    display: block;
  }
  #ad-171 .gNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    font-size: 1.7rem;
    box-sizing: border-box;
    z-index: 1;
    padding-top: 70px;
    transition: .3s;
  }
  #ad-171 .gNav.open {
    right: 0;
  }
  #ad-171 .gNav .gNav-menu {
    padding: 0;
    width: 100%;
    height: 100%;
    display: block;
    flex-direction: column;
    text-align: center;
  }
  #ad-171 .gNav .gNav-menu li {
    width: 100%;
    padding: 1.5rem 1rem;
  }
}

/* トップ */

#ad-171 #top {
  padding: 1.5rem 0;
  background-color: #f08b71;
  background-image: url("images/back.jpg");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

#ad-171 #top .flex {
  display: flex;
  align-items: center;
}

#ad-171 #top h1 {
  font-size: 4.8rem;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 900;
}
#ad-171 #top h1 span {
  font-weight: 200;
}

#ad-171 #top .sub {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

@media (max-width: 1082px) {
  #ad-171 #top h1 {
    font-size: 4.4rem;
  }
}

@media (max-width: 991.98px) {
  #ad-171 #top h1 {
    font-size: 3.8rem;
  }
  #ad-171 #top .sub {
    font-size: 2rem;
  }
}
@media (max-width: 850px) {
  #ad-171 #top h1 {
    font-size: 3.4rem;
  }
  #ad-171 #top .sub {
    font-size: 1.8rem;
  }
}
@media (max-width: 768.98px) {
  #ad-171 #top {
    padding: 2rem 0 4rem;
  }
  #ad-171 #top h1 {
    margin-top: 1rem;
    font-size: 4rem;
    text-align: center;
  }
  #ad-171 #top .sub {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  #ad-171 #top h1 {
    font-size: 3.4rem;
  }
}

@media (max-width: 480.98px) {
  #ad-171 #top h1 {
    margin-top: .5rem;
    font-size: 2.5rem;
  }
  #ad-171 #top .sub {
    font-size: 1.5rem;
  }  
}

#ad-171 .btn-top {
  width: 100%;
  max-width: 570px;
  position: relative;
  display: block;
  padding: 1.7rem 1rem; 
  background-color: #f08b71;
  border: 2px solid #fff;
  border-radius: 100px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
#ad-171 a.btn-top {
  color: #fff!important;
  font-size: 1.6rem;
}

@media (max-width: 991.98px) {
  #ad-171 a.btn-top {
    font-size: 1.5rem;
  }
}
@media (max-width: 768.98px) {
  #ad-171 .btn-top {
    margin: 0 auto;
  }
}
@media (max-width: 480.98px) {
  #ad-171 a.btn-top {
    font-size: 1.4rem;
  } 
}

#ad-171 .intro {
  font-size: 2rem;
}

/* 記事 */

#ad-171 .bg {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #f4f4f4;
}

#ad-171 .bg .col-md-6,
#ad-171 .bg .col-6 {
  display: flex;
  align-items: stretch;
}

#ad-171 .article-box {
  background-color: #fff;
  box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.15);
}
#ad-171 .article-txt {
  padding: 1rem 2.5rem 1.5rem;
}
#ad-171 .article-txt p {
  font-size: 1.4rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

#ad-171 .text-right {
  color: #0c6993;
  font-weight: 600;
}

@media (max-width: 575.98px) {
  #ad-171 .bg {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  #ad-171 .article-txt {
    padding: .4rem 1.5rem;
  }
  #ad-171 .intro {
    font-size: 1.5rem;
  }
  #ad-171 .article-txt p {
    font-size: 1.2rem;
  }
}

/* サービス一覧 */

#ad-171 #service {
  padding: 4rem 0;
  background: #0c6993;
  color: #fff;
}
#ad-171 #service p {
  color: #fff;
  text-align: center;
  font-size: 1.4rem;
}

#ad-171 .btn-service {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 1.4rem 1rem; 
  background-color: ;
  border-radius: 100px;
  border: 2px solid #fff;
  color: #fff!important;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 850px) {
  #ad-171 #service p {
    font-size: 1.2rem;
  }  
}

@media (max-width: 575.98px) {
  #ad-171 .btn-service { 
    font-size: 1.3rem;
  }
}

@media (max-width: 1023.98px) {
}

@media (max-width: 991.98px) {
}

@media (max-width: 768.98px) {
}

@media (max-width: 575.98px) {
}

@media (max-width: 480.98px) {
}

