:root {
  /* Modern SaaS Color Palette */
  --primary-mint: #019d90;
  /* Trustworthy Emerald */
  --primary-hover: #018075;
  --light-mint: #aae4d8;
  --light-mint-accent: #aae4d8;
  --accent-pink: #dc4d79;
  /* Vibrant engaging Orange */
  --accent-pink-hover: #c43b66;
  --text-main: #2b2835;
  /* Gray 800 */
  --text-muted: #4b5563;
  /* Gray 600 */
  --text-light: #9ca3af;
  /* Gray 400 */
  --white: #ffffff;
  --bg-light: #f9fafb;
  /* Gray 50 */
  --border-color: #e5e7eb;
  /* Gray 200 */

  /* Typography */
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Plus Jakarta Sans", sans-serif;
  --font-serif: "Noto Serif JP", serif;
}

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

body {
  font-family: var(--font-jp);
  color: var(--text-main);
  line-height: 1.7;
  background-color: var(--bg-light);
  overflow-x: hidden;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

.font-en {
  font-family: var(--font-en);
}

.font-serif {
  font-family: var(--font-serif);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.feature-title,
.fv-copy,
.marker-item-text,
.pricing h3,
.faq-question span {
  font-family: var(--font-serif);
}

.br-pc {
  display: block;
}

.sp-only {
  display: none !important;
}

@media (max-width: 768px) {
  .br-pc {
    display: none !important;
  }

  .sp-only,
  .br-sp {
    display: block !important;
  }

  br.sp-only,
  br.br-sp,
  span.sp-only {
    display: inline !important;
  }
}

.feature-title,
.fv-copy,
.marker-item-text,
.cta-area,
.cta-button,
.intro-badge,
.feature-number,
.case-badge,
.before strong,
.after-label,
.plan-name,
.price-main,
footer {
  font-family: var(--font-serif);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 0;
}

.pb-cta {
  padding-bottom: 40px !important;
}

.text-center {
  text-align: center;
}

.text-danger {
  color: var(--accent-pink);
}

.note {
  padding-left: 1em;
  text-indent: -1em;
  font-size: 0.9em;
  display: block;
}

/* Red 500 */
.text-pink {
  color: var(--accent-pink);
}

.text-mint {
  color: var(--primary-mint);
}

.text-white {
  color: var(--white);
}

.bg-light-mint {
  background-color: var(--light-mint) !important;
}

.bg-dark-mint {
  background-color: #014a44;
  color: var(--white);
}

/* Emerald 900 */
.mb-4 {
  margin-bottom: 2rem;
}

.note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 50px;
  color: var(--text-main);
}

/* Clear section text-center overrides */
.text-center.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-center.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background-color: var(--text-main);
  border-radius: 0;
  margin-top: 16px;
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 60px;
  border-radius: 60px;
  /* Rounded pill button */
  font-size: 1.6rem;
  font-weight: 900;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(220, 77, 121, 0.3);
  position: relative;
  overflow: hidden;
}

/* CTA Shine Animation */
.cta-button.primary {
  background-color: var(--accent-pink);
  color: var(--white);
  border: 2px solid var(--accent-pink);
}

.cta-button.primary:hover {
  background-color: var(--white);
  color: var(--accent-pink);
}

.cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.cta-button.small {
  padding: 10px 24px;
  font-size: 0.9rem;
  width: auto;
}

.cta-button i {
  margin-left: 12px;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.cta-button:hover i {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: 2px solid var(--primary-mint);
  color: var(--primary-mint);
  border-radius: 0;
  font-weight: 700;
  transition: all 0.2s ease;
  background: var(--white);
}

.btn-outline:hover {
  background-color: var(--primary-mint);
  color: var(--white);
}

/* Modern Pill Micro Copy */
.micro-copy {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  /* Tightened from 20px */
  display: inline-block;
  text-align: center;
  line-height: 1.6;
}

.micro-copy-large {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-pink);
  /* Soft bright yellow */
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-4px);
  }
}

.cta-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
  /* Tightened */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 80px 20px;
  /* Compressed padding */
  background-color: var(--white);
  background-image: url('images/scatter-left.svg'), url('images/scatter-right.svg');
  background-position: left center, right center;
  background-repeat: no-repeat, no-repeat;
  background-size: 500px 500px, 500px 500px;
  position: relative;
  z-index: 10;
}

.cta-inner-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1100px;
}

.cta-copy-img-wrap {
  flex-shrink: 0;
}

.cta-copy-img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
}

@media (max-width: 1024px) {
  .cta-inner-layout {
    flex-direction: column;
    gap: 24px;
  }

  .cta-copy-img {
    max-width: 90vw;
  }
}

.cta-buttons-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.cta-buttons-group .cta-button {
  width: 100%;
}

.btn-pink-flat {
  background: linear-gradient(135deg, var(--accent-pink), #ff7e9e);
  color: var(--white);
  box-shadow: inset 0 0 0 2px transparent;
  transition: all 0.2s ease;
}

.btn-pink-flat:hover {
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--accent-pink);
  color: var(--accent-pink);
}

.btn-pink-flat:active {
  transform: scale(0.98);
}

.btn-green-flat {
  background: linear-gradient(135deg, var(--primary-mint), #42e88b);
  color: var(--white);
  box-shadow: inset 0 0 0 2px transparent;
  transition: all 0.2s ease;
}

.btn-green-flat:hover {
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--primary-mint);
  color: var(--primary-mint);
}

.btn-green-flat:active {
  transform: scale(0.98);
}

.fv {
  display: flex;
  flex-direction: column;
  padding: 0 5% 4vh;
  /* Removed top padding to allow ribbon to touch the top */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.fv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/fv_bg.jpg') center top / cover no-repeat;
  z-index: -1;
  transform: scaleX(-1);
}

@media (max-width: 1024px) {
  .fv::before {
    background-position: 25% top;
  }
}

@media (max-width: 768px) {
  .fv::before {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%), url('images/salon_03.jpg');
    background-size: cover;
    background-position: center;
    transform: none;
    opacity: 0.4;
  }
}

/* Ensure logo is easily readable even if background has some dark spots */
.fv-img-logo {
  max-width: 100%;
  width: 600px;
  object-fit: contain;
}

.fv-image-area {
  flex: 0.7;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  /* Centered instead of flex-end to move left */
  align-items: flex-end;
  /* Push to bottom */
  align-self: stretch;
}

.fv-main-img {
  width: 100%;
  max-width: 420px;
  /* Scaled down slightly */
  max-height: 50vh;
  /* Responsive height limit to prevent overflow */
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
  /* High-end shadow */
  animation: float-img 6s ease-in-out infinite;
}

.fv-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  position: relative;
  padding-top: 10vh;
}

@media (max-width: 768px) {
  .fv-inner {
    padding-top: 2vh;
  }
}

.fv-laurel-top-right {
  position: absolute !important;
  top: 15px !important;
  right: 0 !important;
  z-index: 50 !important;
  margin: 0 !important;
  transform: scale(0.85);
  transform-origin: top right;
  /* Ambient glow to ensure laurel badge contrast against background photos */
  padding: 40px 0;
  margin-top: -25px !important;
  margin-right: -25px !important;
}

.fv-content-wrapper {
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  align-items: stretch;
  width: 100%;
  padding: 0;
  margin: 0;
  min-height: 0;
}

.fv-container {
  flex: 1.4;
  z-index: 2;
  padding-right: 0;
  padding-left: 8px;
  position: relative;
  max-width: 100%;
  margin-left: 0;
  width: 100%;
}

@media (max-width: 768px) {
  .fv-container {
    margin-top: 0;
    padding-top: 45px;
    padding-left: 0;
    text-align: left;
    display: block;
  }
}

.fv-logo-wrap {
  display: none;
}

.fv-img-logo {
  max-width: 100%;
  width: 500px;
  object-fit: contain;
  /* Natural white glow to float the logo safely above any photo background */
}

/* Sticky Bar (Header on PC, Footer on Mobile) */
.sticky-bar {
  /* ① 位置・配置 */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;

  /* ② ボックスモデル */
  width: 100%;
  padding: 12px 0;

  /* ④ 装飾 */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

  /* ⑤ アニメーション・その他 */
  transition: all 0.3s ease;
  transform: translateY(-100%);
  opacity: 0;
}
@media (max-width: 1024px) {
  .sticky-bar {
    /* ① 位置・配置 */
    top: auto;
    bottom: 0;

    /* ④ 装飾 */
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);

    /* ⑤ アニメーション・その他 */
    transform: translateY(100%);
  }
}

