* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  display: flex;
  justify-content: center;
  position: relative;
  background-color: #a2bfe4;
  overflow-x: hidden;
}

/* PC表示のときに背景に敷く、スクロールしても動かない抽象背景 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #a2bfe4;
  background-image: linear-gradient(160deg, #a2bfe4 0%, #a79ad2 100%);
}

/* スマホデザインをそのまま中央に置くラッパー */
.lp-wrapper {
  width: 100%;
  max-width: 480px;
  min-width: 0;
  background: #fff;
}

.lp {
  display: block;
}

.lp-image {
  display: block;
  width: 100%;
  height: auto;
}

.lp-gap-top {
  margin-top: 32px;
}

/* 画面下部に常時追従するCTAバー */
.cta-fixed {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: block;
  line-height: 0;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

.cta-fixed img {
  display: block;
  width: 100%;
  height: auto;
}

/* PV動画エリア：03-1.jpgと03-3.jpgの間に挟むYouTube埋め込み */
.pv-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #7093cb 0%, #6a8ac3 100%);
}

.pv-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 12：アンバサダー告知 */
.ambassador {
  background-color: #EFF6FF;
  padding-bottom: 24px;
}

/* 06：施術イメージのループ動画（横長・5秒ループ想定） */
.loop-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1e1b3a;
}

.loop-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 04：ビフォーアフター比較スライダー */
.compare-widget {
  width: 100%;
  padding: 0 20px 28px;
  background: #fff;
}

.compare-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(30, 40, 80, 0.12);
  padding: 14px;
}

.compare-slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

/* 04：ビフォーアフター比較。新しい書き出し画像（横長）の比率に合わせた枠 */
.compare-slider__viewport--result {
  aspect-ratio: 1000 / 890;
}

/* 05：導入サロン様の声。新しい書き出し画像（縦長）の比率に合わせた枠 */
.compare-slider__viewport--voice {
  aspect-ratio: 1000 / 1106;
}

.compare-slider__track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.compare-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.compare-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.compare-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #2a2a2a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.compare-slider__arrow--prev {
  left: -6px;
}

.compare-slider__arrow--next {
  right: -6px;
}

/* 05：ボタンをカード端ではなくスマホ画面の端ギリギリに寄せる */
.compare-widget--voice .compare-slider__arrow--prev {
  left: -20px;
}

.compare-widget--voice .compare-slider__arrow--next {
  right: -20px;
}

.compare-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
}

.compare-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #d3d7e2;
  padding: 0;
  cursor: pointer;
}

.compare-dot.is-active {
  background: #1b2d63;
}

.compare-caption {
  text-align: center;
  font-size: 12px;
  color: #666;
  padding-top: 10px;
}

/* 09：よくある質問（アコーディオン） */
.faq {
  padding: 32px 20px;
  background: #cac7e5;
}

.faq-header {
  border-radius: 12px;
  margin-bottom: 16px;
}

.faq-list {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(30, 40, 80, 0.06);
  overflow: hidden;
  margin-bottom: 20px;
}

.faq-item {
  background: #fff;
  border-bottom: 1px solid #cac7e5;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: none;
  padding: 16px 16px;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.faq-q-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eaf0fc;
  color: #1b2d63;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-q-text {
  flex: 1;
  color: #1b2d63;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-toggle {
  flex-shrink: 0;
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: #1b2d63;
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq-toggle::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 2px;
}

.faq-toggle::after {
  left: 8px;
  top: 0;
  width: 2px;
  height: 18px;
}

.faq-question[aria-expanded="true"] .faq-toggle::after {
  transform: rotate(90deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-question[aria-expanded="true"]+.faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer-inner p {
  padding: 0 16px 16px 60px;
  color: #444;
  font-size: 13.5px;
  line-height: 1.8;
}

/* 09：CTAボタン・公式リンク */
.cta-block {
  padding: 24px 20px 32px;
  background: #fff;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 17px 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(90deg, #f0a0b3 0%, #ee5b7c 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(230, 80, 115, 0.35);
}

.btn-outline {
  margin-top: 14px;
  background: #fff;
  color: #1b2d63;
  border: 2px solid #1b2d63;
}

.btn-line {
  margin-top: 14px;
  padding-block: 12px;
  background: #06c755;
  color: #fff;
  box-shadow: 0 8px 18px rgba(6, 199, 85, 0.3);
}

.btn-line__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  object-fit: contain;
}

.btn-line__strong {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  color: #555;
  font-size: 12.5px;
}

.cta-note svg {
  flex-shrink: 0;
  color: #1b2d63;
}

.link-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: #888;
  font-size: 12px;
}

.link-divider::before,
.link-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}

.link-buttons {
  display: flex;
  gap: 10px;
}

.btn-link {
  flex: 1;
  padding: 13px 12px;
  background: #fff;
  color: #1b2d63;
  border: 1px solid #d8dbe6;
  font-size: 13.5px;
}

.link-chevron {
  margin-left: auto;
}

/* 10：ロゴ + 住所。下部固定CTAバーと重ならないよう余白を確保 */
.footer-brand {
  padding: 36px 20px calc(36px + 108px);
  background: #fff;
  text-align: center;
}

.footer-logo {
  height: 42px;
  width: auto;
}

.footer-address {
  margin-top: 14px;
  color: #585343;
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* PC幅ではスマホ台紙っぽく見せる。クライアント要望でPC時のみ130%表示 */
@media (min-width: 481px) {
  body {
    padding: 40px 0;
  }

  .lp-wrapper {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    overflow: hidden;
    zoom: 1.3;
  }

  .cta-fixed {
    max-width: 624px;
  }
}