/* 司法書士 新規開業パック LP */
:root {
  --color-primary: #373f51;
  --color-primary-light: #48546b;
  --color-accent: #58a4b0;
  --color-accent-hover: #4a8c96;
  --color-sub1: #a9bcd0;
  --color-sub2: #d8dbe2;
  --color-bg: #f5f7f9;
  --color-bg-alt: #ffffff;
  --color-text: #1b1b1e;
  --color-text-muted: #555c6e;
  --max-width: 960px;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(55, 63, 81, 0.1);
}

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

/* Utilities */
.u-ib {
  display: inline-block;
  text-decoration: inherit;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--color-primary);
  color: #fff;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-partner-logo {
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  flex-shrink: 0;
}

.header-partner-logo:hover {
  transform: scale(1.1);
}

.header-partner-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header-logo {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .header-left {
    gap: 10px;
  }
  .header-partner-logo {
    width: 38px;
    height: 38px;
    padding: 4px;
  }
  .header-logo {
    font-size: 0.9rem;
  }
}

/* Navigation */
.header-nav {
  margin-left: auto;
  margin-right: 40px;
}

.header-nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.header-nav-list a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}

.header-nav-list a:not(.header-nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.header-nav-list a:not(.header-nav-cta):hover::after {
  width: 100%;
}

.header-nav-list a:hover {
  color: var(--color-accent);
}

.header-nav-cta {
  background: var(--color-accent);
  padding: 8px 20px;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(88, 164, 176, 0.3);
}

.header-nav-cta:hover {
  background: var(--color-accent-hover) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(88, 164, 176, 0.4);
}

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 1100px) {
  .header-nav {
    margin-right: 20px;
  }
  .header-nav-list {
    gap: 20px;
  }
}

@media (max-width: 950px) {
  .hamburger {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--color-primary);
    margin: 0;
    padding: 100px 40px;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  }

  .header-nav.is-active {
    right: 0;
  }

  .header-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .header-nav-list a {
    font-size: 1.1rem;
  }

  /* Hamburger Toggle Animation */
  .hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}