.sticky-bar.is-active {
  /* ① 位置・配置 */
  pointer-events: auto;

  /* ⑤ アニメーション・その他 */
  transform: translateY(0);
  opacity: 1;
}
@media (max-width: 1024px) {
  .sticky-bar.is-active {
    /* ⑤ アニメーション・その他 */
    transform: translateY(0);
  }
}

.sticky-inner {
  /* ① 位置・配置 */
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* ② ボックスモデル */
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}
@media (max-width: 1024px) {
  .sticky-inner {
    /* ① 位置・配置 */
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
}

.sticky-logo {
  /* ① 位置・配置 */
  display: block;

  /* ② ボックスモデル */
  height: 50px;
  width: auto;

  /* ④ 装飾 */
  object-fit: contain;
}
@media (max-width: 1024px) {
  .sticky-logo {
    /* ② ボックスモデル */
    height: auto !important;
    max-height: 32px !important;
    max-width: 40vw !important;
  }
}

/* PC/SP ロゴ切り替え */
.sticky-logo-sp {
  /* ① 位置・配置 */
  display: none;
}
@media (max-width: 1024px) {
  .sticky-logo-sp {
    /* ① 位置・配置 */
    display: block;
  }
}

.sticky-logo-pc {
  /* ① 位置・配置 */
  display: block;
}
@media (max-width: 1024px) {
  .sticky-logo-pc {
    /* ① 位置・配置 */
    display: none;
  }
}

/* SP版追従バナー用ラッパー */
.sticky-sp-banner-wrap {
  /* ① 位置・配置 */
  display: none;
}
@media (max-width: 1024px) {
  .sticky-sp-banner-wrap {
    /* ① 位置・配置 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* ② ボックスモデル */
    width: 100%;
    margin-bottom: 4px;
  }
}

.sticky-sp-banner-top {
  /* ① 位置・配置 */
  display: flex;
  align-items: center;
  justify-content: center;

  /* ② ボックスモデル */
  width: 100%;
  gap: 8px;
}

.sticky-sp-trial-img {
  /* ① 位置・配置 */
  display: block;

  /* ② ボックスモデル */
  max-width: 55%;
  height: auto;
  max-height: 60px;

  /* ④ 装飾 */
  object-fit: contain;
}

.sticky-sp-logo-img {
  /* ① 位置・配置 */
  display: block;

  /* ② ボックスモデル */
  max-width: 35%;
  height: auto;
  max-height: 18px;

  /* ④ 装飾 */
  object-fit: contain;
}

.sticky-sp-banner-bottom {
  /* ① 位置・配置 */
  display: block;

  /* ② ボックスモデル */
  margin-top: 2px;

  /* ③ タイポグラフィ */
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--text-main);
}

.sticky-sp-banner-bottom .text-red {
  /* ③ タイポグラフィ */
  color: #e60012;
}

.slashes {
  /* ③ タイポグラフィ */
  color: var(--primary-mint);
}

/* Sticky プロモーションテキスト */
.sticky-right-group {
  /* ① 位置・配置 */
  display: flex;
  align-items: center;

  /* ② ボックスモデル */
  gap: 16px;
}
@media (max-width: 1024px) {
  .sticky-right-group {
    /* ② ボックスモデル */
    width: 100%;
    gap: 8px;
  }

  .sticky-right-group .cta-button.small {
    /* ② ボックスモデル */
    flex: 1;
    padding: 10px 12px;

    /* ③ タイポグラフィ */
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

.sticky-promo-text {
  /* ② ボックスモデル */
  margin: 0;

  /* ③ タイポグラフィ */
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
@media (max-width: 1024px) {
  .sticky-promo-text {
    /* ① 位置・配置 */
    display: none;
  }
}

.sticky-marker {
  /* ② ボックスモデル */
  padding: 0 2px;

  /* ④ 装飾 */
  background: linear-gradient(transparent 55%, #ffff00 55%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sticky-promo-text .text-danger {
  /* ② ボックスモデル */
  padding-left: 2px;
}

/* Authority Typography Block */
.authority-heading {
  align-self: flex-start;
  z-index: 10;
  display: block;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 40px 0 0;
  position: relative;
  margin-bottom: 0;
  width: 100%;
  background: none;
}

.en-sub {
  font-family: 'Dancing Script', 'Snell Roundhand', 'Brush Script MT', 'Bradley Hand', 'Apple Chancery', cursive, var(--font-en);
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: -15px;
  transform: rotate(-5deg);
  opacity: 0.5;
  z-index: 2;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.fv-authority-subtext {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  font-weight: 900;
  color: var(--primary-mint);
  background: linear-gradient(transparent 60%, #ffff00 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline;
  line-height: 1.5;
  padding: 0;
  border: none;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 16px rgba(255, 255, 255, 0.8);
}

.break-md {
  display: none;
}

@media (max-width: 1024px) {
  .break-md {
    display: inline;
  }

  .authority-heading {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .authority-heading {
    padding: 0;
    margin: 0;
  }

  .authority-heading>div:first-child {
    white-space: nowrap;
  }

  .authority-heading .break-md {
    display: none;
  }
}

.bouten-ruby {
  font-size: 1.3em;
  font-weight: 900;
  ruby-position: over;
}

.custom-bouten {
  font-size: clamp(1.2rem, 4vw, 2.3rem);
  text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 16px rgba(255, 255, 255, 0.8);
}

.custom-bouten-char {
  position: relative;
  display: inline-block;
}

.custom-bouten-char::before {
  content: attr(data-dot);
  position: absolute;
  top: -1em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.35em;
  /* Precisely controls dot size */
  color: var(--accent-pink);
  font-weight: 900;
  text-shadow: none;
}

@media (max-width: 1024px) {
  .custom-bouten-char::before {
    top: -0.5em;
  }

  .fv-ribbon {
    transform: scale(0.85);
    transform-origin: top right;
  }
}


.fv-brand-logo {
  height: 2.4rem;
  /* Match text height */
  width: auto;
  margin-right: 6px;
  object-fit: contain;
}

.fv-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 190px;
  background: linear-gradient(135deg, #fae58e 0%, #d4a926 25%, #b59b35 50%, #e8c854 75%, #d4a926 100%);
  padding: 0 8px 10px 8px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 20px), 0 100%);
  z-index: 50;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
  transform: scale(0.7);
  transform-origin: top left;
}

@media (max-width: 1024px) {
  .fv-ribbon {
    transform-origin: top left;
  }
}

@media (max-width: 768px) {
  .fv-ribbon {
    transform: scale(0.45);
    transform-origin: top left;
    top: -5px;
  }
}

.fv-ribbon-inner {
  background: linear-gradient(135deg, #ffffff 0%, #fdfbf2 40%, #f2e6cb 100%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px 30px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 18px), 0 100%);
}

.ribbon-stars {
  color: #dfb938;
  font-size: 1.3rem;
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.star-icon {
  font-family: 'Times New Roman', 'Noto Serif JP', serif;
  background: linear-gradient(180deg, #ffe566 0%, #d4a926 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));
}

.ribbon-text1 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #333;
  line-height: 1.1;
  margin-bottom: -1px;
}

.text-line-green {
  color: #2bba4a;
}

.ribbon-text2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #333;
  margin-bottom: -3px;
}

.ribbon-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #eb4e7a;
  /* matching pink */
  line-height: 1;
  margin-bottom: 2px;
}

.ribbon-text3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: #333;
  letter-spacing: 0.05em;
}

.fv-copy {
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 900;
  margin: 0;
  padding: 0;
  color: var(--text-main);
  letter-spacing: 0.15em;
  white-space: normal;
  background: none;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
}

@media (max-width: 768px) {
  .fv-copy {
    text-align: center;
    background: none;
  }
}

/* FVログインボタン */
.fv-login-btn {
  position: absolute;
  top: 16px;
  right: 0;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 30px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-mint), #42e88b);
  border: 2px solid #fff;
  border-radius: 50px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.35);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.fv-login-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

.fv-login-btn i {
  transition: transform 0.2s ease;
}

.fv-login-btn:hover {
  background: #fff;
  color: var(--primary-mint);
  box-shadow: inset 0 0 0 2px var(--primary-mint);
}

.fv-login-btn:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .fv-login-btn {
    top: 10px;
    right: 0;
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* FVサブタイトル */
.fv-subtitle-1 {
  display: block;
  padding-left: 150px;
  font-size: clamp(1rem, 4.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 2px;
}

.fv-subtitle-2 {
  display: block;
  padding-left: 150px;
  font-size: clamp(1rem, 4.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .fv-subtitle-1 {
    padding-left: 0;
    font-size: 0.9rem;
    background: var(--accent-pink);
    color: #fff;
    padding: 2px 10px;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
  }

  .fv-subtitle-2 {
    padding-left: 0;
    font-size: min(4.5vw, 1.1rem);
    line-height: 1.3;
    margin-bottom: 6px;
    letter-spacing: normal;
  }
}

/* FVロゴ */
.fv-copy-logo {
  max-width: 650px;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .fv-copy-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 240px;
    margin-top: 5px;
  }
}

/* FV 全幅CTAバー */
.fv-cta-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px 24px;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-mint), #42e88b);
  overflow: hidden;
  text-decoration: none;
  letter-spacing: 0.05em;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease;
}

.fv-cta-bar-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

.fv-cta-bar-btn i {
  transition: transform 0.2s ease;
}

.fv-cta-bar-btn:hover {
  background: #fff;
  color: var(--primary-mint);
}

.fv-cta-bar-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .fv-cta-bar-btn {
    padding: 16px 20px;
    font-size: 1rem;
  }
}

/* Trial Banner */
.trial-banner-wrap {
  display: block;
  width: 100%;
  line-height: 0;
  font-size: 0;
  margin-bottom: 0;
}

.trial-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.trial-notes {
  margin: 0;
  padding: 10px 20px;
  list-style: none;
  background: #f7f7f7;
}

.trial-notes li {
  padding-left: 1em;
  text-indent: -1em;
  font-size: 0.75rem;
  line-height: 1.7;
  color: #666;
}

@media (max-width: 768px) {
  .trial-notes li {
    line-height: 1.4;
  }
}

/* FV動画セクション */
.fv-video-section {
  width: 100%;
  background: #2b2835;
}

.fv-video-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
}

.fv-video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.fv-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .fv-video-inner {
    padding: 0;
  }
}

