/* ========================================
   フッター共通スタイル（PCとSP統合版）
   カルティクラウド（ポータル）用
   ======================================== */



.floating-banner {
  position: fixed;
  z-index: 9999;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  border-top: 1px solid #eee;
}

.floating-banner-inner .download_cta {
 background: #e7442b !important;
 color: #ffffff !important;
 display: flex;
 width: 100%;
 height: 100%;
 border-radius: 100px;
 justify-content: center;
 align-items: center;
 font-weight: 900;
 font-size: 16px;
 padding: 11px 24px 13px;
}

/* floating CTA：2行構造 (.sub + .main) — マルチカルテLP用 */
.floating-banner-inner .download_cta {
    flex-direction: column;
    line-height: 1.3;
    gap: 2px;
}
.floating-banner-inner .download_cta .sub {
    margin: 0;
    padding: 0;
    font-size: 11px;
    color: #ffffff;
    font-weight: normal;
}
.floating-banner-inner .download_cta .main {
    margin: 0;
    padding: 0;
    color: #ffffff;
    /* font-size は既存の .download_cta から継承 */
}

/* PC版フッター（1024px以上） */
@media screen and (min-width: 1024px) {
  .footer {
    position: relative;
    height: auto;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    padding: 0 40px 40px 40px;
  }

  .footer .footer-ipad {
    position: absolute;
    top: 40px;
    left: 70px;
    z-index: 1;
    max-width: 470px;
  }

  .footer .footer-gearLeft {
    position: absolute;
    top: 155px;
    left: 40px;
    z-index: 0;
  }

  .footer .footer-gearRight {
    position: absolute;
    bottom: 493px;
    right: 42px;
    z-index: 0;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-subtitle {
    position: relative;
    z-index: 1;
    margin-top: 75px;
    color: #ff6a46;
    background: -webkit-linear-gradient(#FFC780, #FF5C45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-weight: 900;
    font-size: 20px;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-title {
    position: relative;
    z-index: 1;
    text-align: center;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-title h2 {
    font-weight: 900;
    color: #ff6a46;
    background: -webkit-linear-gradient(top, #FFC780, #FF5C45 50%, #FFC780 50%, #FF5C45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 42px;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta .cta {
    display: flex;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta .cta li {
    list-style: none;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta .cta li .download_cta {
    position: relative;
    display: inline-block;
    border-radius: 36px;
    background: linear-gradient(135deg, #FFC780 5%, #FF5C45);
    color: #ffffff;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    width: 272px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 900;
    z-index: 1;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta .cta li .contact_cta {
    display: inline-block;
    border-radius: 36px;
    background: linear-gradient(135deg, #FFC780 5%, #FF5C45);
    color: #ffffff;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    width: 272px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: 900;
    margin-left: 24px;
    position: relative;
    z-index: 1;
  }

  .footer .footer-inner .footer-banner {
    margin-top: 40px;
    position: relative;
    z-index: 1;
  }

  .footer .footer-inner .footer-down {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
  }

  .footer .footer-inner .footer-down .footer-logo {
    margin-right: 60px;
  }

  .footer .footer-inner .footer-down .footer-logo p {
    color: #505050;
    font-size: 12px;
    font-weight: bold;
    margin-top: 16px;
  }

  .footer .footer-inner .footer-down .footer-list {
    display: flex;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-left ul li {
    list-style: none;
    margin-top: 15px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-left ul li a {
    font-size: 16px;
    font-weight: bold;
    color: #505050;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-middle {
    margin-left: 112px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-middle ul li {
    list-style: none;
    margin-top: 15px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-middle ul li a {
    font-size: 16px;
    font-weight: bold;
    color: #505050;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-right {
    margin-left: 112px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-right ul li {
    list-style: none;
    margin-top: 15px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-right ul li a {
    font-size: 16px;
    font-weight: bold;
    color: #505050;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-right ul li .sns-icon-list .sns-icon {
    margin-left: 6px;
  }

  /* LP用のスタイル */
  .footer.footer__lp {
    height: initial;
    background-color: initial;
    display: inherit;
    width: 1080px;
    margin: 0 auto;
    padding-bottom: 80px;
  }

  .footer .sns-icon.sns-icon__lp {
    width: 32px;
  }

  .footer__copyRight--lp-sp-only {
    display: none;
  }
}

/* SP版フッター（1023px以下） */
@media screen and (max-width: 1023px) {
  .footer {
    background: #ffffff;
    padding-bottom: 80px;
    position: relative;
  }

  .footer .footer-inner .footer-gearLeft {
    position: absolute;
    top: 120px;
    right: 0;
    z-index: 0;
  }

  .footer .footer-inner .footer-up {
    position: relative;
    z-index: 1;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-subtitle {
    font-size: 20px;
    font-weight: 900;
    color: #ff6a46;
    background: -webkit-linear-gradient(#FFC780, #FF5C45 140%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    padding-top: 40px;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-title h2 {
    font-size: 26px;
    font-weight: bold;
    color: #ff6a46;
    background: -webkit-linear-gradient(top, #FFC780, #FF5C45 50%, #FFC780 50%, #FF5C45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta {
    list-style: none;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta .cta li {
    list-style: none;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta .cta li .download_cta {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    width: 245px;
    height: 64px;
    border-radius: 32px;
    background: linear-gradient(135deg, #FFC780 5%, #FF5C45);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    margin: 0 auto;
    margin-top: 24px;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta .cta li .contact_cta {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    width: 245px;
    height: 64px;
    border-radius: 32px;
    background: linear-gradient(135deg, #FFC780 5%, #FF5C45);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    margin: 0 auto;
    margin-top: 32px;
  }

  .footer .footer-inner .footer-banner {
    margin-top: 32px;
    text-align: center;
  }

  .footer .footer-inner .footer-banner .sp {
    width: 100%;
    height: 100%;
    display: inline-block;
  }

  .footer .footer-inner .footer-banner .sp img {
    max-width: 100%;
  }

  .footer .footer-inner .footer-down .footer-logo {
    margin-top: 60px;
    margin-bottom: 40px;
    text-align: center;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-left ul li {
    list-style: none;
    text-align: center;
    margin-bottom: 24px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-left ul li a {
    color: #505050;
    font-size: 16px;
    font-weight: bold;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-middle ul li {
    list-style: none;
    text-align: center;
    margin-bottom: 24px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-middle ul li a {
    color: #505050;
    font-size: 16px;
    font-weight: bold;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-right ul li {
    list-style: none;
    text-align: center;
    margin-bottom: 24px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-right ul li a {
    color: #505050;
    font-size: 16px;
    font-weight: bold;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-right ul li .sns-icon-list .sns-icon {
    margin-left: 6px;
  }

  .footer .footer-inner .footer-down .footer-list .copyRight {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
  }

  .footer .footer-inner .footer-down .footer-list .copyRight p {
    color: #505050;
  }

  /* LP用のスタイル */
  .footer.footer__lp {
    padding-bottom: 120px;
    padding-top: 20px;
    background-color: initial;
  }

  .footer .sns-icon.sns-icon__lp {
    width: 32px;
  }

  .footer__copyRight--lp-pc-only {
    display: none;
  }
}