/* Kiratt LP V2: image-coded renewal preview only. */
.kiratt-lp-v2 .main > :not(.renewal-stack):not(.sec-faq):not(.renewal-store-intro):not(.kiratt-lp-shops):not(.renewal-final) {
  display: none !important;
}

.kiratt-lp-v2 .renewal-stack,
.kiratt-lp-v2 .renewal-image-section {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #eaf6fa;
}

.kiratt-lp-v2 .renewal-image-section img,
.kiratt-lp-v2 .renewal-store-intro img,
.kiratt-lp-v2 .renewal-final img {
  display: block;
  width: 100%;
  height: auto;
}

.kiratt-lp-v2 .renewal-image-section--1,
.kiratt-lp-v2 .kr-top-voice,
.kiratt-lp-v2 .renewal-final {
  position: relative;
}

.kiratt-lp-v2 .renewal-inline-cta {
  z-index: 4;
  display: block;
  width: 88%;
  border-radius: clamp(12px, 2.4vw, 18px);
  filter: drop-shadow(0 10px 14px rgba(122, 82, 0, .24));
  line-height: 0;
}

.kiratt-lp-v2 .renewal-inline-cta img {
  display: block;
  width: 100%;
  height: auto;
}

.kiratt-lp-v2 .renewal-inline-cta--fv,
.kiratt-lp-v2 .renewal-inline-cta--voice {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.kiratt-lp-v2 .renewal-inline-cta--fv {
  bottom: clamp(24px, 5.2vw, 39px);
}

.kiratt-lp-v2 .renewal-inline-cta--voice {
  bottom: clamp(46px, 10vw, 68px);
}

.kiratt-lp-v2 .renewal-flow-step6-cta {
  position: relative;
  overflow: hidden;
}

.kiratt-lp-v2 .renewal-inline-cta--flow {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 5.2vw, 39px);
  transform: translateX(-50%);
}

/* Kirattが選ばれる3つの理由：page-lp.php（v1）のsp-07〜10をそのまま流用 */
.kiratt-lp-v2 .renewal-original-points,
.kiratt-lp-v2 .renewal-original-points .renewal-image-section {
  margin: 0;
  padding: 0;
  background: #eaf6fa;
  line-height: 0;
}

.kiratt-lp-v2 .renewal-points-step-cta {
  position: relative;
  overflow: hidden;
}

.kiratt-lp-v2 .renewal-inline-cta--points {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 5.2vw, 39px);
  transform: translateX(-50%);
}

.kiratt-lp-v2 .renewal-final__store-button {
  position: absolute;
  z-index: 3;
  top: 79.114%;
  left: 10.667%;
  display: block;
  width: 78.667%;
  line-height: 0;
  border-radius: 999px;
  transition: filter .2s ease, transform .2s ease;
}

.kiratt-lp-v2 .renewal-final__store-button:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.kiratt-lp-v2 .renewal-final__store-button img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}

.kiratt-lp-v2 .renewal-store-intro a,
.kiratt-lp-v2 .renewal-final a {
  display: block;
}

