body #main{
  font-family: 'Zen Maru Gothic', sans-serif;
}


#CGC_DMguide_main_title{
  margin-top: 20px;
}
h1 {
  letter-spacing: 0.1rem;
  padding: 0;
  text-align: center;
  font-size: 30px;
  font-size: 3rem;
  margin-bottom: 0;
  border-bottom: none;

}

.CGC_DMguide_subtitle1,
.CGC_DMguide_subtitle2  {
  text-align: center;
  letter-spacing: 0.2rem;
}

.CGC_DMguide_subtitle2 {
  font-size: 2rem;
  font-size: 20px;
}

.CGC_DMguide_bubble{
  position: relative;
  padding: 0.6rem 0;
  border-bottom: 3px solid #333;
}

.CGC_DMguide_bubble:before {
  position: absolute;
  bottom: -14px;
  left: 50%;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0;
  border-style: solid;
  border-color: #333 transparent transparent;
}

.CGC_DMguide_bubble:after {
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 12px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
}


@media (min-width: 992px){
  .col-md-offset-1 {
  /* 打ち消し */
    margin-left: 0;
  }
  .col-md-10 {
  /* 打ち消し */
  width: 100%;
  }
}

#CGC_DMguide_subtitle3 {
  margin-top: 3em;
  text-align: center;
}

#CGC_DMguide_subtitle3 p{
  display: inline;
  background-image: linear-gradient(rgba(0,0,0,0) 60%, rgb(255, 252, 83) 60%);
  font-size: 2rem;
  font-size: 20px;
}

@media screen and (max-width: 767px){
  h1{
    font-size: 26px;
    font-size: 2.6rem;
  }

  #CGC_DMguide_main_title .CGC_DMguide_subtitle1{
    font-size: 14px;
    font-size: 1.4rem;
  }
  #CGC_DMguide_main_title .CGC_DMguide_subtitle2{
    font-size: 18px;
    font-size: 1.8rem;
  }
  #CGC_DMguide_subtitle3 {
    /* width: 90%; */
  }
  #CGC_DMguide_subtitle3 p {
    font-size: 18px;
    font-size: 1.8rem;
  }
}

/* safari start*/
_::-webkit-full-page-media, _:future, :root .CGC_DMguide_step-label {
  font-size: 10px;
  font-size: 1rem;
  position: absolute;
  top: 7px;
  left: 10px;
}

_::-webkit-full-page-media, _:future, :root .CGC_DMguide_step-label::after{
  font-size: 26px;
  font-size: 2.6rem;
  top: 10px;
  left: 5px;
}
/* safari end*/


/* =======================
  ステップバー :start
======================= */

.CGC_DMguide_step-wrap {
  counter-reset: count;
  margin: 3em 1em 3em 1em;
  position: relative;
}
.CGC_DMguide_step-content {
  padding: 1em 0 1.3em 2.5em;
  margin: 0;
  position: relative;
}
.CGC_DMguide_step-content::before {
  content: "";
  display: block;
  width: 55px;
  height: 55px;
  background: #000;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: -3px;
}
.CGC_DMguide_step-content::after {
  content: "";
  display: block;
  height: calc(100% - 55px);
  border-left: solid 2px #ddd;
  position: absolute;
  top: 55px;
  left: 22px;
}
.CGC_DMguide_step-label {
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  font-size: 1.2rem;
  position: absolute;
  top: 6px;
  left: 9px;
}
.CGC_DMguide_step-label::after {
  counter-increment: count;
  content: counter(count);
  position: absolute;
  font-size: 28px;
  font-size: 2.8rem;
  top: 9px;
  left: 8px;
}
.CGC_DMguide_step-title {
  font-weight: bold;
  font-size: 2rem;
  font-size: 20px;
  margin-left: 1.5em;
}
.CGC_DMguide_step-body {
  margin-top: 1em;
  padding: 0 0 1.6em 1em;
  border-bottom: dotted 2px #ddd;
  display: flex;
  justify-content: space-between;

}
.CGC_DMguide_step-wrap > :last-of-type::after {
  display: none;
}

.CGC_DMguide_step-body .CGC_DMguide_step-txt {
  font-size: 1.6rem;
  font-size: 16px;
  display: inline-block;
  max-width: 40%;
}

.CGC_DMguide_step-body img {
  display: inline-block;
  max-width: 50%;
  height: auto;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.20);
}

@media screen and (max-width: 767px) {

  .CGC_DMguide_step-body {
    display:block;
  }
  .CGC_DMguide_step-body .CGC_DMguide_step-txt {
    display:block;
    max-width: 100%;
    margin-top: 1.6em;
  }
  .CGC_DMguide_step-body img {
    display: block;
    margin-top: 20px;
    max-width: 90%;
    margin-top: 1.6em;
  }
}

/* IE start */
@media all and (-ms-high-contrast: none){
  .CGC_DMguide_step-body .CGC_DMguide_step-txt{
    width: 40%;
  }
  .CGC_DMguide_step-body img {
    width: 50%;
  }
}

@media all and (max-width: 767px) and (-ms-high-contrast: none) {
    .CGC_DMguide_step-body .CGC_DMguide_step-txt {
      width: 100%;
    }
    .step-body img {
      width: 90%;
    }
  }
/* IE end */

/* =======================
  ステップバー :end
======================= */


/* =======================
  ボタン :start
======================= */
#CGC_DMguide_buttonarea{
  display: flex;
  justify-content: space-around;
  margin: 2em 3em 2em 3em;
  box-sizing: content-box !important;
}
.CGC_DMguide_button{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: solid 2px #000;
  box-shadow: 3px 3px 0 rgb(0 0 0 / 20%);
  border-radius: 8px;
  background-color: rgb(226, 226, 226);
  position: relative;
  margin: 0;
  padding: 1em 2em;
  width: calc(90% / 3);
  max-width: 200px;
  color: #333;
  font-size: 1.6rem;
  font-size: 16px;
  font-weight: 600;
  transition: 0.4s;
  text-decoration: none !important;
}

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

.CGC_DMguide_bt_arrow{
  width: 15px;
}

.CGC_DMguide_bt_arrow::before{
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: 1.4em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 2px;
  background-color: #000;
  transition: 0.4s;
}

.CGC_DMguide_bt_arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1.4em;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background-color: #000;
  transition: 0.4s;
}

.CGC_DMguide_button:hover,
.CGC_DMguide_button:focus,
.CGC_DMguide_button:active {
  text-decoration: none !important;
  background-color: #000;
  color: #fff;
  opacity: 1;
}

.CGC_DMguide_button:hover .CGC_DMguide_bt_arrow::before,
.CGC_DMguide_button:hover .CGC_DMguide_bt_arrow::after {
  background-color: #fff;
  right: 1em;
}

@media screen and (max-width: 767px){
  #CGC_DMguide_buttonarea{
    display:flex;
    flex-direction:column;
    align-items: center;
    margin: 0 3em 1em 3em;
  }

  .CGC_DMguide_button{
    width: 230px;
  }
  .CGC_DMguide_button:not(:last-child){
    margin-bottom: 1em;
  }
}

/* IE start */
@media all and (-ms-high-contrast: none){
  .CGC_DMguide_bt_arrow::before{
    top: calc(50% - 4px);
    transform:translateY(0) rotate(30deg);
  }
}
/* IE end */

/* =======================
  ボタン :end
======================= */

