/***********************************************/
/* FV CTA：（上書き用CSS） 202602 */
/***********************************************/

#top {
	overflow:hidden;	
}

/* 元CSSのtypo修正 */
.kv__image-group { width: 100%; }

/* CTA：PC */
.cta202602 {
  margin-inline: auto;
  padding-inline: 10px;
  padding-top: 30px;
  margin-bottom: -20px;
  width: 100%;
}
.cta202602__wrap {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}
.cta202602 p {
  font-size: 12px;
  text-align: center;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 10px;
}
.cta-pc-hidden { display: none; }

@media (max-width: 830px) {

  #kv {
    position: relative;
    display: grid;

    /* fallback */
    min-height: 100vh;
    /* スマホ安定版 */
    min-height: 100svh;

    height: auto;
    max-height: none;
  }

  #kv .kv__image-group,
  #kv .cta202602 {
    grid-area: 1 / 1;
  }

  #kv .cta202602 {
    position: relative;
    z-index: 10;
    align-self: center;
    justify-self: center;
    margin: 0;
		padding:0;
		width:fit-content;
    transform: translateY(33px);
  }

  .kv__image-group .kv__image-item img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
  }

  .cta202602 .hs-cta-embed { width: 160px !important; }
  .cta202602__wrap { gap: 10px; }
  .cta202602 p { font-size: 10px; text-align: left; margin-top:7px; line-height:1.2;}
  .cta-pc-hidden { display: block; }
}

/* ===== 430px以下（591×1316） ===== */
@media (max-width: 430px) {
  .kv__image-group {
    aspect-ratio: 590 / 1316;
    width: 100%;
    height: auto;
    position: relative;
  }
	#kv .cta202602 {
    transform: translateY(30px);
  }

}

/* ===== 431〜830px（590×1254） ===== */
@media (min-width: 431px) and (max-width: 830px) {
  .kv__image-group {
    aspect-ratio: 590 / 1254;
    width: 100%;
    height: auto;
    position: relative;
  }
}

/* さらに小さい端末 */
@media (max-width: 359px) {
  .cta202602 .hs-cta-embed { width: 150px !important; }
  .cta202602__wrap { gap: 5px; }
  .cta202602 p { margin-top: 2px; }
}


/***********************************************/
/* 追加 CTA　調整用　：（上書き用CSS）　202602 */
/***********************************************/

.pc-row-sp-column-202602 {
	width:auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.pc-row-sp-column-202602 > * {
	width:380px;
}

.pc-row-sp-column-202602 a {
	padding:14px 40px;
	height:	76px;
	
}



@media (max-width: 830px) {
  .pc-row-sp-column-202602 {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    max-width: 380px;
    margin-inline: auto;
  }

  .pc-row-sp-column-202602 > * {
    width: auto;
  }

  .pc-row-sp-column-202602 a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 76px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

@media (max-width: 430px) {
	.pc-row-sp-column-202602 > div > a,
	.pc-row-sp-column-202602 > a {
		padding: 14px 20px 14px 17px !important;
	}

}
/***********************************************/
/* LINE フローティング CTA 横並び対応 202602   */
/***********************************************/

.line__floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;!important;
  z-index: 999;
  max-width: calc(100vw - 40px); 
}

.line__floating_inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
}

.line__floating_btn {
  flex-shrink: 0;
}

/* SP小さめ端末のみ縦並び */
@media (max-width: 500px) {
  .line__floating {
    bottom: 8px;
    right: 4px;
    max-width: calc(100vw - 8px); 
  }

  .line__floating_inner {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .line__floating_btn {
    width: 100%;
  }
}