/** -----------------------------------
    サービストップ
-------------------------------------**/

#servicetop{
    padding: 120px 0;
}

#servicetop h2{
    text-align: center;
}

#servicetop p{
    text-align: center;
}

/** -----------------------------------
    お悩みパート
-------------------------------------**/

#onayami{
    background-color: #EAE6E0;
    padding: 50px 0;
    position: relative;
}

#onayami h2{
    line-height: 3;
    text-align: center;
}

.arrow img{
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: -25px;
    width: 20px;
}
@media screen and (max-width: 756px) {
#onayami h2 {
    line-height: 2;
    font-size: 1em;
}
}
/** -----------------------------------
    ３つの資金
-------------------------------------**/

#fund{
    background: #f6faf7;


}

.fundinfo{
    display: flex;
    max-width: 1000px;
    padding: 75px 0px;
        margin: 0px auto;
    align-items: center;
    justify-content: center;
    gap: 2em;
}

.fundinfoimg{
    width: 30%;
}

.fundinfotx p{
    font-size: 18px;
}


.fund-section {
  padding: 4rem 1rem;
}

.fund-grid {
max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.fund-card {
  width: 100%;
  max-width: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 30%;
}

.icon-wrap {
  position: absolute;
  top: -30px;
  z-index: 2;
}

.icon-wrap img {
  width: 72px;
  height: auto;
}

.card-inner {
  background: #9ac57b;
  padding: 3rem 0.5rem 5.5rem; /* ← 下を少し多めに確保する */
  border-radius: 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.card-inner h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: bold;
    letter-spacing: 3px;
}

.card-inner p {
  font-size: 1rem;
  line-height: 1.6;
      text-align: center;
}

.card-number {
  position: absolute;
  bottom: -1rem; /* ← ここで少しだけはみ出す */
  right: 1rem;
  font-size: 5rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}


@media screen and (max-width: 900px) {
.fundinfo{
  width: 90%;
  flex-direction: column-reverse;

}
.fundinfotx p {
    font-size: 16px;
    text-align: center;
}
.fundinfoimg {
    width: 80%;
}

}

@media screen and (max-width: 756px) {
.fund-card {
  flex: inherit;
}
.fund-grid {
    gap: 3rem;
}
}



#forplan .green_button {
  background-color: transparent;
  border: #9AC57B 1px solid;
  padding: 10px 15px;
  transition: 0.8s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34%;
  margin: 0 auto;
}

#forplan .green_button a {
  color: #9AC57B;
  letter-spacing: 0.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

#forplan .green_button:hover {
  background-color: var(--green);
  transition: 0.8s;
  color: #ffffff;
}

#forplan .green_button a:hover {
  color: #ffffff;
}



/** -----------------------------------
    資金下 説明パート
-------------------------------------**/

.plan1, .plan2{
    display: flex;
        align-items: center;
    gap: 3rem;
    margin-top: 80px;
}

.plan1{
    flex-direction: row-reverse; 
}

.plan_img{
    width: 40%;
}

.plan_tx{
   text-align: left;
}

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

  #forplan{
        width: 90%;
    margin: 0 auto;
  }

.plan1, .plan2 {
        flex-direction: column;
}
.plan_img {
    width: 50%;
}

.toLP p {
    font-size: 0.8rem;
}

#forplan .green_button {
    width: 80%;
}
}
