/* #pension */



/* #pension {
  padding: 0 15px;
} */

#pension p{
  margin-top: 0px;
}


#pension .pension-p{
  margin-top: 40px;
  text-align: start;
}

@media only screen and (min-width: 768px) {
  #pension .pension-p{
    margin-top: 40px;
    text-align: center;
  }
}

#pension span.pension-p {
  display: block;
  font-size: 1rem;
}



#pension h3:first-of-type {
margin-top: 15%;
}
@media only screen and (min-width: 768px) {
  #pension h3:first-of-type {
    margin-top: 10%;
    }
}

#pension h3 {
  font-size: 2rem;
  text-align: center;
  background-color: #EB5505;
    color: #fff;
    padding: 10px;
    margin: 5% auto;
}

@media only screen and (min-width: 768px) {
  #pension h3 {
    font-size: 2.4rem;
  }
}


#pension h3::before {
  content: none;
}


@media only screen and (min-width: 768px) {
  #pension h3 br{
   display: none;
  }
}


/* .speech-bubble {
  max-width: 700px;
} */

#pension .speech-bubble-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
  margin: 0 auto;
  max-width: 700px;
}

#pension .bubble {
  position: relative;
  width: 100%;
  max-width: 65vw;
  padding: 4vw;
  margin: 4vw;
  border-radius: 4vw;
  font-size: 3.5vw;
  color: #fff;
  line-height: 1.4;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-weight: 600;
}

@media only screen and (min-width: 768px) {
  #pension .bubble {
    width: 60%;
    font-size: 18px;
    padding: 18px;
    margin: 18px;
    border-radius: 15px;
  }

}


#pension .right {
  background-color: #fff;
  align-self: flex-end;
  color: #000;
}

#pension .left {
  background-color: #EB5505;
  align-self: flex-start;
}

#pension .right::before {
  content: "";
  position: absolute;
  top: 3%;
  right: -4vw;
  border: 2vw solid transparent;
  border-left: 4vw solid #fff;
  transform: rotate(-35deg);
}
@media only screen and (min-width: 768px) {
  #pension .right::before {
    top: 0px;
    right: -28px;
    border: 14px solid transparent;
    border-left: 28px solid #fff;
  }
}

#pension .left::before {
  content: "";
  position: absolute;
  top: 3%;
  left: -4vw;
  border: 2vw solid transparent;
  border-right: 4vw solid #EB5505;
  transform: rotate(35deg);
}

@media only screen and (min-width: 768px) {
  #pension .left::before {
    top: 0px;
    left: -28px;
    border: 14px solid transparent;
    border-right: 28px solid #EB5505;
  }
}



#pension .consultation-container {
  margin-bottom: 50px;
  display: flex;
    flex-direction: column;
    justify-content: center;
}

#pension .consultation-inner {
  list-style-type: none;
 padding-left: 0;
 max-width: 500px;
    margin: 0 auto;
}

#pension .consultation-inner li ul{
  list-style-type: disc;
  padding-left: 0;
  /* padding-bottom: 25px; */
  font-weight: 600;
    color: #EB5505;
    margin-left: 0;
}
#pension .consultation-inner li ul li{
 margin-left: 20px;
 margin-top: 0;
 font-weight: 400;
 color: #000;
}


/* quality */

#pension .d-flex {
  display: flex;
  flex-direction: column;
}

/* .l-section__inner {
  padding: 30px 25px 50px;
} */

#pension img {
  max-width: 100%;
  height: 85px;
  vertical-align: bottom;
}

#pension .f-orange {
  color: #EB5505;
}

#pension .l-quality {
  gap: 15px;
  padding: 0;
  margin-left: 0;
}

@media only screen and (min-width: 768px) {
  #pension .l-quality {
    flex-direction: row;
    gap: 30px;
  }
}

#pension .l-quality__item {
  gap: 10px;
  padding: 20px;
  border: 2px solid #EB5505;
  border-radius: 6px;
}
@media only screen and (min-width: 768px) {
  #pension .l-quality__item {
    width: calc(100% / 3);
    font-size: 1.5rem;
    padding: 25px;
  }
}

#pension .l-quality__item-icon {
  max-width: 78px;
  margin: 0 auto;
}

#pension .l-quality__item-title {
  font-size: 1.7rem;
  text-align: center;
  line-height: 1.765;
  font-weight: 800;
}



/* step */
#pension #step {
  display: flex;
  flex-direction: column;
}

#pension #step .d-flex{
 margin: 0 auto;
 width: 100%;
}

#pension #step h3 {
  /* margin: 5% 0; */
  width: 100%;
}

#pension .l-section__inner--step ul{
  display: flex;
  flex-direction: column;
  padding: 0;
    list-style-type: none;
    color: #EB5505;
    max-width: 750px;
    margin: 0 auto;
}

#pension .l-section__inner--step ul p{
  color: #000;
}
#pension .l-section__inner--step ul h4{
  margin-bottom: 0.8rem;
}
#pension .l-section__inner--step ul p{
  margin-top: 0.8rem;
}



/* ボタン */

#pension .l-btn-wrap {
margin: 10% 0;
}

#pension .l-btn {
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 325px;
  /* width: 100%; */
  margin: 0 auto;
  padding: 22px;
  background-color: #EB5505;
  color: #FFF;
  border-radius: 6px;
  font-weight: 600;
    font-size: 1.8rem;
  line-height: 0.83;
  text-decoration: none;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

@media only screen and (min-width: 768px) {
  #pension .l-btn {
    width: 100%;
    max-width: 580px;
    padding: 27px;
    font-size: 2.4rem;
  }
}

#pension .l-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: url(../img/btn-arrow.svg) no-repeat center / cover;
}

@media only screen and (min-width: 768px) {
  #pension .l-btn::after {
      right: 30px;
      width: 16px;
      height: 16px;
  }
}


/* l-quality__item {
  gap: 10px;
  padding: 20px;
  border: 2px solid #EB5505;
  border-radius: 6px;
} */