/*.hero_inner
------------------------------*/
.hero_inner h1 {
  line-height: 1.4;
}
.hero_inner h1 + p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
/*.cta-list
------------------------------*/
.cta-list {
  display: flex;
  gap: 1rem;
  padding: 0;
  list-style: none;
  margin-top: 1rem;
}
.cta-list a {
  display: block;
  color: #fff;
  padding: 0.3rem 1rem 0.3rem 1.8rem;
  background: var(--gr) url("https://www.buddyworks.co.jp/CMS/wp-content/themes/buddyworks/assets/img/common/cta_arrow.svg") no-repeat 18px center / 0.3rem;
  border: solid 1px #fff;
  border-radius: 50px;
  text-decoration: none;
}
.cta-list a:hover {
  text-decoration: underline;
  box-shadow: var(--shadow-hover);
}
.cta-list.cta-center {
  justify-content: center;
}
@media (max-width: 567px) {
  ul.cta-list {
    flex-direction: column;
  }
}
/*.content-box
------------------------------*/
.content-box {
  margin: 2rem 0;
  padding: 2rem;
  border: 3px solid var(--gr);
  background: var(--bg-color);
  border-radius: 10px;
}
.content-box p {
  margin-bottom: 1rem;
}
.content-box.margin-no {
  margin: 0 0 1rem;
}
.content-box.margin-sm {
  margin: 1rem 0;
}
.content-box > :first-child {
  margin-top: 0;
}
.content-box > :last-child {
  margin-bottom: 0;
}
.content-box-light {
  background: var(--gr-a);
  border: solid 2px var(--gr-b);
}
.content-box-list ul, .content-box-list ol {
  font-weight: 700;
  line-height: 2;
}
.box-heading {
  color: var(--gr);
}
/*.card-list
------------------------------*/
.card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
/* 4列用 */
.card-list-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card-list > li {
  min-width: 0;
}
.service-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 1.5rem;
  color: inherit;
  text-decoration: none;
  background: var(--gr-c);
  border: 3px solid var(--gr);
  border-radius: 10px;
}
.service-card a:hover {
  box-shadow: var(--shadow-hover);
}
.service-card-icon, .service-card-img {
  display: block;
  margin: 1rem auto;
}
.service-card-img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.service-card-title-row {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.service-card h3 {
  margin: 0;
  text-align: center;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.service-card p {
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}
/* 2列へ */
@media (max-width: 1200px) {
  .card-list-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* タブレット以下 */
@media (max-width: 900px) {
  .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* スマホ */
@media (max-width: 767px) {
  .card-list, .card-list-four {
    grid-template-columns: 1fr;
  }
}
.service-card a:hover {
  box-shadow: var(--shadow-hover);
}
.card-cta {
  align-self: center;
  align-items: baseline;
  margin-top: auto;
  color: #fff;
  padding: 0.3rem 1rem 0.3rem 1.8rem;
  background: var(--gr) url("https://www.buddyworks.co.jp/CMS/wp-content/themes/buddyworks/assets/img/common/cta_arrow.svg") no-repeat 18px center / 0.3rem;
  border: solid 1px #fff;
  border-radius: 50px;
}
/*.reason-list
------------------------------*/
.reason-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: reason-number;
}
.reason-item {
  position: relative;
  counter-increment: reason-number;
  padding-left: 4rem;
  margin-bottom: 2rem;
}
.reason-item:last-of-type {
  margin-bottom: 0;
}
.reason-item::before {
  content: counter(reason-number);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: #fff;
  font-weight: 700;
  background: var(--gr);
  border-radius: 50%;
}
.reason-item h3 {
  margin: 0 0 0.5rem;
}
.reason-item p {
  margin: 0;
}
/*.flow-list
------------------------------*/
.flow-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.flow-item {
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}
.flow-item:first-child {
  padding-top: 0;
}
.flow-item h3 {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  margin: 0 0 1rem;
}
.flow-step {
  display: inline-block;
  flex: 0 0 auto;
  padding: 0.1rem 1.2rem;
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  background: var(--gr);
  border-radius: 999px;
}
.flow-item p {
  margin: 0;
}
@media (max-width: 667px) {
  .flow-item h3 {
    flex-direction: column;
    align-items: flex-start;
  }
}
/*.proof
------------------------------*/
.proof-card {
  padding: 1.5rem;
  background: var(--gr-c);
  border: 1px solid var(--gr-b);
  border-radius: 10px;
}
.proof-card h3 {
  margin: 0.8rem 0 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: normal;
}
.proof-card p {
  margin: 0;
}
.card-label {
  display: inline-block;
  /*min-width: 9rem;*/
  padding: 0.15rem 1rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
  background: var(--gr);
  border-radius: 50px;
}
@media (max-width: 967px) {
  .card-list {
    grid-template-columns: 1fr;
  }
  .proof-card {
    padding: 1.25rem;
  }
  .card-label {
    min-width: 8rem;
  }
  .service-card-title-row {
    height: auto;
  }
}
/* bottom-cta
------------------------------*/
.bottom-cta {
  padding: 2rem 4rem;
  background: var(--gr-d);
  border: solid 3px var(--gr);
  border-radius: 10px;
}
.bottom-cta h2 {
  padding-left: 0;
  margin-bottom: 1rem;
}
.bottom-cta h2::before {
  content: none;
}
.bottom-cta p {
  margin: 0;
}
.bottom-cta .cta-list {
  margin-top: 1.5rem;
}
@media (max-width: 767px) {
  .bottom-cta {
    padding: 1.5rem;
  }
}
/*==================================
config
==================================*/
/* section background
------------------------------*/
.section-bg-green-light {
  background-color: var(--gr-d);
}
/* section spacing
------------------------------*/
.section-space {
  margin: 3rem auto 2rem;
  padding: 2rem 0 3rem;
}
@media (max-width: 967px) {
  .section-space {
    margin: 2.5rem 0;
    padding: 2rem 0 2.5rem;
  }
}