/* お客様の声：背景のみ画像、口コミとCTAは編集可能なHTMLで配置 */
.kiratt-lp-v2 .renewal-voice-section {
  position: relative;
  padding: min(34.6667vw, 260px) clamp(14px, 3.7333vw, 28px) clamp(28px, 6.4vw, 48px);
  background-color: #edfaff;
  background-image: var(--renewal-voice-bg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  line-height: 1.75;
}

.kiratt-lp-v2 .renewal-voice-list {
  display: grid;
  gap: clamp(18px, 4vw, 30px);
}

.kiratt-lp-v2 .renewal-voice-section .voice-card {
  margin: 0;
  padding: clamp(14px, 3.2vw, 24px);
  border: 1px solid rgba(204, 158, 50, 0.72);
  border-radius: clamp(16px, 3.2vw, 24px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(6, 91, 124, 0.13);
}

.kiratt-lp-v2 .renewal-voice-section .voice-card__img img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: clamp(10px, 2.1333vw, 16px);
}

.kiratt-lp-v2 .renewal-voice-section .voice-card__lead {
  margin: 0 0 10px;
  color: #087e98;
  font-size: clamp(16px, 2.8vw, 21px);
  line-height: 1.55;
}

.kiratt-lp-v2 .renewal-voice-section .voice-card__name {
  margin: 0 0 10px;
  color: #9a6a16;
  font-size: clamp(12px, 2vw, 15px);
  line-height: 1.6;
}

.kiratt-lp-v2 .renewal-voice-section .voice-card__text {
  margin: 0;
  color: #17223f;
  font-size: clamp(13px, 2.1333vw, 16px);
  line-height: 1.8;
}

.kiratt-lp-v2 .renewal-voice-cta {
  display: block;
  width: min(100%, 690px);
  margin: clamp(26px, 5.3333vw, 40px) auto 0;
}

.kiratt-lp-v2 .renewal-voice-cta img {
  display: block;
  width: 100%;
  height: auto;
}

/* TOPページのお客様の声をLP幅に合わせて流用 */
.kiratt-lp-v2 .kr-top-voice {
  overflow: hidden;
  min-height: 0;
  padding: clamp(190px, 45vw, 275px) 0 clamp(180px, 42vw, 255px);
  color: #14345f;
  background-color: #f7fcff;
  background-image: var(--kr-top-voice-bg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

.kiratt-lp-v2 .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.kiratt-lp-v2 .kr-top-voice__eyebrow {
  margin: 0 0 8px;
  color: #31add4;
  font: 600 13px/1.2 "Futura PT", Arial, sans-serif;
  letter-spacing: .22em;
  text-align: center;
}

.kiratt-lp-v2 .kr-top-voice__title {
  margin: 0 24px 38px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(25px, 5.6vw, 36px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .05em;
  text-align: center;
}

.kiratt-lp-v2 .kr-top-voice__marquees {
  display: grid;
  gap: 16px;
}

.kiratt-lp-v2 .kr-top-voice__viewport {
  overflow: hidden;
}

.kiratt-lp-v2 .kr-top-voice__track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding-left: 14px;
  animation: krVoiceMarquee 54s linear infinite;
  will-change: transform;
}

.kiratt-lp-v2 .kr-top-voice__track.is-reverse {
  animation-direction: reverse;
  animation-duration: 58s;
}

.kiratt-lp-v2 .kr-top-voice__card {
  display: block;
  flex: 0 0 270px;
  overflow: hidden;
  color: #14345f;
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  /* box-shadow: 0 8px 24px rgba(0, 104, 150, .13); */
}

.kiratt-lp-v2 .kr-top-voice__card > img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.kiratt-lp-v2 .kr-top-voice__body {
  display: grid;
  min-height: 102px;
  padding: 15px 16px 14px;
}

.kiratt-lp-v2 .kr-top-voice__body small {
  overflow: hidden;
  color: #537080;
  font-size: 11px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kiratt-lp-v2 .kr-top-voice__body strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@keyframes krVoiceMarquee {
  to { transform: translateX(calc(-50% - 7px)); }
}

@media (prefers-reduced-motion: reduce) {
  .kiratt-lp-v2 .kr-top-voice__track {
    animation-play-state: paused;
  }
}

/* 施術の流れ：page-lp.phpの元画像をそのまま使用 */
.kiratt-lp-v2 .renewal-original-flow,
.kiratt-lp-v2 .renewal-original-flow .renewal-image-section {
  margin: 0;
  padding: 0;
  background: #effafa;
  line-height: 0;
}

.kiratt-lp-v2 .renewal-original-flow picture,
.kiratt-lp-v2 .renewal-original-flow picture img,
.kiratt-lp-v2 .renewal-flow-cta,
.kiratt-lp-v2 .renewal-flow-cta img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   FAQ：新リニューアル画像（ブルー×ホワイト基調）とトンマナを揃える
   元デザイン（ゴールド×アイボリー）はv1のstyle.css側では維持する
   ============================================================ */
.kiratt-lp-v2 .sec-faq {
  background: linear-gradient(180deg, #eaf6fa 0%, #f7fcff 55%, #ffffff 100%);
}

.kiratt-lp-v2 .sec-faq__heading {
  color: #14345f;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  text-shadow: none;
}

.kiratt-lp-v2 .sec-faq__heading::before {
  color: #31add4;
  font: 600 13px/1.2 "Futura PT", Arial, sans-serif;
  letter-spacing: 0.22em;
}

.kiratt-lp-v2 .faq__item {
  border-color: rgba(0, 137, 190, 0.22);
  box-shadow: 0 10px 26px rgba(6, 91, 124, 0.12), inset 0 0 0 4px rgba(255, 255, 255, 0.7);
}

.kiratt-lp-v2 .faq__question {
  background: linear-gradient(105deg, rgba(234, 246, 250, 0.95), rgba(247, 252, 255, 0.95));
  color: #14345f;
}

.kiratt-lp-v2 .faq__question::before {
  background: linear-gradient(145deg, #4fc9e8, #005fb9);
  box-shadow: 0 3px 9px rgba(0, 68, 133, 0.22);
}

.kiratt-lp-v2 .faq__question::after {
  color: #005fb9;
}

.kiratt-lp-v2 .faq__answer-inner {
  color: #33475e;
  border-top-color: rgba(0, 137, 190, 0.16);
}

.kiratt-lp-v2 .faq__em {
  color: #0b5a9c;
}

/* ============================================================
   ヘッダー：動画解説モーダルを開く再生ボタン
   ============================================================ */
.kiratt-lp-v2 .btn--video {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: linear-gradient(135deg, #09b6df 0%, #0078b7 100%);
  font-family: inherit;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 100rem 0 100rem 100rem;
  width: 100px;
  height: auto;
  aspect-ratio: 1/1;
  font-size: 14px;
  transform: translate(10%, -15%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kiratt-lp-v2 .btn--video__icon {
  flex: none;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 11px solid #fff;
}

/* ============================================================
   追従バナー：FVでは非表示、スクロールでフェード出現、最下部でフェード非表示
   ============================================================ */
.kiratt-lp-v2 .sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  pointer-events: none;
}

.kiratt-lp-v2 .sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.kiratt-lp-v2 .sticky-cta__btn {
  display: block;
  width: 100%;
  max-width: var(--page-width, 420px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 999px;
  background: var(--color-line, #06b056);
  color: #fff !important;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none !important;
}

/* ============================================================
   動画解説モーダル
   ============================================================ */
.kiratt-lp-v2 .video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.kiratt-lp-v2 .video-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.kiratt-lp-v2 .video-modal[hidden] {
  display: flex;
}

.kiratt-lp-v2 .video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, 0.6);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.kiratt-lp-v2 .video-modal.is-open .video-modal__overlay {
  opacity: 1;
}

.kiratt-lp-v2 .video-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-width, 420px);
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.22);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.kiratt-lp-v2 .video-modal.is-open .video-modal__panel {
  transform: translateY(0);
  opacity: 1;
}

.kiratt-lp-v2 .video-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 52, 95, 0.8);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.kiratt-lp-v2 .video-modal__intro {
  display: flex;
  justify-content: center;
  line-height: 0;
}

.kiratt-lp-v2 .video-modal__intro img {
  display: block;
  width: 100%;
  height: auto;
}

/* スマホモックアップ画像（sec-video-v4.png）＋ 画面部分に動画を絶対位置で重ねる */
.kiratt-lp-v2 .video-modal__phone {
  position: relative;
  display: inline-block;
  max-width: 100%;
 
  /* margin: 20px auto 0; */
}

.kiratt-lp-v2 .video-modal__phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: contain;
}

.kiratt-lp-v2 .video-modal__phone-screen {
  position: absolute;
  overflow: hidden;
  background: #000;
  border-radius: 12%/6.5%;
}

.kiratt-lp-v2 .video-modal__intro-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 28px 16px;
  background: linear-gradient(180deg, #eaf6fa 0%, #f7fcff 100%);
  color: #14345f;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}

.kiratt-lp-v2 .video-modal__intro-placeholder span {
  color: #7a8a9a;
  font-size: 12px;
  font-weight: 500;
}

.kiratt-lp-v2 .video-modal__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.kiratt-lp-v2 .video-modal__player iframe,
.kiratt-lp-v2 .video-modal__phone-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.kiratt-lp-v2 .video-modal__player-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #cfd8e3;
  font-size: 14px;
}

/* サムネイル再生ボタン（クリックで動画再生ポップアップを開く） */
.kiratt-lp-v2 .video-modal__phone-play,
.kiratt-lp-v2 .video-modal__player-play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.kiratt-lp-v2 .video-modal__phone-play img,
.kiratt-lp-v2 .video-modal__player-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
}

.kiratt-lp-v2 .video-modal__phone-play-icon,
.kiratt-lp-v2 .video-modal__player-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 34%;
  aspect-ratio: 1;
  max-width: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.kiratt-lp-v2 .video-modal__phone-play-icon::before,
.kiratt-lp-v2 .video-modal__player-play-icon::before {
  content: "";
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #14345f;
}

.kiratt-lp-v2 .video-modal__phone-screen .video-modal__player-placeholder {
  font-size: 11px;
  text-align: center;
  padding: 8px;
}

body.kiratt-lp-v2.is-modal-open {
  overflow: hidden;
}

/* ============================================================
   動画再生ポップアップ：サムネイルクリックで画面の約8割サイズで再生
   ============================================================ */
.kiratt-lp-v2 .video-player-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}

.kiratt-lp-v2 .video-player-popup.is-open {
  visibility: visible;
  pointer-events: auto;
}

.kiratt-lp-v2 .video-player-popup[hidden] {
  display: flex;
}

.kiratt-lp-v2 .video-player-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 22, 0.82);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kiratt-lp-v2 .video-player-popup.is-open .video-player-popup__overlay {
  opacity: 1;
}

.kiratt-lp-v2 .video-player-popup__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, calc(80vh * 0.5625));
  height: 80vh;
  max-height: 860px;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.kiratt-lp-v2 .video-player-popup.is-open .video-player-popup__panel {
  transform: scale(1);
  opacity: 1;
}

.kiratt-lp-v2 .video-player-popup__actions {
  position: absolute;
  top: -46px;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kiratt-lp-v2 .video-player-popup__close,
.kiratt-lp-v2 .video-player-popup__reserve {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  cursor: pointer;
}

.kiratt-lp-v2 .video-player-popup__close {
  background: rgba(255, 255, 255, 0.95);
  color: #14345f;
}

.kiratt-lp-v2 .video-player-popup__close span[aria-hidden] {
  font-size: 17px;
  line-height: 1;
}

.kiratt-lp-v2 .video-player-popup__reserve {
  background: var(--color-line, #06b056);
  color: #fff !important;
  text-decoration: none !important;
}

.kiratt-lp-v2 .video-player-popup__frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.kiratt-lp-v2 .video-player-popup__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 420px) {
  .kiratt-lp-v2 .video-player-popup__actions {
    top: auto;
    bottom: -52px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
