/* ============================================
   Header & Footer CSS
   PC / SP 統合スタイル
   ============================================ */

/* ============================================
   共通ユーティリティクラス
   ============================================ */
.no_scroll {
  overflow: hidden;
}

.hidden {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s;
}

.hidden-left {
  visibility: hidden;
}

.visible {
  visibility: visible;
  opacity: 1;
  transition: all 0.5s;
}

/* ============================================
   Header - PC (デフォルト)
   ============================================ */
.header {
  background: #ffffff;
  padding: 15px 40px;
  height: 77px;
  width: 100%;
  position: fixed;
  z-index: 9999;
}

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

.header .header_inner .header_h1 {
  width: 200px;
}

.header .header_inner .global_nav_div {
  display: flex;
  align-items: center;
}

.header .header_inner .global_nav_div .global_nav {
  display: flex;
  list-style: none;
  font-weight: bold;
  font-size: 14px;
  align-items: center;
}

.header .header_inner .global_nav_div .global_nav li {
  margin-left: 20px;
}

.header .header_inner .global_nav_div .global_nav li a {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #3C4D69;
}

.header .header_inner .global_nav_div .cta {
  display: flex;
  list-style: none;
  margin-left: 40px;
}

.header .header_inner .global_nav_div .cta li {
  height: 47px;
  width: 200px;
}