.text-large {
  font-size: 5.2rem;
  font-weight: 900;
  color: var(--text-main);
  /* Changed to text color so yellow marker shows better */
  display: inline-block;
  margin: 4px 0;
  line-height: 1.1;
}

.text-large.marker {
  /* Yellow Marker Underline */
  background: linear-gradient(transparent 60%, #ffff00 60%);
  letter-spacing: 0.02em;
}

.text-gradient-pink {
  background: linear-gradient(135deg, var(--accent-pink), #ff7a9f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
  display: inline-block;
  font-weight: 900;
  font-style: italic;
  white-space: nowrap;
}

.marker-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin: 20px 0 0;
  gap: 15px;
  z-index: 10;
  position: relative;
}

@media (max-width: 768px) {
  .marker-box {
    margin-top: -20px;
    margin-bottom: 20px;
    gap: 8px;
  }
}

@media (min-width: 768px) {
  .marker-box {
    /* gap: 30px; overridden */
  }
}

.marker-item {
  display: flex;
  flex: 1;
  min-width: 250px;
  position: relative;
  height: auto;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background-color: var(--white);
  border: 3px solid #ff4081;
  border-radius: 0;
  filter: drop-shadow(4px 4px 0 #ff4081);
  transition: filter 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.marker-item:hover {
  filter: drop-shadow(2px 2px 0 #ff4081);
  transform: translate(2px, 2px);
}

.point-label {
  position: absolute;
  top: -20px;
  right: -20px;
  left: auto;
  transform: none;
  width: 48px;
  height: 48px;
  background-color: var(--accent-pink);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.70rem;
  font-weight: 800;
  padding: 0;
  border-radius: 50%;
  letter-spacing: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 2px solid #fff;
  /* Use drop-shadow filter so the tail shadow merges with the circle shadow */
  filter: drop-shadow(2px 2px 0px rgba(0, 0, 0, 0.15));
  box-shadow: none;
}

.point-label::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 2px;
  width: 8px;
  height: 8px;
  background-color: var(--accent-pink);
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(0deg);
  z-index: -1;
}

.marker-check {
  margin-right: 10px;
  font-size: 2.1rem;
  /* Larger icon */
  color: #20c997;
  /* Mint color */
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
  /* Minimizes bounding box weirdness */
}

.marker-item .marker-text {
  text-align: left;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  line-height: 1.4;
}

.marker-item::before {
  display: none;
}

/* 3.1 Swiper Carousel Styles */
.feature-swiper {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.feature-swiper .swiper-slide {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.feature-swiper .swiper-slide .feature-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}

.feature-img-wrap {
  position: relative;
}


.feature-cover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  transition: opacity 0.4s ease, visibility 0.4s ease;
  cursor: pointer;
}

.feature-cover.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.feature-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.thumb-wrap {
  position: relative;
  width: 100%;
  padding: 0 30px;
  /* Reserve space for arrows */
  box-sizing: border-box;
}

.thumb-wrap .swiper-button-prev,
.thumb-wrap .swiper-button-next {
  color: var(--accent-pink);
  margin: 0;
  width: auto;
  height: auto;
}

.thumb-wrap .swiper-button-prev {
  left: 5px;
}

.thumb-wrap .swiper-button-next {
  right: 5px;
}

.thumb-wrap .swiper-button-prev::after,
.thumb-wrap .swiper-button-next::after {
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* 3.2 Thumb Swiper Styles */
.thumb-swiper {
  width: 100%;
  margin-top: 10px;
  height: auto;
  flex: none;
  padding: 0 5px 10px;
  box-sizing: border-box;
}

.thumb-swiper .swiper-slide {
  height: auto;
  aspect-ratio: 1 / 1;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.2s;
  /* Prevent flex auto stretch on iOS Safari causing vertical stretching */
  align-self: center;
}

.thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--accent-pink);
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  border-radius: 6px;
  display: block;
}

.marker-item-text {
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
  color: var(--primary-mint);
}

.fv-price-text {
  font-family: 'Yomogi', cursive;
  font-size: 1.2rem;
  font-weight: 800;
  background: #fff;
  padding: 20px 35px;
  border-radius: 120px;
  border: 3px solid var(--accent-pink);
  text-align: center;
  box-shadow: none;
  filter: drop-shadow(4px 4px 0 var(--accent-pink));
  color: var(--text-main);

  display: inline-block;
  position: absolute;
  right: 10%;
  left: auto;
  top: -20px;
  transform-origin: top right;
  margin: 0;
  z-index: 15;
  animation: bubblePopPC 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
}

@keyframes bubblePopPC {
  0% {
    opacity: 0;
    transform: scale(0.4) translateY(20px);
  }

  60% {
    opacity: 1;
    transform: scale(0.84) translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: scale(0.8) translateY(0);
  }
}

@keyframes bubblePopSP {
  0% {
    opacity: 0;
    transform: scale(0.2) translateY(20px);
  }

  60% {
    opacity: 1;
    transform: scale(0.42) translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: scale(0.40) translateY(0);
  }
}

.price-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.price-top {
  display: block;
  line-height: 1;
  margin-bottom: 0;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-pink);
  transform: rotate(-8deg);
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
  position: relative;
  z-index: 2;
}

.price-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1.1;
  width: 100%;
}

.price-note {
  align-self: flex-end;
  margin-top: 12px;
  font-size: 0.95rem;
}

.price-lead {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-right: 0;
  text-align: left;
  margin-bottom: 0;
}

/* Speech bubble tail restored to original white design */
.fv-price-text::after {
  content: "";
  position: absolute;
  top: auto;
  bottom: 6px;
  left: 4px;
  width: 24px;
  height: 24px;
  background: #fff;
  border: none;
  border-bottom: 3px solid var(--accent-pink);
  border-left: 3px solid var(--accent-pink);
  /*border-bottom-left-radius: 4px;*/
  transform: rotate(0deg);
  z-index: -1;
}

.price-trial-text {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.price-trial-main {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--accent-pink);
  text-align: center;
}

@keyframes popInBounce {
  0% {
    transform: scale(0.6) rotate(10deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.05) rotate(-4deg);
    opacity: 1;
  }

  100% {
    transform: scale(1) rotate(-2deg);
    opacity: 1;
  }
}

.price-highlight {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0.15em;
  margin: 0 4px 0 8px;
  font-family: var(--font-serif);
  color: var(--accent-pink);
}