.header-cta {
  background: var(--color-accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--color-accent-hover);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 60px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

.hero-content {
  text-align: left;
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;
  }
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.hero .lead {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.95;
  margin-bottom: 24px;
}

.hero .sub {
  font-size: 0.95rem;
  opacity: 1;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(transparent 55%, rgba(255, 166, 58, 0.85) 55%);
  display: inline;
  padding: 2px 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 769px) {
  .hero-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-badges {
    justify-content: center;
  }
}

.hero-badge {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* 相続特化：サイトのアクセントカラー（ティール） */
.hero-badge--1 {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
}

/* 士業実績多数：サイトのオレンジ */
.hero-badge--2 {
  background: linear-gradient(135deg, #ffa63a 0%, #ffc371 100%);
  color: #3a2a00;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 最短2週間：サイトで使われている赤系グラデーション */
.hero-badge--3 {
  background: linear-gradient(135deg, #ff5f6d 0%, #ffc371 100%);
}

.hero-visual {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

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

/* Section common */
section {
  padding: 56px 0;
}

section:nth-child(even) {
  background: var(--color-bg-alt);
}

.section-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--color-primary);
  text-wrap: balance;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Report CTA */
.report-cta {
  background: var(--color-sub2);
  padding: 80px 0;
  border-bottom: 2px solid var(--color-sub1);
}

.report-cta-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.report-cta-title {
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.report-free-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  padding: 4px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  animation: badge-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes badge-pop {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.report-title-text {
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.report-cta-catch {
  font-size: clamp(1rem, 3vw, 1.1rem);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 32px;
}

.report-diag-block {
  background: #fff;
  border: 3px solid var(--color-accent);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 15px 45px rgba(55, 63, 81, 0.12);
  margin-bottom: 40px;
  position: relative;
}

.slot-machine {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--color-primary);
}

.slot-column {
  height: 50px; /* Match item height */
  overflow: hidden;
  background: var(--color-bg);
  border-radius: 8px;
  padding: 0 15px;
  min-width: 140px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.slot-column::before,
.slot-column::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  z-index: 2;
  pointer-events: none;
}

.slot-column::before {
  top: 0;
  background: linear-gradient(to bottom, var(--color-bg), transparent);
}

.slot-column::after {
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg), transparent);
}

.slot-track {
  display: flex;
  flex-direction: column;
}

.slot-item {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Benefits Styles - Rich Badge Design */
.report-cta-benefits {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 8px 20px rgba(55, 63, 81, 0.08);
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
}

.benefit-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 30px rgba(55, 63, 81, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.benefit-item::before {
  content: "✓";
  width: 24px;
  height: 24px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 0.85rem;
  box-shadow: 0 2px 5px rgba(88, 164, 176, 0.3);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .report-cta-benefits {
    gap: 12px;
    margin: 30px 10px;
  }
  .benefit-item {
    font-size: 0.9rem;
    padding: 10px 20px;
    width: auto;
    flex: 1 1 calc(50% - 20px);
    min-width: 140px;
    justify-content: center;
  }
}

/* Animations - Synchronized 5x5 "Kasha-tto" Snappy Style */
.slot-pref {
  animation: slot-scroll-pref 25s ease-in-out infinite;
}

.slot-city {
  animation: slot-scroll-city 25s linear infinite;
}

@keyframes slot-scroll-city {
  0%, 3.2% { transform: translateY(0); }
  4%, 7.2% { transform: translateY(-50px); }
  8%, 11.2% { transform: translateY(-100px); }
  12%, 15.2% { transform: translateY(-150px); }
  16%, 19.2% { transform: translateY(-200px); }
  20%, 23.2% { transform: translateY(-250px); }
  24%, 27.2% { transform: translateY(-300px); }
  28%, 31.2% { transform: translateY(-350px); }
  32%, 35.2% { transform: translateY(-400px); }
  36%, 39.2% { transform: translateY(-450px); }
  40%, 43.2% { transform: translateY(-500px); }
  44%, 47.2% { transform: translateY(-550px); }
  48%, 51.2% { transform: translateY(-600px); }
  52%, 55.2% { transform: translateY(-650px); }
  56%, 59.2% { transform: translateY(-700px); }
  60%, 63.2% { transform: translateY(-750px); }
  64%, 67.2% { transform: translateY(-800px); }
  68%, 71.2% { transform: translateY(-850px); }
  72%, 75.2% { transform: translateY(-900px); }
  76%, 79.2% { transform: translateY(-950px); }
  80%, 83.2% { transform: translateY(-1000px); }
  84%, 87.2% { transform: translateY(-1050px); }
  88%, 91.2% { transform: translateY(-1100px); }
  92%, 95.2% { transform: translateY(-1150px); }
  96%, 99.2% { transform: translateY(-1200px); }
  /* At 100%, it snaps to the duplicate item then restarts */
  100% { transform: translateY(-1250px); }
}

@keyframes slot-scroll-pref {
  /* Stay static 18% (4.5s), transition 2% (0.5s) */
  0%, 18% { transform: translateY(0); }
  20%, 38% { transform: translateY(-50px); }
  40%, 58% { transform: translateY(-100px); }
  60%, 78% { transform: translateY(-150px); }
  80%, 98% { transform: translateY(-200px); }
  100% { transform: translateY(-250px); }
}

.report-diag-message {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.report-diag-message span {
  color: var(--color-accent);
  font-size: 1.3rem;
  margin-right: 2px;
}

/* Button */
.btn-report {
  display: inline-flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #fff;
  padding: 20px 60px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 0 #3a7a85, 0 10px 25px rgba(88, 164, 176, 0.4);
  transition: all 0.2s;
}

.btn-report:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #3a7a85, 0 5px 15px rgba(88, 164, 176, 0.4);
}

.btn-report .btn-text {
  font-size: clamp(1.1rem, 3.5vw, 1.4rem);
  line-height: 1.2;
}

.btn-report .btn-sub {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .report-cta {
    padding: 60px 0;
  }
  .slot-machine {
    flex-direction: column;
    gap: 15px;
  }
  .slot-column {
    width: 100%;
    min-width: 180px;
  }
}

/* Problems */
.problems {
  background: var(--color-bg-alt);
}

.problems-subtitle {
  font-size: 1.2rem !important;
  margin-bottom: 2rem !important;
}

.problems-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .problems-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.problem-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 50px 30px;
  box-shadow: 0 10px 30px rgba(55, 63, 81, 0.05);
  border: 1px solid rgba(55, 63, 81, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  min-height: 160px;
  overflow: hidden;
}

.problem-card:hover {
  /* ホバーエフェクトなし */
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  opacity: 0.8;
}

.problem-card-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.6;
  margin: 0;
  position: relative;
}

.problem-card-text::after {
  content: "";
  display: none;
}

/* Resolution Area */
.problems-resolution {
  text-align: center;
  margin: 60px 0;
  position: relative;
}

.resolution-text {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 900;
  color: var(--color-primary);
  display: inline-block;
  padding: 0 20px;
  background: var(--color-bg);
  position: relative;
  z-index: 2;
  letter-spacing: 0.1em;
}

.resolution-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-sub1);
  z-index: 1;
}

.resolution-arrow {
  margin: 20px auto 0;
  width: 30px;
  height: 30px;
  border-right: 4px solid var(--color-accent);
  border-bottom: 4px solid var(--color-accent);
  transform: rotate(45deg);
  animation: arrow-bounce 1.5s infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(10px) rotate(45deg); }
}

@media (max-width: 768px) {
  .problems-resolution {
    margin: 40px 0;
  }
}

/* 3 Points */
.points-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .points-three {
    grid-template-columns: 1fr;
  }
}

.point-card {
  background: var(--color-bg-alt);
  padding: 28px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.point-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.point-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.point-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* 実績 */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.area-tag {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
}

/* お客様の声 */
.voices-section {
  background: var(--color-bg-alt);
}

@media (min-width: 769px) {
  .voices-section .container {
    max-width: 1200px;
  }
}

.voices-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 32px;
}

@media (min-width: 769px) {
  .voices-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, auto);
    gap: 28px;
    align-items: stretch;
  }

  .voice-card {
    width: 100%;
    max-width: none;
    margin: 0;
    grid-row: 1 / -1;
    display: grid;
    grid-template-rows: subgrid;
    grid-template-columns: 1fr;
  }

  .voice-card:only-child {
    grid-column: 2;
  }
}