.header .header_inner .global_nav_div .cta li .trial_cta {
  color: white;
  background: linear-gradient(#FFC780 3%, #FF5C45);
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  font-size: 16px;
}

.header .header_inner .global_nav_div .cta li .download_cta {
  height: 100%;
  background: linear-gradient(#FDF8AB 3%, #FFC746);
  display: flex;
  width: 100%;
  border-radius: 100px;
  justify-content: center;
  align-items: center;
  margin-left: 24px;
  font-weight: 900;
  font-size: 16px;
  color: #505050;
}

/* SK CTAバリエーション */
.header .header_inner .global_nav_div .cta li .trial_cta.sk-cta {
  background-color: #3c4d69;
  color: white;
}

.header .header_inner .global_nav_div .cta li .download_cta.sk-cta {
  background-color: white;
  color: #3c4d69;
}

/* Karte CTAバリエーション */
.header .header_inner .global_nav_div .cta li .trial_cta.karte-cta {
  background: #3c4d69;
  color: white;
}

.header .header_inner .global_nav_div .cta li .download_cta.karte-cta {
  background-color: #e7442b;
  color: white;
}

/* Motion CTAバリエーション */
.header .header_inner .global_nav_div .cta li .trial_cta.motion-cta {
  background-color: #3c4d69;
  color: white;
}

.header .header_inner .global_nav_div .cta li .download_cta.motion-cta {
  background-color: white;
  color: #3c4d69;
}

/* Multi-Karte CTAバリエーション */
.header .header_inner .global_nav_div .cta li .trial_cta.multi-karte-cta {
  background-color: #3c4d69;
  color: white;
}

.header .header_inner .global_nav_div .cta li .download_cta.multi-karte-cta {
  background-color: #e7442b;
  color: white;
}

/* ===== Responsive Visibility ===== */
.pc-only { display:inline; }
.sp-only { display:none; }


/* ============================================
   Footer - PC (デフォルト)
   ============================================ */
.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: flex;
  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;
  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: flex;
  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;
  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,
.footer .footer-inner .footer-down .footer-list .footer-list-middle ul li,
.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-left ul li a,
.footer .footer-inner .footer-down .footer-list .footer-list-middle ul li a,
.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-middle {
  margin-left: 112px;
}

.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 .sns-icon-list .sns-icon {
  margin-left: 6px;
}

/* Footer LP バリエーション - PC */
.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;
}

/* ============================================
   Tablet (769px - 1023px) ã‚¹ã‚¿ã‚¤ãƒ«
   ============================================ */
@media screen and (min-width: 769px) and (max-width: 1023px) {
  /* Footer - Tablet */
  .footer {
    padding: 0 30px 40px 30px;
  }

  .footer .footer-inner .footer-down {
    display: block;
    margin-top: 80px;
  }

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

  .footer .footer-inner .footer-down .footer-logo p {
    margin-top: 16px;
  }

  .footer .footer-inner .footer-down .footer-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-left,
  .footer .footer-inner .footer-down .footer-list .footer-list-middle,
  .footer .footer-inner .footer-down .footer-list .footer-list-right {
    margin-left: 0;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-left ul li,
  .footer .footer-inner .footer-down .footer-list .footer-list-middle ul li,
  .footer .footer-inner .footer-down .footer-list .footer-list-right ul li {
    margin-top: 12px;
  }

  .footer .footer-inner .footer-down .footer-list .footer-list-left ul li a,
  .footer .footer-inner .footer-down .footer-list .footer-list-middle ul li a,
  .footer .footer-inner .footer-down .footer-list .footer-list-right ul li a {
    font-size: 14px;
  }

  .footer .footer-inner .footer-down .footer-list .copyRight {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
  }

  .footer .footer-inner .footer-down .footer-list .copyRight p {
    color: #505050;
    font-size: 12px;
    font-weight: bold;
  }

  /* Footer CTAãƒœã‚¿ãƒ³ã®ã‚µã‚¤ã‚ºèª¿æ•´ */
  .footer .footer-inner .footer-up .footer-up-main .footer-cta .cta li .download_cta,
  .footer .footer-inner .footer-up .footer-up-main .footer-cta .cta li .contact_cta {
    width: 240px;
    height: 70px;
    font-size: 16px;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-title h2 {
    font-size: 36px;
  }
}

@media screen and (max-width: 1023px) {
    .pc {
        display: none !important;
    }

  /* ----------------------------------------
     Header - SP
     ---------------------------------------- */
  .header {
    width: 100%;
    position: fixed;
    margin: 0 auto;
    z-index: 9999;
    display: flex;
    background: #ffffff;
    height: 65px;
    align-items: center;
    padding: 0;
  }

  .header .header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .header .header_inner .header_h1 {
    width: 150px;
  }

  .header .header_inner .header_h1 a {
    margin-left: 10px;
  }

  .header .header_inner .global_nav_div .cta li {
    display: none;
  }

  /* ハンバーガーメニュー */
  .hamburger_div {
    position: fixed;
    right: 0;
    width: 85%;
    height: 100%;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 9999;
  }

  .hamburger_div .hamburger_nav li {
    margin-top: 30px;
    text-align: left;
    list-style: none;
    padding-left: 24px;
    font-size: 16px;
  }

  .hamburger_div .hamburger_nav li .navigation_link {
    font-weight: bold;
    font-size: 18px;
    color: #3c4d69 !important;
  }

  .hamburger_div .hamburger_nav li:nth-child(1) {
    margin-top: 100px;
  }

  .hamburger_div .hamburger_div_img {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 9999;
  }

  .hamburger_left_space {
    position: fixed;
    left: 0;
    top: 0;
    width: 15%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 9999;
    opacity: 0;
  }

  /* ハンバーガーボタン */
  .header .header_inner .openbtn {
    position: relative;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    z-index: 9999;
  }

  .header .header_inner .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 50%;
    height: 3px;
    transform: translate(-50%, 0);
    border-radius: 2px;
    background: #3C4D69;
    width: 50%;
  }

  .header .header_inner .openbtn p {
    font-weight: bold;
    font-size: 6px;
    color: #3C4D69;
    width: 100% !important;
    position: absolute;
    left: 50%;
    top: 31px;
    transform: translate(-50%, 0);
    text-align: center;
  }

  .header .header_inner .openbtn span:nth-of-type(1) {
    top: 9px;
  }

  .header .header_inner .openbtn span:nth-of-type(2) {
    top: 17px;
  }

  .header .header_inner .openbtn span:nth-of-type(3) {
    top: 25px;
  }

  /* ハンバーガーボタン active状態 */
  .header .header_inner .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .header .header_inner .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .header .header_inner .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}

/* ============================================
   SP (スマートフォン) スタイル
   ============================================ */
@media screen and (max-width: 768px) {

  /* ----------------------------------------
     Footer - SP
     ---------------------------------------- */
  .footer {
    background: #ffffff;
    padding-bottom: 80px;
    position: relative;
    display: block;
    padding: 0;
  }

  .footer .footer-inner .footer-gearLeft {
    position: absolute;
    top: 120px;
    right: 0;
    left: auto;
    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;
    margin-top: 0;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-title h2 {
    font-size: 26px;
    font-weight: bold;
  }

  .footer .footer-inner .footer-up .footer-up-main .footer-cta {
    list-style: none;
    display: block;
    margin-top: 0;
  }

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

  .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: 24px auto 0;
  }

  .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: 32px auto 0;
  }

  .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 {
    display: block;
    margin-top: 0;
  }

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

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

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

  .footer .footer-inner .footer-down .footer-list .footer-list-left ul li a,
  .footer .footer-inner .footer-down .footer-list .footer-list-middle ul li a,
  .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-middle,
  .footer .footer-inner .footer-down .footer-list .footer-list-right {
    margin-left: 0;
  }

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

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

  /* Footer LP バリエーション - SP */
  .footer.footer__lp {
    padding-bottom: 120px;
    padding-top: 20px;
    background-color: initial;
    width: auto;
  }

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

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

	.pc-only { display:none; }
	.sp-only { display:inline; }
}

/* ============================================
   Footer - 中間サイズ調整 (1024px - 1100px)
   ============================================ */
@media screen and (min-width: 1024px) and (max-width: 1100px) {
    /* フッターリンクを折り返さない */
    .footer .footer-inner .footer-down .footer-list .footer-list-left ul li a,
    .footer .footer-inner .footer-down .footer-list .footer-list-middle ul li a,
    .footer .footer-inner .footer-down .footer-list .footer-list-right ul li a {
        white-space: nowrap;
        font-size: 14px;
    }
    
    /* リスト間のマージンを調整 */
    .footer .footer-inner .footer-down .footer-list .footer-list-middle {
        margin-left: 60px;
    }
    
    .footer .footer-inner .footer-down .footer-list .footer-list-right {
        margin-left: 60px;
    }
    
    /* フッター全体のパディングを調整 */
    .footer {
        padding: 0 20px 40px 20px;
    }
    
    /* ロゴエリアのマージン調整 */
    .footer .footer-inner .footer-down .footer-logo {
        margin-right: 30px;
    }
}