.fv-image-area {
  position: absolute;
  right: 5%;
  top: 60%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Modern Mockup Image */
.dummy-image.mockup {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/3;
  background: var(--white);
  border-radius: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 700;

  position: relative;
  overflow: hidden;
}

/* Mock top browser bar */
.dummy-image.mockup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #f3f4f6;
  border-bottom: 1px solid var(--border-color);
}

/* Mock dots */
.dummy-image.mockup::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  box-shadow:
    14px 0 0 #d1d5db,
    28px 0 0 #d1d5db;
}

/* 1.5 FV Benefits */
.fv-benefits-section {
  background-color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

/* Pop Text Feature Cards */
.benefit-text-card {
  background: var(--white);
  padding: 0 0 30px 0;
  border-radius: 0;
  text-align: left;
  border: 2px solid var(--accent-pink);
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.bn-img-wrap {
  width: 100%;
  height: 300px;
  border-bottom: 2px solid var(--accent-pink);
  overflow: hidden;
  position: relative;
}

.bn-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bn-content {
  padding: 24px 24px 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.bn-num-large {
  position: absolute;
  top: -10px;
  right: 0;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(1, 157, 144, 0.1);
  /* Primary mint but highly transparent */
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  font-style: italic;
  font-family: 'Poppins', 'Montserrat', sans-serif;
}


.chart-text .highlight {
  color: var(--accent-pink);
  font-size: 1.4rem;
}

/* Reason Logos */
.reason-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 15px;
}

.reason-logo-wrapper {
  margin: 0 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.reason-logo {
  max-width: 180px;
  height: auto;
  opacity: 0.85;
}

.reason-logo-link {
  font-size: 0.85rem;
  color: var(--primary-mint);
  text-decoration: underline;
  word-break: break-all;
}

.reason-link-wrap {
  text-align: right;
  margin: 5px 0 0;
  text-align: center;
}

.bp-capture-wrapper {
  text-align: center;
}

.bp-capture-img {
  max-width: 65%;
  height: auto;
}

/* Reason Badges (Google/Yahoo) */
.reason-badge-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 15px;
  flex-wrap: wrap;
}

.bn-title {
  color: var(--accent-pink);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 16px;
}

.bn-subtitle {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-top: 8px;
  position: relative;
}

.bn-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

/* Modern Feature Cards */
.benefit-card {
  background: var(--white);
  padding: 0 0 40px 0;
  /* Remove top/side padding to allow full-width image */
  border-radius: 0;
  text-align: center;

  /* Restored border */
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  /* Ensure top corners of image are rounded */
}

.benefit-img-wrap {
  width: 100%;
  height: 300px;
  margin: 0 0 24px 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
}

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

.benefit-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 24px;
}

.benefit-card strong {
  color: var(--text-main);
  display: block;
  margin-top: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0 24px;
}

/* 2. 共感・問題提起 */
/* --- Genre Marquee --- */
.genre-marquee-section {
  display: none;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  padding-left: 0;
}

.marquee-group {
  display: flex;
  gap: 0;
  animation: scrollMarquee 25s linear infinite;
}

.marquee-item {
  width: 280px;
  height: 186px;
  flex: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  /* Slant the images diagonally using clip-path, perfectly interlocking using negative margin */
  clip-path: polygon(42px 0, 100% 0, calc(100% - 42px) 100%, 0 100%);
  margin-left: -42px;
}

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

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.sympathy {
  background-color: var(--bg-light);
  position: relative;
}

.sympathy-img-wrap {
  width: 65%;
  max-width: 1000px;
  margin: 0 auto 64px;
  text-align: center;
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

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

.solution-intro {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.intro-badge {
  background: linear-gradient(135deg, var(--accent-pink) 0%, #ff7e9e 100%);
  color: var(--white);
  padding: 10px 40px;
  /* Modern pill shape */
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  margin-bottom: -30px;
  z-index: 11;
  position: relative;
  border: 4px solid var(--white);
  /* Distinct border */
}

.solution-intro .emphasize {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  background: var(--white);
  padding: 60px 60px 40px;
  line-height: 1.6;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.marker-pink {
  background: linear-gradient(transparent 70%, rgba(255, 126, 158, 0.25) 70%);
  display: inline-block;
  padding: 0 4px;
}

.arrow-down {
  z-index: 12;
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-mint);
  font-size: 1.6rem;
  margin-top: -28px;
  animation: floating-arrow 2s ease-in-out infinite;
}

@keyframes floating-arrow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.solution-box {
  background: var(--primary-mint);
  color: var(--white);
  text-align: center;
  padding: 40px 40px 0;
  /* Bottom padding removed for full-width white box */
  border-radius: 0;
  position: relative;
  overflow: hidden;
  /* Ensure inner elements conform to border-radius */
}

/* Inner white border for premium look */
.solution-box::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 0px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: none;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  pointer-events: none;
  z-index: 1;
}

.solution-box p {
  font-size: 1.15rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}

.solution-box h3 {
  font-size: 2.2rem;
  margin: 24px 0 40px;
  line-height: 1.5;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.solution-logo-wrap {
  display: block;
  /* Make full width */
  background: var(--white);
  padding: 60px 24px;
  margin: 0 -40px;
  /* Pull to left/right edge over the padding */
  border-radius: 0;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

/* Inverted green inner border for the white logo box */
.solution-logo-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--primary-mint);
  border-top: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  pointer-events: none;
  z-index: 3;
}

.solution-logo {
  max-width: 100%;
  width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.decor-confetti {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 5;
  pointer-events: none;
  animation: pop-confetti 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.decor-confetti.left {
  left: 6%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 90 L30 65 L40 75 Z' fill='%23D4AF37'/%3E%3Cpath d='M8 92 L15 85 L20 90 Z' fill='%23C5A017'/%3E%3Ccircle cx='45' cy='45' r='5' fill='%23d97777'/%3E%3Crect x='30' y='25' width='6' height='6' fill='%237A9D8C' transform='rotate(15 33 28)'/%3E%3Cpolygon points='65,30 70,40 60,40' fill='%23708090'/%3E%3Ccircle cx='80' cy='60' r='5' fill='%23A0AAB2'/%3E%3Crect x='50' y='70' width='6' height='6' fill='%23E6C27A' transform='rotate(45 53 73)'/%3E%3C/svg%3E");
}

.decor-confetti.right {
  right: 6%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M90 90 L70 65 L60 75 Z' fill='%23D4AF37'/%3E%3Cpath d='M92 92 L85 85 L80 90 Z' fill='%23C5A017'/%3E%3Ccircle cx='55' cy='45' r='5' fill='%23d97777'/%3E%3Crect x='64' y='25' width='6' height='6' fill='%237A9D8C' transform='rotate(15 67 28)'/%3E%3Cpolygon points='35,30 40,40 30,40' fill='%23708090'/%3E%3Ccircle cx='20' cy='60' r='5' fill='%23A0AAB2'/%3E%3Crect x='44' y='70' width='6' height='6' fill='%23E6C27A' transform='rotate(45 47 73)'/%3E%3C/svg%3E");
}

@keyframes pop-confetti {
  0% {
    transform: translateY(-50%) scale(0);
    opacity: 0;
  }

  60% {
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
  }

  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}

/* 3. サービス詳細 */
.service-details {
  background-color: #f2f9f6;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-bottom: 40px;
}

.feature-card {
  background: #ffffff;
  border-radius: 40px;
  padding: 50px;
  box-shadow: 12px 12px 0px rgba(5, 150, 105, 0.15);
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 60px;
}

.feature-card:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-header {
  display: flex;
  align-items: center;
  /* Vertically center the number and the title area */
  gap: 20px;
  margin-bottom: 24px;
}

.feature-number {
  display: flex;
  flex-shrink: 0;
  /* Don't squash the circle */
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--primary-mint);
  color: #ffffff;
  border-radius: 50%;
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-serif);
  font-style: normal;
  box-shadow: 4px 4px 0px rgba(5, 150, 105, 0.2);
  margin-bottom: 0;
  line-height: 1;
}

.feature-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  /* Zero margin to match the new flex header approach */
  color: var(--text-main);
  line-height: 1.5;
}

.title-highlight {
  display: inline;
  background: linear-gradient(transparent 60%, #ffff00 60%);
  color: var(--text-main);
  padding: 0 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 0;
  line-height: 1.4;
  font-size: 2.0rem;
}

.feature-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px 0;
  padding: 0;
  list-style: none;
}

.tool-label {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  line-height: 1;
}

.label-line {
  background: #06c755;
  color: #fff;
}

.label-yahoo {
  background: #ff0033;
  color: #fff;
}

.label-google {
  background: #4285f4;
  color: #fff;
}

.label-bp {
  background: var(--primary-mint);
  color: #fff;
}

/* Feature 06 Specific Image Optimization */
.feature-bp-card .feature-img {
  object-fit: contain !important;
  padding-right: 15%;
  /* To center the Beauty Park logo horizontally */
}

/* Feature Showcase Laurels */
.feature-laurel-badge.laurel-refined {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 15px auto;
  padding: 5px 70px !important;
  /* Space for laurel images close to text */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: var(--font-serif) !important;
  width: fit-content;
}

.feature-laurel-badge.laurel-refined::before,
.feature-laurel-badge.laurel-refined::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  height: 70px;
  background-image: url("images/laurel_branch.png");
  background-repeat: no-repeat;
  background-size: contain;
}

.feature-laurel-badge.laurel-refined::before {
  left: 0;
  transform: translateY(-50%) scaleX(-1);
  /* Face inward */
}

.feature-laurel-badge.laurel-refined::after {
  right: 0;
  transform: translateY(-50%);
  /* Face inward */
}

.laurel-prefix,
.laurel-suffix {
  font-size: 0.85rem;
  font-weight: 800;
  color: #c5a059;
  letter-spacing: 0.05em;
}

.laurel-count {
  font-size: 1.8rem;
  font-weight: 900;
  color: #2b2835;
  line-height: 1.1;
  margin: 2px 0;
  font-family: var(--font-serif);
}

.laurel-unit {
  font-size: 0.9rem;
  margin-left: 2px;
}

/* Spacing and Subtitle fixes */
.feature-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-pink);
  margin-bottom: 12px;
  display: block;
}