.voice-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.voice-office {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

@media (min-width: 769px) {
  .voice-office {
    min-height: 2.8em;
  }
}

.voice-pref {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  padding: 0.25em 0.75em;
  border-radius: 9999px;
  margin-right: 0.5em;
}

.voice-services {
  margin-bottom: 1rem;
  padding-top: 0;
  padding-bottom: 0.2rem;
}

@media (min-width: 769px) {
  .voice-services {
    min-height: 6em;
    margin-bottom: 0.4rem;
    padding-top: 0;
    padding-bottom: 0.15rem;
  }
}

.voice-services-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.voice-services-list {
  margin: 0;
  padding-left: 1.25em;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.voice-services-list li {
  margin-bottom: 0.2em;
}

.voice-intro {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 769px) {
  .voice-intro {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .voice-intro {
    flex-direction: column;
    gap: 1rem;
  }
}

.voice-photo {
  width: 160px;
  min-width: 160px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
}

@media (min-width: 769px) {
  .voice-photo {
    width: 100%;
    max-width: 200px;
    min-width: 0;
    margin: 0 auto;
  }
}

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

.voice-comment-wrap {
  flex: 1;
  min-width: 0;
}

@media (min-width: 769px) {
  .voice-comment-wrap {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
  }
}

.voice-rep {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.voice-rep-title {
  font-weight: 400;
  margin-right: 0.5em;
}

.voice-rep-name {
  font-weight: 700;
}

.voice-comment {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

.voice-block {
  margin-bottom: 2rem;
}

.voice-block:last-child {
  margin-bottom: 0;
}

@media (min-width: 769px) {
  .voice-block {
    margin-bottom: 0;
  }
}

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

.voice-block-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.voice-block-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: block;
}

.voice-item {
  margin-bottom: 1.25rem;
}

.voice-item:last-child {
  margin-bottom: 0;
}

.voice-item-heading {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.voice-item-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* 課題・成果の本文で <a class="voice-highlight">〜</a> で囲むと赤文字強調 */
.voice-item-text .voice-highlight,
.voice-item-text a.voice-highlight {
  color: #c64040;
  font-weight: 600;
  text-decoration: none;
  cursor: text;
}

.voice-more-wrap {
  text-align: right;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .voice-more-wrap {
    text-align: center;
  }
}

.voice-more-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.voice-more-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* パック内容 */
.pack-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.pack-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  background: var(--color-bg);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* PC: 奇数＝[写真][文章]、偶数＝[文章][写真] */
.pack-item:nth-child(odd) .pack-visual {
  order: -1;
}

.pack-item:nth-child(odd)>div:first-child {
  order: 1;
}

.pack-item:nth-child(even) .pack-visual {
  order: 2;
}

.pack-item:nth-child(even)>div:first-child {
  order: 1;
}

.pack-price-block {
  grid-column: 1 / -1;
  order: 3;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.pack-price-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.pack-price-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .pack-item {
    grid-template-columns: 1fr;
  }

  .pack-item:nth-child(odd) .pack-visual,
  .pack-item:nth-child(even) .pack-visual {
    order: 0;
  }

  .pack-item:nth-child(odd)>div:first-child,
  .pack-item:nth-child(even)>div:first-child {
    order: 0;
  }
}

.pack-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.pack-item h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.pack-item p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.pack-visual {
  aspect-ratio: 16/10;
  background: #e8eaed;
  border-radius: var(--radius);
  overflow: hidden;
}

.pack-features {
  list-style: none;
  margin-top: 12px;
}

.pack-features li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.pack-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* デザイン費0円・実費のみ バッジスタイル */
.pack-feature-badge {
  padding-left: 0 !important;
  margin-bottom: 10px !important;
  list-style: none;
}

.pack-feature-badge::before {
  display: none !important;
}

.badge-zero,
.badge-jitsuhi {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-zero {
  background: linear-gradient(135deg, var(--color-accent), #3db8ca);
  color: #fff;
  box-shadow: 0 4px 12px rgba(88, 164, 176, 0.35);
}

.badge-zero strong {
  font-size: 1.1rem;
  font-weight: 900;
}

.badge-jitsuhi {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: #fff;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* Pamphlet Gallery Refinement */
.pamphlet-section-visual {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 15px;
}

.pamphlet-double-visual {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.pamphlet-gallery {
  flex: 1.3;
  background: #fdfdfd;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: inset 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.pamphlet-promo-visual {
  flex: 0.7;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pamphlet-promo-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.pamphlet-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pamphlet-tab {
  padding: 10px 18px;
  border: 1px solid var(--color-sub1);
  background: #fff;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-text-muted);
  outline: none;
}

.pamphlet-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: #f0f7f8;
}

.pamphlet-tab.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(88, 164, 176, 0.4);
}

.pamphlet-display {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px; /* Fixed height for sizing consistency */
  background: rgba(0,0,0,0.01);
  border-radius: 8px;
  padding: 15px;
}

.pamphlet-state {
  display: none;
  width: 100%;
  height: 100%;
}

.pamphlet-state.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pamphletFadeSlide 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.pamphlet-state img,
.pamphlet-spread img {
  height: 280px; /* PC: Fixed panel height to keep "scale feel" identical */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.04);
}

.pamphlet-spread {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  height: 100%;
}

@keyframes pamphletFadeSlide {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .pamphlet-double-visual {
    flex-direction: column;
  }
  .pamphlet-promo-visual {
    width: 100%;
  }
  .pamphlet-display {
    min-height: 240px;
    padding: 10px;
  }
  .pamphlet-state img,
  .pamphlet-spread img {
    height: 200px; /* Mobile: Scaled down but still uniform */
  }
}



/* サービスカード（WEBサイト制作セクション用） */
.service-card {
  background: var(--color-bg-alt);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.service-number {
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--color-primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.service-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 12px;
}

.service-description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  background: var(--color-bg);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--color-text);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.service-features li:last-child {
  border-bottom: none;
}

.service-screenshots {
  margin-top: 1.5rem;
}

/* Googleビジネスプロフィール 2枚画像グリッド */
.google-bp-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.google-bp-images img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: block;
}

@media (max-width: 640px) {
  .google-bp-images {
    grid-template-columns: 1fr;
  }
}

.screenshot-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.screenshot-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  margin: 1rem 0;
}

.screenshot-carousel {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.screenshot-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.screenshot-slide {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.3;
  transform: translateX(0) scale(0.65);
  z-index: 1;
  left: 50%;
  top: 50%;
  margin-left: -90px;
  margin-top: -160px;
}

.screenshot-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 10;
  margin-left: -90px;
}

.screenshot-slide.prev {
  transform: translateX(-130px) scale(0.72);
  opacity: 0.5;
  z-index: 2;
  margin-left: -90px;
}

.screenshot-slide.next {
  transform: translateX(130px) scale(0.72);
  opacity: 0.5;
  z-index: 2;
  margin-left: -90px;
}

.screenshot-slide.prev-2 {
  transform: translateX(-220px) scale(0.5);
  opacity: 0.25;
  z-index: 1;
  margin-left: -90px;
}

.screenshot-slide.next-2 {
  transform: translateX(220px) scale(0.5);
  opacity: 0.25;
  z-index: 1;
  margin-left: -90px;
}

.screenshot-placeholder.mobile {
  background: var(--color-bg);
  border: 3px solid var(--color-primary);
  border-radius: 10px;
  width: 180px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  object-fit: cover;
}

.screenshot-slide.active .screenshot-placeholder.mobile {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  border-color: var(--color-accent);
}

.screenshot-title {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.screenshot-slide.active .screenshot-title {
  opacity: 1;
  transform: translateY(0);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.carousel-btn:hover {
  background: var(--color-primary-light);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn-prev {
  left: 8px;
}

.carousel-btn-next {
  right: 8px;
}

.screenshot-placeholder.large {
  min-height: 200px;
  background: var(--color-bg);
  border: 2px dashed rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .screenshot-carousel {
    max-width: 100%;
    height: 380px;
  }

  .screenshot-placeholder.mobile {
    width: 150px;
    height: 270px;
    font-size: 0.8rem;
  }

  .screenshot-slide,
  .screenshot-slide.active {
    margin-left: -75px;
    margin-top: -135px;
  }

  .screenshot-slide.prev {
    transform: translateX(-100px) scale(0.7);
    margin-left: -75px;
  }

  .screenshot-slide.next {
    transform: translateX(100px) scale(0.7);
    margin-left: -75px;
  }

  .screenshot-slide.prev-2 {
    transform: translateX(-160px) scale(0.5);
    margin-left: -75px;
  }

  .screenshot-slide.next-2 {
    transform: translateX(160px) scale(0.5);
    margin-left: -75px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }
}

/* チェックシートセクション */
.checklist-section {
  background: var(--color-bg);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.checklist-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.checklist-description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.checklist-visual-wrapper {
  margin-top: 30px;
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.spreadsheet-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spreadsheet {
  width: 100%;
  min-width: 500px; /* 列を減らしたので最小幅を縮小 */
  border-collapse: collapse;
  font-size: 0.85rem;
  color: #333;
  table-layout: fixed;
}

/* ヘッダー周り */
.col-headers th, .row-num {
  background: #f8f9fa;
  border: 1px solid #e1e4e8;
  color: #5f6368;
  font-weight: 400;
  text-align: center;
  padding: 4px 8px;
}

/* 行番号とA列を全デバイスで非表示にする */
.row-num-header,
.row-num,
.col-headers th:nth-child(2),
.spreadsheet td:nth-child(2) {
  display: none;
}

.row-num-header { width: 40px; }
.col-letter { width: 100px; } /* Column A */
.col-letter:nth-child(3) { width: 180px; } /* Column B */
.col-letter:nth-child(4) { width: 200px; } /* Column C */

.row-num {
  font-size: 0.75rem;
  width: 40px;
}

/* セル共通 */
.spreadsheet td {
  border: 1px solid #e1e4e8;
  height: 32px;
  padding: 4px 12px;
  vertical-align: middle;
}

/* 特定のセル・行スタイル */
.cell-main-header {
  background: #9aa0a6; /* 濃い目のグレー */
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.cell-label {
  background: #e8eaed; /* 薄いグレー */
  font-weight: 700;
}

/* タイピング演出用 */
.cell-input.typing {
  position: relative;
  background: #e8f0fe; /* 入力中であることを強調 */
}

.cell-input.typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.2em;
  background-color: var(--color-accent);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.cell-input.is-typed {
  font-weight: 500;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .spreadsheet {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  /* B列とC列の幅を自動調整 */
  .col-letter:nth-child(3) { width: 40%; }
  .col-letter:nth-child(4) { width: 60%; }

  .spreadsheet td {
    padding: 4px 8px;
    font-size: 0.8rem;
  }

  /* スクロールヒントを非表示にする（収まっているため） */
  .spreadsheet-scroll-hint {
    display: none !important;
  }
}

.hint-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23373f51'%3E%3Cpath d='M10 9V5L3 12L10 19V14.9C15 14.9 18.5 16.5 21 20C20 15 17 10 10 9Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.6;
  animation: hint-swipe 2s infinite ease-in-out;
}

@keyframes hint-swipe {
  0% { transform: translateX(5px); opacity: 0; }
  50% { transform: translateX(-5px); opacity: 0.6; }
  100% { transform: translateX(-15px); opacity: 0; }
}

/* スクリーンショット削除に伴う整理 */
.checklist-screenshot { display: none; }

/* 特徴（ミーティングなし等） */
.features-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feature-card {
  background: var(--color-bg-alt);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--color-accent);
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* 追加オプション */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.option-card {
  background: var(--color-bg);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.option-card h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.option-card .option-visual {
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, #e0e5eb 0%, #c5cdd8 100%);
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.option-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.option-card li {
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 6px;
}

.option-card li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* CTA Section (Contact Form) */
.cta-section {
  background: var(--color-sub2);
  padding: 80px 0;
  text-align: center;
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-sub1);
}

.cta-section .section-title {
  margin-bottom: 40px;
}

/* 電話CTA */
.tel-cta {
  max-width: 800px;
  margin: 0 auto 48px;
  background: #fff;
  border: 2px solid var(--color-accent);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(55, 63, 81, 0.08);
}

.tel-cta-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.tel-cta-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.tel-cta-number:hover {
  color: var(--color-accent);
}

.tel-cta-icon {
  font-size: 0.85em;
}

.tel-cta-note {
  display: none;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .tel-cta-note {
    display: block;
  }
}

/* Footer */
.footer {
  background: #1a2d47;
  color: rgba(255, 255, 255, 0.8);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* 料金表セクション */
.pricing-section {
  background: var(--color-bg);
  padding: 80px 0;
}

/* 料金プランセクション - インタラクティブカード */
.pricing-section {
  background: var(--color-bg-alt);
  padding: 80px 0;
}

.pricing-card {
  max-width: 480px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(55, 63, 81, 0.12);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.pricing-card-header {
  background: var(--color-primary);
  color: #fff;
  padding: 35px 30px;
  text-align: center;
  position: relative;
}

.pricing-card--option {
  margin-top: 28px;
}

.pricing-card--option .pricing-card-header {
  padding: 22px 30px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
}

.pricing-option-label {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}


.pricing-initial-badge {
  position: absolute;
  top: 22px;
  right: -42px;
  width: 180px;
  background: linear-gradient(135deg, #ff5f6d 0%, #ffc371 100%);
  color: #fff;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: 0 4px 15px rgba(255, 95, 109, 0.4);
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.02em;
}

.pricing-initial-badge .zero-amount {
  font-size: 1.4rem;
  margin: 0 2px 0 4px;
  line-height: 1;
}

.pricing-initial-badge .currency {
  font-size: 0.85rem;
  line-height: 1;
}

.pricing-monthly-label {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pricing-main-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  color: #ffa63a;
}


.pricing-main-amount .amount {
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.pricing-main-amount .unit {
  font-size: 1.6rem;
  font-weight: 700;
}

.pricing-main-amount .tax-note {
  font-size: 1.3rem;
  opacity: 0.7;
}

.pricing-card-body {
  padding: 30px 40px 20px;
  flex-grow: 1;
}

.pricing-includes-title {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.15rem;
  position: relative;
}


.pricing-includes-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  color: var(--color-text);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.feature-icon {
  width: 26px;
  height: 26px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(88, 164, 176, 0.3);
}

.feature-item.feature-option {
  opacity: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  transform: translateX(-10px);
  pointer-events: none;
}

.feature-item.feature-option.is-active {
  opacity: 1;
  max-height: 60px;
  margin-top: 0;
  transform: translateX(0);
  pointer-events: auto;
}

.pricing-card-footer {
  padding: 0 40px 35px;
}


.pricing-toggle-btn {
  width: 100%;
  background: #fff;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 20px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 0 var(--color-accent);
  position: relative;
  top: 0;
  outline: none;
}

.pricing-toggle-btn:hover {
  background: #f0f8f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--color-accent);
}

.pricing-toggle-btn:active {
  top: 4px;
  box-shadow: 0 0 0 var(--color-accent);
}

.pricing-toggle-btn.is-active {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 0 #3a7a85;
}

.pricing-toggle-btn.is-active:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 8px 0 #3a7a85;
}

@media (max-width: 540px) {
  .pricing-card {
    margin: 40px 0 0;
  }
  .pricing-main-amount .amount {
    font-size: 4.5rem;
  }
  .pricing-card-body {
    padding: 40px 25px 30px;
  }
  .pricing-card-footer {
    padding: 0 25px 40px;
  }
  .pricing-toggle-btn {
    font-size: 0.9rem;
    padding: 18px 15px;
  }
}

/* 簡易料金案内セクション */
.pricing-simple-section {
  background: var(--color-bg);
  padding: 80px 0;
}

.pricing-simple-section .pricing-features strong {
  color: #ff5f6d;
  font-size: 1.2em;
}


/* 他社との比較セクション */
.comparison-section {
  background: var(--color-bg);
  padding: 100px 0;
}

.comparison-table-wrapper {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 40px;
}

.comparison-section .container {
  max-width: 1100px; /* セクションのみ横幅を広げる */
}

.comparison-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: visible;
}

.comparison-table th,
.comparison-table td {
  padding: 28px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  vertical-align: middle;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* 行のホバーエフェクト */
.comparison-table tbody tr:hover td {
  background: rgba(88, 164, 176, 0.02);
}

.comparison-table th {
  background: #fdfdfe;
  color: var(--color-primary);
  font-weight: 700;
  border-bottom: 2px solid rgba(0, 0, 0, 0.02);
}

.comparison-table .category-header {
  border-top-left-radius: 24px;
  width: 20%;
}

.comparison-table th:last-child {
  border-top-right-radius: 24px;
}

/* 弊社列の強調（フローティング効果） */
.comparison-table .our-service-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  width: 32%;
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
  border-bottom: none;
  box-shadow: 0 -10px 25px rgba(55, 63, 81, 0.1);
}

.our-service-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffa63a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 99px;
  box-shadow: 0 4px 15px rgba(255, 166, 58, 0.4);
  white-space: nowrap;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-table .our-service-cell {
  background: rgba(88, 164, 176, 0.03);
  font-weight: 600;
  position: relative;
  z-index: 2;
  border-left: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  box-shadow: 10px 0 30px rgba(55, 63, 81, 0.04), -10px 0 30px rgba(55, 63, 81, 0.04);
}

.comparison-table .category-name {
  background: #f8fafd;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  padding-left: 30px;
  width: 20%;
}

.comparison-table .highlight-text {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.25rem;
}

/* リード文 */
.comparison-lead {
  text-align: center;
  margin-bottom: 60px;
}

.comparison-lead-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.comparison-lead-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* スクロールヒントの刷新 */
.comparison-scroll-hint {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
}

.scroll-arrow {
  width: 40px;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
  animation: scroll-hint-anim 2s infinite;
}

@keyframes scroll-hint-anim {
  0% { transform: translateX(0); opacity: 0; }
  50% { transform: translateX(10px); opacity: 1; }
  100% { transform: translateX(20px); opacity: 0; }
}

.scroll-arrow::after {
  content: "→";
  font-size: 1.2rem;
  font-weight: 900;
}

@media (max-width: 992px) {
  .comparison-section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .comparison-scroll-hint {
    display: flex;
  }
  .comparison-table th, 
  .comparison-table td {
    padding: 24px 14px;
    font-size: 0.9rem;
  }
  .comparison-table .our-service-header {
    font-size: 1.1rem;
  }
  .comparison-table .category-name {
    padding-left: 20px;
  }
}

/* レスポンシブユーティリティ */
.pc { display: block; }
.sp { display: none; }

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

/* 名刺デザイン（オーバーラップ・演出） */
.card-types-grid {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  position: relative;
  min-height: 300px; /* 高さを抑えて枠内に収める */
  padding: 10px;
  width: 100%;
}

.card-type-box {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
}

.card-type-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* 横名刺（ベース） */
.card-type-box.horizontal {
  width: 260px; /* サイズダウン */
  z-index: 1;
  transform: translateX(15px) rotate(-2deg);
}

/* 縦名刺（手前に重なる） */
.card-type-box.vertical {
  width: 140px; /* サイズダウン */
  z-index: 2;
  transform: translateX(-15px) rotate(5deg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

.card-type-box:hover {
  z-index: 3;
  transform: scale(1.08) rotate(0deg) translate(0, -5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 960px) {
  .card-type-box.horizontal {
    width: 220px;
  }
  .card-type-box.vertical {
    width: 120px;
  }
}

@media (max-width: 768px) {
  .card-types-grid {
    min-height: 260px;
    margin-top: 10px;
  }
  .card-type-box.horizontal {
    width: 200px;
    transform: translateX(10px) rotate(-1deg);
  }
  .card-type-box.vertical {
    width: 110px;
    transform: translateX(-10px) rotate(3deg);
  }
}

@media (max-width: 480px) {
  .card-types-grid {
    min-height: 200px;
  }
  .card-type-box.horizontal {
    width: 160px;
  }
  .card-type-box.vertical {
    width: 90px;
  }
}



/* よくある質問セクション */
.faq-section {
  background: var(--color-bg-alt);
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}

.faq-item {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border-left: 4px solid var(--color-accent);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 25px rgba(55, 63, 81, 0.1);
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  position: relative;
  padding-right: 40px;
  transition: margin-bottom 0.3s ease;
}

.faq-question::before {
  content: "Q.";
  margin-right: 12px;
  color: var(--color-accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.faq-question::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), top 0.3s ease;
}

.faq-item.is-open .faq-question {
  margin-bottom: 16px;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(-135deg);
  top: 14px;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  padding-left: 32px;
  position: relative;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 1000px; /* Adjust if needed for very long answers */
  opacity: 1;
  margin-top: 4px;
}

.faq-answer::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* 追従バナー（左下） */
/* 追従バナー（左下）: プレミアム・デザイン刷新版 */
/* 追従バナー（左下）: プレミアム・デザイン刷新版（影なし・改行調整版） */
.floating-banner-left {
  position: fixed;
  bottom: 24px;
  left: 20px;
  width: 380px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  animation: banner-float 4s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* シマー（光の走り）エフェクト */
.floating-banner-left::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(30deg);
  animation: shimmer 6s infinite;
}

.floating-banner-left:hover {
  transform: translateY(-8px) scale(1.03);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
}

.banner-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.banner-icon svg {
  width: 24px;
  height: 24px;
}

.banner-content {
  flex: 1;
}

.banner-badge-premium {
  display: inline-block;
  background: #ffa63a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.banner-text-main {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.banner-text-main .u-highlight {
  white-space: nowrap;
  color: #fff;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.banner-subtext {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 500;
}

.banner-arrow-vibrant {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

.arrow-icon {
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.floating-banner-left:hover .arrow-icon {
  transform: rotate(45deg) translateX(5px);
}

/* Animations - 影なし用に光を調整 */
@keyframes banner-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 150%; }
  100% { left: 150%; }
}

@media (max-width: 768px) {
  .floating-banner-left {
    bottom: 16px;
    left: 10px;
    width: 300px;
    padding: 10px 12px;
    animation: none; /* Disable floating animation */
    border-radius: 12px;
  }
  .banner-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
  }
  .banner-icon svg {
    width: 18px;
    height: 18px;
  }
  .banner-badge-premium {
    font-size: 0.6rem;
    padding: 1px 8px;
  }
  .banner-text-main {
    font-size: 0.75rem;
  }
  .banner-subtext {
    font-size: 0.7rem;
  }
  .banner-arrow-vibrant {
    margin-left: 5px;
  }
}

/* サンプルサイト案内バナー */
.service-sample-cta {
  margin-top: 40px;
  text-align: center;
}

.sample-site-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #3db8ca 100%);
  color: #fff;
  text-decoration: none;
  padding: 20px 48px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 30px rgba(88, 164, 176, 0.45), 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 100%;
  position: relative;
}

/* パルスアニメーション（波紋） */
.sample-site-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #3db8ca 100%);
  opacity: 0.5;
  animation: banner-pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: -1;
}

@keyframes banner-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.07); opacity: 0; }
}

/* 外部リンクアイコン */
.sample-site-banner .sample-site-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.sample-site-banner:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(88, 164, 176, 0.55), 0 4px 12px rgba(0,0,0,0.12);
}

.sample-site-arrow {
  margin-left: 4px;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.sample-site-banner:hover .sample-site-arrow {
  transform: translateX(6px);
}

@media (max-width: 768px) {
  .sample-site-banner {
    padding: 16px 28px;
    font-size: 1rem;
    width: 100%;
    border-radius: 16px;
  }
}

/* =============================================
   Top Visual + Price Section
   ============================================= */
.top-visual-section {
  padding: 40px 20px;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.top-visual-inner {
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.top-price-badge {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.top-price-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.8;
  text-transform: uppercase;
}

.top-price-value {
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffa63a;
  letter-spacing: -0.02em;
}

.top-price-unit {
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0;
}

.top-price-tax {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.7;
  background: rgba(255,255,255,0.15);
  border-radius: 99px;
  padding: 2px 12px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .top-price-badge {
    padding: 18px 20px;
    border-radius: 12px;
    gap: 12px;
  }
}

.top-price-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .top-price-main {
    flex-direction: column;
    gap: 4px;
  }
}

.top-price-features {
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.top-price-feature {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: 0.02em;
}

.top-price-feature::before {
  content: "✓ ";
  color: #6ee7b7;
  font-weight: 800;
  margin-right: 4px;
}

.top-price-highlight {
  color: #ff6b6b;
  font-size: 1.15em;
  font-weight: 800;
  margin-left: 4px;
  text-shadow: 0 0 12px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
  .top-price-feature {
    font-size: 0.85rem;
  }
}