a{
    text-decoration: none;
}

.cost_plan-title{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px 0 40px 0;
    gap:8px;
}

#costtype-btn{
    display: flex;
    margin: auto;
    max-width: 864px ;
    font-weight: 700;
    gap: 32px;
    text-decoration: none;
  }
  .family-btn,.apartment-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.2rem;
    border-radius: 100px;
    background: var(--light-orange, #FFD1A5);
    width: 400px;
    padding: 24px 40px;
    text-align: center;
  }
   /*ボタンの矢印*/
   .family-btn,.apartment-btn{
    position: relative;
  }
  .family-btn::after,.apartment-btn::after{
    background-image: url(../../img/pages/orange-arrow.svg);
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    transition: all 0.2s ease;
    right:25px;
  }
  .family-btn:hover::after,.apartment-btn:hover::after{
    top: 45%;
  }
  @keyframes anim {
    0% {transform: translateX(0);}
    100% {transform: translateY(6px);}
  }
  @keyframes anim-out {
    0% {transform: translateY(6px);}
    100% {transform: translateX(0);}
  }
  /*------------------*/
  #family-type,#apartment-type{
    max-width: 980px;
    margin: auto;
  }
  #family-type .cost_family-title,#apartment-type .cost_apartment-title{
    display: flex;
    justify-content: center;
    color: var(--font-color);
    padding: 0;
    margin: 40px 0 32px 0;
  }
  .recom-title,.recom-sab{
   text-align: center;
   color: var(--font-color);
  }
  .margin-plan{
    max-width: 980px;
    margin: auto;
 }
  #apartment-type .recom-sab{
    text-align: left;
  }
  .recom-title{
   font-size: 24px;
   font-weight: 700;
  }
  .red-font{
    color: var(--orange, #F75940);
    font-size: 24px;
    font-weight: 700;
  }
  .recom-sab{
    font-size: 14px;
  }
  .flex_cost{
    justify-content: center;
    gap: 24px;
    color: var(--font-color);
    padding: 24px 0 24px 0;
  }
  #family-type .cost-name,#apartment-type .cost-name{
    color: #FFF;
    text-align: center;
    padding: 20px 16px;
    border-radius: 6px 6px 0px 0px;
    background: linear-gradient(360deg, #364857 0%, #6D8294 100%);
    font-size: 1.2rem;
  }
  .frame-cost{
    width: 300px;
    text-align: center;
  }
  .plan-frame{
    border-radius: 0 0 6px 6px;
    border: 3px solid var(--navy, #364857);
    background: #FFF;
    box-shadow: 0px 8px 0px 0px #364857;
    height: 292px;
    padding-bottom: 24px;
    border-top: none;
    display: flex;
    flex-direction: column;
  }
  .cost-summary{
    flex-grow: 1;
    margin-top: 16px;
    text-align: center;
  }
  .cost-support-option{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom:25px;
  }
  .cost-name{
    font-size: 24px;
  }
  .big-font_cost{
    font-size: 1.8rem;
  }
  .cost_storong p{
    font-size: 40px;
    font-weight: 700;
    color: var(--orange, #F75940);
  }
  ruby,rt{
    color: var(--orange, #F75940);
    font-weight: 700;
  }
  ruby{
    font-size: 22px;
  }
  rt{
    font-size: 12px;
  }
  .cost-summary h3{
    font-size: 20px;
    line-height: 150%;
    padding: 0;
  }
  .sost-plan-icon img{
    padding: 32px 0 15px 0;
  }
  .recom-title{
    padding-bottom: 8px;
  }
  .none-pc_br{
    display: none;
  }
  .recom-plan{
    margin-bottom: 60px;
  }
  #family-type .Notes-cost,#apartment-type .Notes-cost{
    font-size: 14px;
    line-height: 170%;
  }
  .price-table{
    padding: 10px;
  }
  .price-table table{
    width: 100%;
  }
  .price-table th {
    padding: 16px 24px;
    border: 2px solid var(--navy, #364857);
    background: var(--pink, #FFF5F3);
    font-size: 14px;
    font-weight: 500;
    line-height: 130%;
  }
  .price-table td{
    padding: 16px 24px;
    border: 2px solid var(--navy, #364857);
    background-color: #FFF;
    font-size: 14px;
    font-weight: 500;
    line-height: 130%;
  }
  .table-center{
    text-align: center;
  }
  .plan-tilte{
    width: 367px;
  }
  .plan-box{
    width: 290px;
  }
  #family-type .Notes-cost{
    padding: 5px 0 40px 0;
  }
  .Notes-cost{
    max-width: 960px;
    margin: auto;
  }
    /*========*/
    @media(max-width: 575px){
      #family-type .Notes-cost, #apartment-type .Notes-cost {
        max-width: 480px;
        margin: auto;
        text-align: left;
    }
    #apartment-type .recom-sab, #family-type .recom-sab{
      max-width: 330px;
      margin: auto;
      text-align: left;
  }
  .plan-frame {
    height: 250px;
  }
  .family-btn, .apartment-btn {
    font-size: 24pxpx;
    padding: 18px 37px;
  }
    }
    @media (max-width: 767px) {
      .frame-cost{
        width: auto;
      }
     
      #costtype-btn {
        justify-content: center;
        flex-wrap: wrap;
      }
      .flex_cost {
        flex-direction: column;
        max-width: 430px;
        margin: auto;
      }
      .request-btn{
        max-width: 480px;
        margin: auto;
     }
      .recom-plan,.mega_plan{
        padding: 3em 1em 0 1em;
      }
      .request-btn{
        margin-top: 48px;
        margin-bottom: 56px;
      }
      .applyBtn a img.btn-apply{
        margin-bottom: 28px;
      }
      br{
        display: block;
      }
      #family-type, #apartment-type {
      max-width: 630px;
      flex-direction: column;
    }
    .type-table{
      position: relative;
      overflow-x: auto;
      white-space: nowrap;
    }
  }