.label-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.label-tiktok {
  background: #000;
  color: #fff;
}

.label-video {
  background: #ff4d4d;
  color: #fff;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 10px;
}

.feature-img-wrap {
  flex: 0 0 45%;
  min-width: 0;
  width: auto;
  /* Image takes 45% of the card width */
  margin: 0;
  border-radius: 12px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.slide-video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.play-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--accent-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 20;
  text-decoration: none;
  transition: all 0.3s ease;
  pointer-events: none;
}

.slide-video-link:hover .play-video-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--accent-pink);
  color: #fff;
}



.highlight-card .feature-number {
  background-color: var(--accent-pink);
  color: #ffffff;
}

.badge-new {
  position: absolute;
  top: -12px;
  right: 24px;
  background-color: var(--accent-pink);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 0;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3);
}

.update-notice {
  background: var(--accent-pink);
  color: #fff;
  text-align: center;
  padding: 16px 40px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 40px auto;
  width: fit-content;
  border-radius: 0;
}

/* 4. 権威付け */
.authority {
  background-color: #fff;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.reason-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 32px;
  border-radius: 0;
  box-shadow: none;
}

.reason-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.reason-icon {
  font-size: 1.8rem;
  margin-right: 12px;
  color: var(--accent-pink);
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason-content {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reason-content h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.4;
}

.reason-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Satisfaction Chart */
.satisfaction-chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 15px;
}

.pie-chart-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

.pie-chart-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pie-bg {
  fill: none;
  stroke: #f3f4f6;
  stroke-width: 10;
}

.pie-fill {
  fill: none;
  stroke: var(--accent-pink);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 282.7;
  stroke-dashoffset: 282.7;
  /* Start at 0% */
  transition: stroke-dashoffset 1.5s ease-out;
}

.authority.is-visible .pie-fill {
  animation: fill-pie 1.5s ease-out forwards;
}

@keyframes fill-pie {
  from {
    stroke-dashoffset: 282.7;
  }

  to {
    stroke-dashoffset: 14.1;
    /* 95% of 282.7 */
  }
}

.pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.pie-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: -2px;
}

.pie-percent {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.percent-num {
  font-size: 2.0rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.percent-unit {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-main);
}

.chart-text {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: 0;
}

/* 4.5 Testimonials Separator */
.testimonials-divider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 6px;
  margin-top: 80px;
  margin-bottom: 64px;
  background-image: radial-gradient(circle, var(--white) 35%, transparent 40%);
  background-size: 12px 6px;
  background-position: center;
  background-repeat: repeat-x;
}

.testimonials {
  margin-top: 60px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 15px;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .testimonials {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
  }
}

.testimonials h3 {
  font-family: var(--font-serif) !important;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.testimonials-swiper {
  width: calc(100% + 30px) !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
  position: relative;
  left: auto;
  transform: none;
  margin-top: 100px !important;
  padding: 80px 0 60px;
  overflow: visible !important;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .testimonials-swiper {
    position: relative !important;
    left: auto !important;
    transform: none !important;
    width: calc(100% + 30px) !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
  }

  .testimonials-swiper .swiper-button-prev,
  .testimonials-swiper .swiper-button-next {
    width: 35px;
    height: 35px;
    margin-top: -17.5px;
    z-index: 10;
    /* Ensure it's above the slides */
  }

  .testimonials-swiper .swiper-button-prev:after,
  .testimonials-swiper .swiper-button-next:after {
    font-size: 14px;
  }

  .testimonials-swiper .swiper-button-prev {
    left: 5px !important;
  }

  .testimonials-swiper .swiper-button-next {
    right: 5px !important;
  }

  .case-card-top {
    height: auto !important;
    /* Increase height to fit both profile and title vertically */
    display: block !important;
    /* Switch to block to make centering elements easier */
    text-align: center !important;
  }

  .case-dome-img {
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: -50px !important;
  }

  .case-voice-label {
    left: 10% !important;
    top: -65px !important;
    transform: rotate(-10deg) translateX(-50%) !important;
  }

  .case-info {
    margin-left: 0 !important;
    padding-top: 95px !important;
    /* Space for the absolute image above it */
  }

  .case-card.new-layout>.case-description:nth-child(2) {
    height: auto !important;
    /* Allow description to wrap naturally on mobile */
    min-height: 55px;
  }
}

.testimonials-swiper .swiper-wrapper {
  overflow: visible !important;
}

.testimonials-swiper .swiper-slide {
  width: 500px;
  max-width: 90vw;
  overflow: visible !important;
  height: auto;
  display: flex;
}

.case-card.new-layout {
  background: var(--white);
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  /* soft shadow */
  width: 100%;
  flex: 1;
  /* Stretch to fill the flex super parent (swiper-slide) */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.case-card-top {
  display: flex;
  position: relative;
  height: 140px;
  /* Force uniform height */
  align-items: flex-start;
  /* Align content to top so titles don't jump around */
  padding-top: 15px;
  margin-top: -15px;
}

.case-dome-img {
  position: absolute;
  top: 0;
  left: -20px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  /* perfect circle */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
  background: #fff;
  border: 4px solid #fff;
  /* matching uniform border */
}

.case-dome-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* shifted back to true center for a circle */
}

.case-voice-label {
  position: absolute;
  top: -45px;
  /* move up */
  left: 110px;
  /* move left to float more centrally over the circle */
  font-family: 'Dancing Script', 'Snell Roundhand', 'Brush Script MT', 'Bradley Hand', 'Apple Chancery', 'Comic Sans MS', cursive;
  font-size: 3.0rem;
  /* shrink slightly to avoid text overlap */
  color: rgba(220, 77, 121, 0.3);
  /* faint accent pink */
  z-index: 3;
  transform: rotate(-10deg);
  white-space: nowrap;
  letter-spacing: 0.05em;
  pointer-events: none;
  /* ensure it stays uninteractive */
}

.case-info {
  margin-left: 140px;
  /* clear the overlapping image */
  z-index: 1;
  padding-top: 10px;
}

.case-info .salon-type {
  font-size: 0.95rem;
  color: #333;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.area-label {
  background-color: var(--accent-pink);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 10px;
  font-weight: 800;
  display: inline-block;
  line-height: 1.4;
}

.case-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-pink);
  /* match theme */
  line-height: 1.5;
  margin: 0;
}

.case-arrow-down {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-pink);
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  border: 1px solid var(--accent-pink);
}

.case-highlight-banner {
  font-family: var(--font-serif);
  background: var(--accent-pink);
  color: #fff;
  text-align: center;
  padding: 24px 16px 16px;
  /* 縦パディングを少し増やしてバッジのスペースを確保 */
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  position: relative;
  /* 子要素のabsolute基準 */
  margin-top: 0;
  /* Clear auto margin to ensure fixed starting position */
}

.case-highlight-banner .after-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  color: var(--accent-pink);
  padding: 4px 12px;
  font-size: 0.85rem;
  font-family: var(--font-en);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  border: 1px solid #888;
}

.case-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.case-card.new-layout>.case-description:nth-child(2) {
  height: 55px;
  /* Enforce uniform height so banner start position never varies */
}

.case-card.new-layout>.case-description:last-child {
  flex-grow: 1;
  /* Stretch to fill card height */
}

.case-description .before-text {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
}

.case-description .before-badge {
  display: inline-block;
  border: 1px solid #888;
  color: #888;
  padding: 2px 8px;
  margin-right: 8px;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1.2;
}

.case-description .after-text {
  color: #222;
  font-weight: 500;
}

.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
  color: #ffbba6;
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: -25px;
  /* center vertically strictly */
  position: absolute;
  top: 50%;
}

.testimonials-swiper .swiper-button-prev:after,
.testimonials-swiper .swiper-button-next:after {
  font-size: 20px;
  font-weight: bold;
}

/* 5. 料金プラン */
.pricing {
  background: var(--white);
}

.pricing .section-title {
  color: var(--text-main);
}

.pricing .section-title::after {
  background-color: var(--text-main);
}

.pricing-table-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 60px auto 0;
  overflow-x: auto;
  padding-bottom: 20px;
}

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 650px;
  text-align: center;
  margin-top: 20px;
}

.pricing-table th,
.pricing-table td {
  padding: 22px 10px;
  border-bottom: 3px solid var(--light-pink-accent, #f9cbd0);
  vertical-align: middle;
  font-size: 0.95rem;
  color: var(--text-main);
  border-right: 3px solid var(--light-pink-accent, #f9cbd0);
  background: var(--white);
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  border-right: none;
}

.pricing-table thead th {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 800;
  border-bottom: 3px solid var(--light-pink-accent, #f9cbd0);
  background: #f5f8f6;
  border-top: 3px solid var(--light-pink-accent, #f9cbd0);
  color: #333;
}

/* Base Top-Left cell (tbl-empty) */
.pricing-table thead th.tbl-empty {
  background: transparent !important;
  border: none !important;
}

/* First Column: Row Headers */
.pricing-table tbody th {
  text-align: center;
  font-weight: 700;
  background: #fafafa;
  color: #444;
  border-left: 3px solid var(--light-pink-accent, #f9cbd0);
}

.pricing-table thead th:nth-child(2) {
  border-left: 0;
}

/* Beauty Park Club Column Visual Pop */
.pricing-table .tbl-club {
  background: var(--primary-mint) !important;
  color: var(--white);
  border: none !important;
  position: relative;
  z-index: 5;
  font-size: 1.25rem;
  padding: 25px 10px;
  letter-spacing: 0.05em;
}

.pricing-table .tbl-club-cell {
  background: var(--white) !important;
  border-left: 3px solid var(--primary-mint) !important;
  border-right: 3px solid var(--primary-mint) !important;
  border-bottom: 0 !important;
  padding-bottom: 25px !important;
  font-weight: 800;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 20px rgba(255, 126, 158, 0.08);
  color: var(--primary-mint);
  font-size: 1rem;
}

.pricing-table .tbl-club-cell::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #f2cfd8;
  z-index: 6;
}

.pricing-table tbody tr:last-child .tbl-club-cell {
  border-bottom: 3px solid var(--primary-mint) !important;
  padding-bottom: 22px !important;
}

.pricing-table tbody tr:last-child .tbl-club-cell::after {
  display: none;
}

.pricing-table .highlight-text {
  font-size: 1.6rem;
  color: var(--primary-mint);
  font-family: var(--font-en);
}

.pricing-table .small-note {
  font-size: 0.75rem;
  color: #888;
  font-weight: normal;
  display: block;
  margin-top: 6px;
  line-height: 1.3;
}

/* Pricing Summary Card (Flat/Modern) */
.pricing-summary-card {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 50px 20px 40px;
  background-color: #fff;
  border-radius: 0;
  text-align: center;
  position: relative;
}

.pricing-summary-card::before,
.pricing-summary-card::after {
  content: "";
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  width: 150px;
  height: 150px;
  background-image: url('images/party-popper.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.pricing-summary-card::before {
  left: 30px;
}

.pricing-summary-card::after {
  right: 30px;
  transform: translateY(-50%) scaleX(-1);
}

.summary-label {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-mint);
  border: none;
  padding: 8px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.summary-price {
  color: var(--accent-pink);
  margin: 10px 0;
}

.price-period {
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 4px;
  vertical-align: middle;
}

.price-num {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
}

.price-unit {
  font-size: 1.5rem;
  font-weight: 800;
}

.price-tax {
  font-size: 1rem;
  color: #888;
  font-weight: 700;
}

.daily-badge {
  display: inline-block;
  background: var(--accent-pink);
  color: #fff;
  padding: 4px 16px;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.summary-feature-labels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.label-item {
  background: transparent;
  border: 1px solid #ddd;
  color: #777;
  padding: 6px 12px;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .pricing-summary-card {
    margin: 30px 0 0;
    padding: 30px 15px;
    border-radius: 0;
  }

  .pricing-summary-card::before,
  .pricing-summary-card::after {
    width: 60px;
    height: 60px;
    opacity: 0.4;
  }

  .pricing-summary-card::before {
    left: 5px;
  }

  .pricing-summary-card::after {
    right: 5px;
  }

  .price-num {
    font-size: 3.2rem;
  }

  .label-item {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 0;
  }
}

/* Scroll Hint Overlay for Mobile Tables */
.scroll-hint-overlay {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  z-index: 20;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.scroll-hint-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.scroll-hint-content i {
  font-size: 2.2rem;
  margin-bottom: 8px;
  display: block;
  animation: swipe-left-right 1.5s infinite ease-in-out;
}

.scroll-hint-content span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  font-family: var(--font-serif);
}

@keyframes swipe-left-right {
  0% {
    transform: translateX(10px);
  }

  50% {
    transform: translateX(-10px);
  }

  100% {
    transform: translateX(10px);
  }
}

/* Symbol Aesthetics */
.pricing-table .symbol-circle {
  font-size: 2.2rem;
  color: var(--accent-pink);
  font-weight: 900;
  line-height: 1;
  display: inline-block;
  margin-bottom: 2px;
}

.pricing-table .symbol-other {
  font-size: 1.5rem;
  font-weight: 700;
  color: #777;
  line-height: 1;
  display: inline-block;
  margin-bottom: 2px;
}

.table-cta {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .pricing-table-wrapper {
    margin-top: 20px;
    padding-bottom: 30px;
  }

  .pricing-table {
    min-width: 500px;
    /* Reduced from 650px to show more on screen */
  }

  .pricing-table th,
  .pricing-table td {
    padding: 15px 5px;
    /* Reduced from 22px 10px */
    font-size: 0.85rem;
    /* Slightly smaller */
  }

  .pricing-table .tbl-club {
    font-size: 1.0rem;
    padding: 15px 5px;
  }

  .pricing-table .tbl-club-cell {
    padding-bottom: 15px !important;
    font-size: 0.85rem;
  }

  .scroll-hint-overlay.sp-only {
    display: flex;
  }

  /* Sticky left column for mobile table */
  .pricing-table thead th:first-child,
  .pricing-table tbody th {
    position: sticky;
    left: 0;
    z-index: 10;
  }

  /* Solidify the empty cell background on mobile so scrolling columns are masked properly */
  .pricing-table thead th.tbl-empty {
    background: var(--light-mint) !important;
  }
}

/* 6. 初期構築サービス（特別プラン補足） */
.setup-banner-wrapper {
  display: none;
  margin-top: 60px;
}

.setup-banner {
  background-color: var(--white);

  border-radius: 0;
  padding: 56px 40px 48px;
  text-align: center;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.setup-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text-main);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 32px;
  border-radius: 0;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.setup-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 16px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.setup-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.setup-banner .offer-box {
  display: block;
  background-color: #fffbeb;
  border: 2px solid #fde68a;
  padding: 24px 40px;
  border-radius: 0;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 40px;
  color: #92400e;
  max-width: 650px;
}

.setup-banner .offer-box strong {
  font-size: 1.7rem;
  color: var(--accent-pink);
}

.setup-btn {
  display: inline-flex;
  font-size: 1.2rem;
  padding: 20px 48px;
  min-width: 380px;
  justify-content: center;
  font-weight: 800;
  border-radius: 0;
  background: var(--white);
}

/* 6. ご利用までの流れ (Flow) */
.flow {
  background: var(--white);
}

.flow-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
}

.flow-card {
  flex: 1;
  background: transparent;
  border-radius: 0;
  text-align: center;
  position: relative;
  border: none;
  display: flex;
  flex-direction: column;
}

.flow-card-header {
  background: var(--accent-pink);
  color: var(--white);
  padding: 15px 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flow-card-header::after {
  content: "";
  position: absolute;
  top: 99%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px 20px 0;
  border-style: solid;
  border-color: var(--accent-pink) transparent transparent transparent;
  z-index: 2;
}

.step-text {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.flow-card-body {
  background: #f2f2f2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 15px 30px;
}

.flow-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-pink);
  margin-bottom: 20px;
  line-height: 1.4;
}

.flow-icon {
  color: var(--accent-pink);
  /* Flat black outline icon color */
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.flow-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
  margin-top: auto;
  margin-bottom: auto;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ddd;
  font-size: 1.5rem;
}

@media (max-width: 992px) {
  .flow-container {
    flex-direction: column;
    gap: 20px;
  }

  .flow-card {
    border: none;
    padding: 0;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: -10px 0;
  }
}

/* 7. FAQ */
.faq {
  background: var(--white);
}

.faq-item {
  border-radius: 0;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  padding: 24px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  background: var(--bg-light);
  transition: background 0.2s;
}

.faq-question span {
  display: block;
  padding-left: 1.5em;
  text-indent: -1.5em;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-question .icon {
  color: var(--text-muted);
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
  color: var(--primary-mint);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 24px 24px 24px calc(24px + 1em);
  text-indent: -1em;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: var(--text-main);
  padding: 30px 0 16px;
  font-size: 0.85rem;
  font-family: var(--font-en);
  color: var(--text-light);
}
@media (max-width: 1024px) {
  footer {
    padding-bottom: 120px;
  }
}

footer .container {
  padding: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 16px;
}

.footer-nav a {
  padding: 0 16px;
  font-size: 0.82rem;
  font-family: var(--font-jp);
  color: var(--text-light);
  border-right: 1px solid rgba(156, 163, 175, 0.4);
  transition: color 0.2s ease;
}

.footer-nav a:first-child {
  padding-left: 0;
}

.footer-nav a:last-child {
  padding-right: 0;
  border-right: none;
}

.footer-nav a:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-nav a {
    padding: 0;
    border-right: none;
  }
}

/* Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1215px) {
  .marker-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .marker-item {
    min-width: 0;
  }

  .fv-image-area {
    top: 50%;
    /* Prevent overlapping markers on wrap */
  }
}

@media (max-width: 1150px) {
  .fv-container {
    flex: 1.1;
    /* Reduced from 1.3 */
  }

  .fv-copy {
    font-size: 2rem;
  }

  .text-large {
    font-size: 3rem;
  }

  .authority-count {
    font-size: 2.6rem;
  }

  .fv-authority-subtext {
    white-space: normal;
    padding: 0;
    font-size: 1.4rem;
  }

  .fv-brand-logo {
    height: 2rem;
  }

  .fv-main-img {
    max-width: 360px;
    /* Reduced from 460px */
  }

  .fv-price-text {
    width: auto;
    height: auto;
    padding: 15px 25px;
    right: 0;
    top: -30px;
    transform-origin: bottom right;
  }

  .price-bottom {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .fv-price-text {
    position: relative;
    right: auto;
    bottom: auto;
    top: auto;
    margin: -22px auto -80px auto;
    transform: scale(0.45) !important;
    transform-origin: center center;
    display: inline-block;
    min-width: 100%;
    animation: bubblePopSP 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s both;
  }

  .container {
    padding: 60px 0;
  }

  .pb-cta {
    padding-bottom: 30px !important;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .sympathy .section-title {
    letter-spacing: -0.05em;
  }

  .cta-area {
    align-items: stretch;
    padding: 40px 20px;
    background-image: url('images/scatter-left-sp.svg'), url('images/scatter-right-sp.svg');
    background-size: auto 100%, auto 100%;
    background-position: left center, right center;
  }

  .cta-area .cta-button {
    width: 100%;
    padding: 20px 24px;
    font-size: 1rem;
  }


  .sticky-header .cta-button {
    width: auto !important;
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    min-width: 0 !important;
  }

  .sticky-header .cta-button i {
    margin-left: 6px !important;
    font-size: 0.75rem !important;
  }

  .sympathy-img-wrap,
  .reasons,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .sympathy-img-wrap {
    width: 100%;
  }

  .pricing-card.special {
    transform: translateY(0);
  }

  .pricing-cards {
    gap: 24px;
    align-items: center;
  }

  .pricing-card {
    width: 100%;
    padding: 32px 24px;
  }

  .feature-card,
  .feature-card:nth-child(even) {
    flex-direction: column;
    padding: 30px 20px;
    border-radius: 24px;
    box-shadow: 8px 8px 0px rgba(5, 150, 105, 0.15);
    gap: 30px;
  }

  .feature-img-wrap {
    flex: none;
    height: auto;
    width: 100%;
  }



  .setup-banner {
    padding: 48px 24px 32px;
  }

  .setup-badge {
    font-size: 1rem;
    padding: 8px 24px;
    top: -20px;
  }

  .setup-title {
    font-size: 1.4rem;
  }

  .setup-banner .offer-box {
    padding: 20px 16px;
    font-size: 1.05rem;
  }

  .setup-banner .offer-box strong {
    font-size: 1.4rem;
  }

  .setup-btn {
    min-width: 100%;
    width: 100%;
    padding: 16px 20px;
  }

  .fv-main-img {
    max-width: 90%;
  }



  .marker-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 40px 0 1rem;
    width: 100%;
  }


  .decor-confetti {
    width: 90px;
    height: 90px;
  }

  .decor-confetti.left {
    left: 2%;
  }

  .decor-confetti.right {
    right: 2%;
  }



  .price-top {
    font-size: 1.3rem;
    margin-bottom: 0px;
  }

  .price-lead {
    font-size: 0.95rem;
    line-height: 1.2;
    margin-bottom: 0;
  }

  .price-highlight {
    font-size: 3.5rem;
  }

  /* Move speech bubble tail to bottom to point at features on mobile */
  .fv-price-text::after {
    display: block;
    top: auto;
    bottom: -13px;
    left: 60px;
    transform: rotate(-35deg) skew(-10deg, -10deg);
    border: none;
    border-bottom: 3px solid var(--accent-pink);
    border-left: 3px solid var(--accent-pink);
    border-radius: 0;
    border-bottom-left-radius: 4px;
    z-index: -1;
    width: 20px;
    height: 20px;
  }
}

/* --- Decorative Scallops --- */
.decor-scallop-top,
.decor-scallop-bottom {
  position: relative;
}

.bg-light-mint.decor-scallop-top::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: radial-gradient(circle at 10px 0, transparent 10px, var(--light-mint) 10.5px);
  background-size: 20px 12px;
  background-repeat: repeat-x;
  z-index: 10;
}

.bg-light-mint.decor-scallop-bottom::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: radial-gradient(circle at 10px 12px, transparent 10px, var(--light-mint) 10.5px);
  background-size: 20px 12px;
  background-repeat: repeat-x;
  z-index: 10;
}

.bg-dark-mint.decor-scallop-top::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: radial-gradient(circle at 10px 0, transparent 10px, var(--dark-mint, #014a44) 10.5px);
  background-size: 20px 12px;
  background-repeat: repeat-x;
  z-index: 10;
}

.bg-dark-mint.decor-scallop-bottom::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: radial-gradient(circle at 10px 12px, transparent 10px, var(--dark-mint, #014a44) 10.5px);
  background-size: 20px 12px;
  background-repeat: repeat-x;
  z-index: 10;
}

/* Flatten feature cards */
.feature-card {
  border-radius: 0;
  box-shadow: none !important;

}

.bg-light-pink {
  background-color: var(--light-pink-accent, #f9cbd0) !important;
}

.bg-light-pink.decor-scallop-top::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: radial-gradient(circle at 10px 0, transparent 10px, var(--light-pink-accent, #f9cbd0) 10.5px);
  background-size: 20px 12px;
  background-repeat: repeat-x;
  z-index: 10;
}

.bg-light-pink.decor-scallop-bottom::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: radial-gradient(circle at 10px 12px, transparent 10px, var(--light-pink-accent, #f9cbd0) 10.5px);
  background-size: 20px 12px;
  background-repeat: repeat-x;
  z-index: 10;
}

/* Mobile responsive sticky-bar and footer clearance */
@media (max-width: 768px) {


  footer {
    padding: 16px 0 160px;
  }

  .marquee-item {
    width: 126px;
    height: 84px;
    clip-path: polygon(19px 0, 100% 0, calc(100% - 19px) 100%, 0 100%);
    margin-left: -19px;
  }

  /* Authority Section Mobile Refinement */
  .satisfaction-chart-container {
    flex-wrap: wrap;
    gap: 16px;
  }

  .reason-badge-wrapper {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
  }

  .reason-badge {
    max-width: 45%;
    /* Ensure two badges fit side-by-side */
    height: auto;
  }
}

/* -------------------------------------
   Philosophy Section
------------------------------------- */
.philosophy-section {
  background-color: var(--white);
  background-image: url('images/bg_botanical.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.philosophy-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 40px;
  line-height: 1.6;
}

.ph-sub {
  font-size: 1.4rem;
  color: var(--primary-mint);
  display: inline-block;
  margin-bottom: 15px;
  font-family: var(--font-sans);
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 2.2;
  text-align: center;
}

.philosophy-content p {
  margin-bottom: 30px;
}

.philosophy-content strong {
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(transparent 70%, #ffff00 70%);
}

.ph-conclusion {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-mint);
  margin-top: 50px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.philosophy-logo-wrap {
  margin-top: 30px;
  margin-bottom: 30px;
}

.philosophy-logo-wrap .solution-logo {
  max-width: 250px;
  height: auto;
}

@media (max-width: 768px) {
  .philosophy-section {
    background-image: url('images/bg_botanical_sp.png');
  }

  .philosophy-title {
    font-size: 1.8rem;
  }

  .ph-sub {
    font-size: 1.2rem;
  }

  .feature-header {
    gap: 15px;
    /* Tighter gap on mobile */
    align-items: center;
    /* Vertically center on mobile also */
    margin-bottom: 20px;
  }

  .feature-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    box-shadow: 2px 2px 0px rgba(5, 150, 105, 0.2);
  }

  .feature-title {
    font-size: 1.15rem;
    /* Down from 1.25rem to prevent extra wrapping */
    line-height: 1.4;
    text-align: left;
    /* Ensure left alignment when horizontal */
  }

  .title-highlight {
    font-size: 1.35rem;
    /* Down from 1.6rem to prevent extra wrapping */
  }

  .solution-intro .emphasize {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    padding: 36px 0 24px;
    width: 100%;
  }

  .intro-badge {
    font-size: 1.1rem;
    padding: 6px 20px;
  }

  .philosophy-content {
    font-size: 1rem;
    text-align: left;
  }

  .philosophy-content strong {
    font-size: 1.1rem;
  }

  .ph-conclusion {
    text-align: center;
    font-size: 1.2rem;
  }

}

/* Back to Top Button */
.back-to-top {
  /* ① 位置・配置 */
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1010; /* 1000から1010に引き上げ、追従バー(z-index: 1000)より常に前面に配置 */
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;

  /* ② ボックスモデル */
  width: 50px;
  height: 50px;

  /* ③ タイポグラフィ */
  font-size: 1.2rem;
  text-decoration: none;
  color: #fff;

  /* ④ 装飾 */
  background-color: var(--primary-mint);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  /* ⑤ アニメーション・その他 */
  transition: all 0.3s ease;
  opacity: 0;
}
@media (max-width: 768px) {
  .back-to-top {
    /* ① 位置・配置 */
    right: 20px;
    bottom: calc(180px + env(safe-area-inset-bottom, 0px)); /* セーフエリアのフォールバックを指定しパースエラーを回避 */

    /* ② ボックスモデル */
    width: 44px;
    height: 44px;
  }
}

.back-to-top.is-active {
  /* ① 位置・配置 */
  visibility: visible;

  /* ⑤ アニメーション・その他 */
  opacity: 1;
}

.back-to-top:hover {
  /* ③ タイポグラフィ */
  color: #fff;

  /* ④ 装飾 */
  background-color: var(--accent-pink);

  /* ⑤ アニメーション・その他 */
  transform: translateY(-5px);
}

/* ------------------------------------- */
/* ページ・機能固有スタイル (FV v2 Supplements) */
/* ------------------------------------- */
.display-sp-only {
  display: none;
}

@media (max-width: 1024px) {
  .display-sp-only {
    display: block;
  }
}

@media (max-width: 768px) {
  .display-sp-only {
    display: none;
  }
}

.fv-copy-v2 {
  white-space: normal;
  line-height: 1.2;
}

.fv-copy-line {
  font-weight: 700;
  display: block;
}

.fv-copy-line-1 {
  font-size: clamp(0.9rem, 4vw, 1.3rem);
  background: var(--accent-pink);
  color: #fff;
  padding: 4px 16px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 5px;
  letter-spacing: 0.1em;
}

.fv-copy-line-2 {
  font-size: clamp(1rem, 4.5vw, 1.6rem);
  margin-bottom: 8px;
}

.fv-new-title-text {
  display: block;
  font-size: clamp(2.5rem, 5rem, 6.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-top: 15px;
  margin-bottom: 15px;
  white-space: nowrap;
  letter-spacing: -2px;
  font-style: normal;
}

@media (max-width: 1024px) {
  .fv-new-title-text {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .fv-new-title-text {
    font-size: 2.4rem;
    white-space: nowrap;
    margin: 10px 0 5px 0;
    padding: 0;
    letter-spacing: -1px;
  }
}

.fv-copy-img {
  max-width: 450px;
  width: 100%;
  height: auto;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .fv-copy-img {
    margin-left: auto;
    margin-right: auto;
    max-width: 240px;
    margin-top: 5px;
  }
}

.genre-wrapper-v2 {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.marker-ribbon-bg {
  position: absolute;
  top: -15px;
  right: -30px;
  background: #ff4081;
  color: white;
  padding: 20px 30px 5px;
  font-weight: bold;
  font-size: 0.75rem;
  transform: rotate(45deg);
  z-index: 10;
  text-align: center;
  width: 90px;
}

@media (max-width: 768px) {
  .marker-ribbon-bg {
    top: -20px;
    right: -35px;
    padding: 25px 35px 5px;
    font-size: 0.6rem;
  }
}

.marker-img-cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.marker-img-contain {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-bottom: 1px solid #eee;
}

.marker-text-wrap {
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 768px) {
  .marker-item>div:last-child {
    padding: 4px 2px;
  }
}

.marker-check-icon {
  margin-right: 5px;
  font-size: 1.2rem;
}

.marker-template-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  overflow: hidden;
  position: relative;
}

.marker-template-img {
  height: auto;
}

.marker-template-img.img-left {
  width: 38%;
  position: absolute;
  left: 8%;
  transform: rotate(-8deg) translateY(5px);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
  z-index: 1;
}

.marker-template-img.img-right {
  width: 38%;
  position: absolute;
  right: 8%;
  transform: rotate(8deg) translateY(5px);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.15));
  z-index: 2;
}

.marker-template-img.img-center {
  width: 42%;
  position: relative;
  z-index: 3;
  transform: translateY(-5px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
  border: 2px solid white;
}

@media (max-width: 768px) {
  .fv-authority-content {
    display: none;
  }

  .fv-image-area {
    display: none;
  }
}

.authority-heading {
  align-self: flex-start;
  z-index: 10;
  display: block;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 40px 0 0;
  position: relative;
  margin-bottom: 0;
  width: 100%;
  background: none;
}

@media (max-width: 768px) {
  .authority-heading {
    padding: 0;
    margin: 0;
  }

  .authority-heading>div:first-child {
    white-space: nowrap;
  }

  .authority-heading .break-md {
    display: none;
  }
}

.fv-authority-subtext {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  font-weight: 900;
  color: var(--primary-mint);
  background: linear-gradient(transparent 60%, #ffff00 60%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline;
  line-height: 1.5;
  padding: 0;
  border: none;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 1), 0 0 16px rgba(255, 255, 255, 0.8);
}

/* CTA Modal Styles */
.cta-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}

.cta-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.cta-modal-content {
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 0;
  padding: 40px 30px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}

.cta-modal-overlay.is-active .cta-modal-content {
  transform: scale(1) translateY(0);
}

.cta-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}

.cta-modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.cta-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.4;
}

.cta-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cta-modal-buttons .cta-text {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .cta-modal-content {
    padding: 30px 20px;
  }

  .cta-modal-title {
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .fv-authority-content {
    display: none;
  }

  .fv-image-area {
    display: none;
  }
}