@charset "UTF-8";

/*
Theme Name: Nuriyuka Theme
Author: OraiSaori
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;900&display=swap');

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-lighter: #dbeafe;
  --primary-bg: #eff6ff;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-light: #fff7ed;
  --text-dark: #1e293b;
  --text-body: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  line-height: 1.8;
  color: var(--text-body);
  background: var(--white);
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

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

/* ========================================
   Header
======================================== */
.header {
  background: var(--white);
  padding: 0 24px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  height: 78px;
  display: flex;
  align-items: center;
}

.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-character {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary-lighter);
  padding: 4px;
  background: var(--white);
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.logo-text span {
  display: block;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.header-cta {
  background: var(--accent);
  color: var(--white);
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

.header-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

/* ========================================
   Hero
======================================== */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 30%, #3b82f6 100%);
  color: var(--white);
  padding: 130px 24px 35px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text-area {
  display: flex;
  flex-direction: column;
}

.hero h1 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero-cta-area, .hero-cta-area-mobile {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-text-area-container-wrap {
  display: flex;
  flex-direction: column;
}

.hero-cta-area-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
}

.hero-area-info {
  font-size: 18px;
  background: rgba(255,255,255,0.12);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ========================================
   CTA Buttons
======================================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 18px 40px;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 24px rgba(249,115,22,0.35);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249,115,22,0.45);
}

/* ========================================
   CTA Band (between sections)
======================================== */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}

.cta-band-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-band h3 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-band p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 28px;
  font-weight: 500;
}

.cta-band-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-band .cta-button {
  background: var(--accent);
}

/* モバイルのみ：単語途中改行の防止・意図した位置での改行 */
.br-mobile-only {
  display: none;
}

.br-pc-only {
  display: inline;
}

@media (max-width: 768px) {
  .nowrap-mobile {
    white-space: nowrap;
  }

  .br-mobile-only {
    display: inline;
  }

  .br-pc-only {
    display: none;
  }
}

/* ========================================
   Sections Common
======================================== */
.section {
  padding: 60px 24px;
}

.section-alt {
  background: var(--gray-50);
}

.section-blue {
  background: var(--primary-bg);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.section-title .accent {
  color: var(--primary);
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

/* ========================================
   Before/After Gallery
======================================== */
.before-after-gallery {
  padding: 100px 24px;
  background: var(--white);
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.before-after-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
}

.before-after-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.before-after-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
}

.before-after-images {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--gray-100);
}

.before-after-img-pair {
  display: flex;
  width: 100%;
  height: 100%;
}

.before-after-images--split .before-after-img-pair .before-after-image {
  position: relative;
  flex: 1 1 50%;
  width: 50%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

.before-label, .after-label {
  position: absolute;
  top: 12px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.before-label {
  left: 12px;
  background: #ef4444;
}

.after-label {
  right: 12px;
  background: #22c55e;
}

.divider-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: var(--white);
  z-index: 2;
}

.divider-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 3;
  box-shadow: var(--shadow-md);
  color: var(--primary);
  font-weight: 700;
}

.before-after-description {
  padding: 24px;
}

.before-after-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.before-after-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.gallery-cta {
  text-align: center;
  margin-top: 48px;
}

.gallery-cta p {
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 24px;
}

/* ========================================
   Problems Section
======================================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.problem-card .problem-icon {
  width: 48px;
  height: 48px;
  background: #fef2f2;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-card .problem-icon svg {
  width: 24px;
  height: 24px;
  color: #ef4444;
}

.problem-card p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

.solution-message {
  text-align: center;
  font-size: 38px;
  color: var(--primary);
  font-weight: 800;
  padding: 32px 24px;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary-lighter);
}

/* ========================================
   Reasons Section
======================================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.reason-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-light);
}

.reason-card:nth-child(2)::before {
  background: var(--accent);
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.reason-card:nth-child(2) {
  border: 2px solid var(--accent);
  position: relative;
}

.reason-card:nth-child(2) .reason-badge {
  display: block;
}

.reason-badge {
  display: none;
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 35px;
  font-size: 14px;
  font-weight: 700;
  transform: rotate(45deg);
}

.reason-icon-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-card:nth-child(2) .reason-icon-wrap {
  background: var(--accent-light);
}

.reason-icon-wrap svg {
  width: 52px;
  height: 52px;
}

.reason-title {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 800;
}

.reason-text {
  text-align: left;
  line-height: 1.9;
  font-size: 16px;
}

.reason-text p {
  margin-bottom: 4px;
  padding-left: 20px;
  position: relative;
}

.reason-text p::before {
  content: "•";
  color: var(--primary-light);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.highlight-box {
  background: var(--primary-bg);
  padding: 36px;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--primary);
}

.highlight-box p {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.8;
}

/* ========================================
   Service Flow
======================================== */
.flow-container {
  max-width: 900px;
  margin: 0 auto;
}

.flow-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  margin-bottom: 56px;
  position: relative;
}

.flow-step::before {
  content: "";
  position: absolute;
  left: 39px;
  top: 80px;
  bottom: -56px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), var(--primary-lighter));
}

.flow-step:last-child::before {
  display: none;
}

.flow-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(30,64,175,0.3);
  position: relative;
  z-index: 1;
}

.flow-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 28px;
  align-items: center;
  transition: all 0.3s;
}

.flow-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(4px);
}

.flow-title {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 800;
}

.flow-description {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 12px;
}

.flow-note {
  background: var(--primary-bg);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--primary);
  font-weight: 500;
  border-left: 3px solid var(--primary-light);
}

.flow-illust {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-illust svg {
  width: 140px;
  height: 140px;
}

.flow-highlight {
  background: var(--accent-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 48px;
  border: 2px solid #fdba74;
}

.flow-highlight h3 {
  color: var(--accent);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
}

.flow-highlight ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.flow-highlight li {
  padding: 8px 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.flow-highlight li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
}

/* ========================================
   Stats & Testimonials
======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.stat-card {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 58px;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 20px;
  color: var(--text-light);
  font-weight: 600;
}

.testimonials-title {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--primary);
}

.testimonial-grid {
  display: grid;
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: start;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-image {
  width: 160px;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.testimonial-company {
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 20px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
  border-left: 3px solid var(--primary-lighter);
  padding-left: 20px;
  color: var(--text-body);
  font-weight: 500;
}

/* ========================================
   Profile Section
======================================== */
.profile-section {
  padding: 100px 24px;
}

.profile-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.profile-visual {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.profile-content {
  grid-column: 2;
  grid-row: 1;
}

.profile-card > .profile-message {
  grid-column: 1 / -1;
  grid-row: 2;
}

.profile-visual, .profile-content {
  text-align: center;
}

.profile-image {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--primary-lighter);
  margin-bottom: 20px;
}

.profile-name {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 800;
}

.profile-title {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.6;
  font-weight: 500;
}

.profile-career {
  background: var(--gray-50);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-bottom: 0;
}

.profile-career h4 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
}

.profile-career ul {
  list-style: none;
}

.profile-career li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-career li::before {
  content: "▸";
  color: var(--primary-light);
  font-weight: bold;
}

.profile-career li:last-child {
  border-bottom: none;
}

.profile-message {
  background: var(--primary-bg);
  padding: 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 2;
  position: relative;
  border-left: 4px solid var(--primary);
}

.profile-message::before {
  content: "\201C";
  font-size: 56px;
  color: var(--primary-light);
  position: absolute;
  top: 4px;
  left: 12px;
  opacity: 0.3;
  font-family: Georgia, serif;
}

/* ========================================
   FAQ
======================================== */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 24px 28px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  transition: all 0.2s;
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::before {
  content: "Q";
  background: var(--primary);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-question::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 28px 24px 76px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-body);
  display: none;
}

/* ========================================
   Final CTA & Contact Form
======================================== */
.final-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.final-cta h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.final-cta-text {
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.9;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
  text-align: left;
}

.contact-form-title {
  text-align: center;
  margin-bottom: 32px;
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 18px;
}

.form-label .required {
  color: #ef4444;
  font-size: 16px;
  margin-left: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s;
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

.form-textarea {
  height: 120px;
  resize: vertical;
}

.form-group-checkbox {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.form-checkbox-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 600;
  max-width: 100%;
  text-align: left;
}

.form-checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 7px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-checkbox-text {
  flex: 0 1 auto;
  text-align: left;
  max-width: min(22em, calc(100vw - 120px));
  color: var(--text-body);
}

.required {
  color: #ef4444;
  font-size: 18px;
  margin-left: 2px;
}

/* wordpress plugin */
.wpcf7-list-item-label {
  color: var(--text-body);
}

.form-terms-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-terms-link:hover {
  color: var(--primary-light);
}

.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  padding: 18px;
  font-size: 18px;
  font-weight: 800;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(249,115,22,0.3);
  font-family: inherit;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,0.4);
}

/* Contact Form 7（このLPのフォームUIに合わせる） */
.contact-form .wpcf7 form {
  margin: 0;
}

.contact-form .wpcf7 p {
  margin: 0;
}

.contact-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1.6;
}

.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.failed .wpcf7-response-output,
.contact-form .wpcf7 form.aborted .wpcf7-response-output {
  border-color: #ef4444;
  background: #fef2f2;
  color: #991b1b;
}

.contact-form .wpcf7 form.sent .wpcf7-response-output {
  border-color: #10b981;
  background: #ecfdf5;
  color: #065f46;
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 14px;
  color: #ef4444;
}

.contact-form .wpcf7-spinner {
  margin: 12px auto 0;
  display: block;
}

.form-notes {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
}

.form-notes h4 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 20px;
}

.form-notes ul {
  list-style: none;
}

.form-notes li {
  font-size: 17px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.form-notes li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 900;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-info {
  margin-bottom: 24px;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-info p strong {
  font-size: 16px;
  opacity: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 13px;
  opacity: 0.5;
}

/* ========================================
   Floating CTA & Back to Top
======================================== */
.floating-cta {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  transition: all 0.3s;
  border: 2px solid var(--gray-200);
}

.floating-cta,
.back-to-top {
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-cta {
  transform: translateY(12px);
}

.back-to-top {
  transform: translateY(8px);
}

body.is-scrolled .floating-cta,
body.is-scrolled .back-to-top {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta-area, .hero-cta-area-mobile {
    justify-content: center;
  }

  .hero-area-info {
    justify-content: center;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-visual,
  .profile-content,
  .profile-card > .profile-message {
    grid-column: auto;
    grid-row: auto;
  }

  /* モバイル時、プロフィール本文だけはPC同様に左揃えにする */
  .profile-card > .profile-message {
    text-align: left;
  }

  .profile-visual, .profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
    font-size: 16px;
    line-height: 1.75;
  }

  .header {
    height: 64px;
    padding: 0 16px;
  }

  .header-cta {
    display: none;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .floating-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: var(--accent);
    color: var(--white);
    padding: 16px 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transition: background 0.3s;
  }

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

  .back-to-top {
    bottom: 88px;
  }

  .hero {
    padding: 120px 16px 72px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .section {
    padding: 40px 16px;
  }

  .section-title {
    font-size: 28px;
    padding-bottom: 16px;
  }

  .section-subtitle {
    font-size: 17px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .cta-band h3 {
    font-size: 24px;
    line-height: normal;
  }

  .flow-container {
    position: relative;
  }

  /* 左カラム時の縦線（モバイルでも表示） */
  .flow-container::before {
    content: "";
    position: absolute;
    left: calc(50% - 1px);;
    top: 28px;
    bottom: 250px;
    width: 4px;
    background: var(--primary-light);
    pointer-events: none;
  }

  .flow-step {
    --flow-badge: 56px;
    display: block;
    position: relative;
    margin-bottom: 0;
    padding-bottom: 60px;
  }

  .flow-number {
    width: var(--flow-badge);
    height: var(--flow-badge);
    font-size: 24px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  .flow-step::before {
    display: none; /* モバイルでは「各ステップ内の縦線」は使わない */
  }

  .flow-card {
    grid-template-columns: 1fr;
    padding: 32px 16px 24px; /* 左右同じ余白にしてコンテンツ幅を確保 */
    position: relative;
  }

  .flow-illust {
    display: none;
  }

  .flow-title {
    font-size: 22px;
    text-align: center;
  }

  .flow-highlight {
    margin-top: 0;
    padding: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }

  .testimonial-image {
    width: 100%;
    height: 160px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .final-cta {
    padding: 40px 12px;
  }

  .final-cta h2 {
    font-size: 28px;
  }

  .contact-form {
    padding: 32px 20px;
  }

  .profile-card {
    padding: 24px 14px;
    gap: 16px;
  }

  .profile-image {
    width: 180px;
    height: 180px;
  }

  .header-content {
    gap: 8px;
  }

  .logo-text {
    font-size: 11px;
  }

  .logo-text span {
    font-size: 15px;
  }

  .solution-message {
    font-size: 24px;
    padding: 24px 16px;
    line-height: 1.45;
    width: 100%;
  }

  .gallery-cta p {
    font-size: 22px;
  }
}

/* ========================================
   拡張（ヒーロー刷新・吹き出し・お客様の声・プロフィール・CTA）
======================================== */

/* ヘッダーロゴ：顔を丸枠内でクローズアップ（拡大＋クリップ） */
.header .logo-character-wrap {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-lighter);
  background: var(--white);
}

.header .logo-character-wrap .logo-character {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.58);
  transform-origin: 50% 40%;
  border: none;
  padding: 0;
  border-radius: 0;
}

/* --- 2026-03: トップ写真背景＋黒オーバーレイ（hero-top-refresh-visual） --- */
.hero.hero-top-refresh-visual {
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  min-height: min(92vh, 900px);
}

.hero.hero-top-refresh-visual::before,
.hero.hero-top-refresh-visual::after {
  display: none;
}

.hero-top-refresh-visual__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0f172a;
  background-image: url("top.png");
  background-size: cover;
  background-repeat: no-repeat;
  --hero-bg-focus-x: 60%;
  --hero-bg-focus-y: 55%;
  background-position: var(--hero-bg-focus-x) var(--hero-bg-focus-y);
  transform: scale(1.4);
  transform-origin: var(--hero-bg-focus-x) var(--hero-bg-focus-y);
}

.hero-top-refresh-visual__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    155deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(30, 58, 138, 0.52) 38%,
    rgba(30, 64, 175, 0.48) 62%,
    rgba(15, 23, 42, 0.9) 100%
  );
  pointer-events: none;
}

/* 2026-03: 青の光彩（オーバーレイ内・追加レイヤー） */
.hero-top-refresh-visual__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 0% 100%, rgba(59, 130, 246, 0.42), transparent 55%),
    radial-gradient(ellipse 80% 55% at 100% 15%, rgba(96, 165, 250, 0.28), transparent 50%),
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.2), transparent 45%);
  pointer-events: none;
}

/* メインコピー＋CTA を1ブロック化。左〜中央の中間：余白の一部を左マージンに（完全左寄せよりやや中央） */
.hero.hero-top-refresh-visual .hero-top-refresh-visual__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  --hero-top-refresh-content-shift: 0.60;
  margin-left: max(
    0px,
    calc((100% - min(100%, var(--max-width))) * var(--hero-top-refresh-content-shift))
  );
  margin-right: auto;
  box-sizing: border-box;
}

.hero.hero-top-refresh-visual .hero-top-refresh-visual__content .hero-content {
  grid-template-columns: 1fr;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  width: 100%;
}

.hero.hero-top-refresh-visual .hero-text-area {
  margin: 0 auto;
}

/* --- 2026-03: メインキャッチ強調タイポ（hero-top-refresh-catch） --- */
.hero.hero-top-refresh-visual h1.hero-top-refresh-catch {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  padding: 40px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(15, 15, 18, 0.52) 45%,
    rgba(0, 0, 0, 0.48) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.hero-top-refresh-catch__kicker {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 3.8vw + 0.85rem, 1.5rem);
  letter-spacing: 0.14em;
  text-transform: none;
  line-height: 1.65;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-top-refresh-catch__lead {
  display: block;
  font-size: clamp(1.75rem, 3.8vw + 0.85rem, 3.75rem);
  line-height: 1.22;
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 8px 32px rgba(0, 0, 0, 0.55);
}

.hero-top-refresh-catch__accent {
  color: #fcd34d;
  text-shadow:
    0 0 24px rgba(251, 191, 36, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-top-refresh-catch__brand {
  color: #fff;
  background: linear-gradient(180deg, transparent 60%, rgba(249, 115, 22, 0.45) 60%);
  padding: 0 0.06em;
}

@media (max-width: 1024px) {
  .hero.hero-top-refresh-visual .hero-text-area {
    max-width: 36rem;
    text-align: left;
  }

  .hero.hero-top-refresh-visual .hero-cta-area-container {
    max-width: 36rem;
  }

  .hero-top-refresh-catch__kicker {
    letter-spacing: 0.08em;
  }
}

@media (max-width: 768px) {
  .header .logo-character-wrap {
    width: 60px;
    height: 60px;
  }
  
  .hero.hero-top-refresh-visual {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 72px;
  }

  .hero.hero-top-refresh-visual h1.hero-top-refresh-catch {
    margin-bottom: 0;
    padding: 22px 14px;
  }

  .hero-top-refresh-catch__kicker {
    /* 375px幅（SE 2/3）で17px、430px幅（14 Pro Max）で20px。320px基準だと375pxで中間値になってしまうため375px起点にする */
    font-size: clamp(17px, calc(17px + (100vw - 375px) * 3 / 55), 20px);
    letter-spacing: 0.06em;
    line-height: 1.55;
    border-bottom-width: 1px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .hero-top-refresh-catch__lead {
    font-size: clamp(1.9rem, 3.2vw + 0.42rem, 2.25rem);
    line-height: 1.26;
  }

  .hero.hero-top-refresh-visual .hero-top-refresh-visual__content {
    margin-left: auto;
    margin-right: auto;
  }

  .hero.hero-top-refresh-visual .hero-text-area {
    margin: 0;
    text-align: center;
  }

  .hero.hero-top-refresh-visual .hero-cta-area-container {
    max-width: none;
    align-items: center;
  }

  .hero.hero-top-refresh-visual .hero-cta-area-container .hero-cta-area {
    display: none;
  }

  .hero.hero-top-refresh-visual .hero-cta-area-container .hero-cta-area-mobile {
    display: flex;
  }

  .hero.hero-top-refresh-visual .hero-area-info {
    justify-content: center;
    text-align: center;
  }

  .hero.hero-top-refresh-visual .hero-cta-area-mobile {
    justify-content: center;
  }

  .hero-top-refresh-subcatch {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-top-refresh-visual__bg {
    --hero-bg-focus-x: 67%;
    --hero-bg-focus-y: 56%;
    transform: scale(1.0);
  }
}

/* --- hero-top-refresh-subcatch : トップ刷新で追加したサブキャッチ（悩み箇条書き） --- */
.hero-top-refresh-subcatch {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-top-refresh-subcatch__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* 写真ヒーロー時：サブキャッチをメインキャッチと同じ黒ベース半透明ガラスに（2026-03） */
.hero.hero-top-refresh-visual .hero-top-refresh-subcatch__item {
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(15, 15, 18, 0.52) 45%,
    rgba(0, 0, 0, 0.48) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 6px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.hero-top-refresh-subcatch__icon {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero.hero-top-refresh-visual .hero-top-refresh-subcatch__icon {
  background: linear-gradient(145deg, #ea580c 0%, #f97316 55%, #ea580c 100%);
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.4);
}

.hero-top-refresh-subcatch__icon svg {
  width: 14px;
  height: 14px;
}

.hero-top-refresh-subcatch__text {
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .hero-top-refresh-subcatch {
    grid-template-columns: 1fr;
    text-align: left;
    max-width: 520px;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .hero-top-refresh-subcatch__item {
    font-size: 17px;
    padding: 8px;
    gap: 8px;
  }

  .hero-top-refresh-subcatch__icon {
    width: 22px;
    height: 22px;
  }
}

/* --- 2026-03: CTAエリア（ボタン背後の黒帯なし・オレンジボタンのみ際立たせる） --- */
/* メインキャッチ列（.hero-text-area と同じ max-width）に揃え、縦方向のライン（左端）を一致させる */
.hero.hero-top-refresh-visual .hero-cta-area-container {
  padding: 8px 0;
  background: transparent;
  border-radius: 0;
  max-width: 40rem;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
  backdrop-filter: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .hero.hero-top-refresh-visual .hero-cta-area-container {
    align-items: center;
  }

  .hero.hero-top-refresh-visual .hero-cta-area-container .hero-cta-area-mobile {
    width: 100%;
    justify-content: center;
  }
}

/* CTA ボタンのみ hero-text-area 列幅のなかで横中央（エリア文は左揃えのまま） */
.hero.hero-top-refresh-visual .hero-cta-area {
  justify-content: center;
  width: 100%;
}

@media (min-width: 769px) {
  .hero.hero-top-refresh-visual .hero-cta-area-container .hero-cta-area-mobile {
    display: none;
  }
}

.hero.hero-top-refresh-visual .hero-area-info {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: left;
  padding: 14px clamp(18px, 3vw, 28px);
  background: linear-gradient(
    145deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(15, 15, 18, 0.52) 45%,
    rgba(0, 0, 0, 0.48) 100%
  );
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) inset;
}


/* ========================================
   2026-03: 人物イラスト＋吹き出し（voice-bubbles / top_refresh お悩みセクション）
======================================== */
.voice-bubbles {
  margin-bottom: 40px;
}

.voice-bubbles__title {
  text-align: center;
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 36px;
}

.voice-bubbles__row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 24px;
  max-width: 720px;
}

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

.voice-bubbles__row--left {
  margin-right: auto;
  margin-left: 0;
}

.voice-bubbles__row--right {
  margin-left: auto;
  margin-right: 0;
  flex-direction: row;
}

@media (min-width: 769px) {
  .voice-bubbles__row {
    align-items: center;
  }
}

.voice-bubbles__avatar {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.voice-bubbles__avatar svg {
  width: 72px;
  height: 72px;
  display: block;
}

.voice-bubbles__icon-img {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.voice-bubbles__avatar--blue,
.voice-bubbles__avatar--amber,
.voice-bubbles__avatar--green {
  position: relative;
}

.voice-bubbles__avatar--blue .voice-bubbles__icon-img,
.voice-bubbles__avatar--amber .voice-bubbles__icon-img,
.voice-bubbles__avatar--green .voice-bubbles__icon-img {
  width: 60px;
  height: 60px;
  padding: 12px;
  border-radius: 50%;
  box-sizing: content-box;
}

.voice-bubbles__avatar--blue .voice-bubbles__icon-img {
  background: #dbeafe;
}

.voice-bubbles__avatar--amber .voice-bubbles__icon-img {
  background: #fef3c7;
}

.voice-bubbles__avatar--green .voice-bubbles__icon-img {
  background: #dcfce7;
}

.voice-bubbles__label {
  display: block;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light, #64748b);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.voice-bubbles__balloon {
  position: relative;
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
}

.voice-bubbles__balloon p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  letter-spacing: 0.015rem;
}

.voice-bubbles__balloon strong {
  color: var(--accent);
  font-weight: 800;
  font-style: normal;
}

/* しっぽ（左配置：左向き） */
.voice-bubbles__row--left .voice-bubbles__tail {
  position: absolute;
  left: -10px;
  top: 22px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-right: none;
  border-top: none;
  transform: rotate(45deg);
  z-index: -1;
}

/* しっぽ（右配置：右向き） */
.voice-bubbles__row--right .voice-bubbles__tail {
  position: absolute;
  right: -10px;
  top: 22px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-left: none;
  border-bottom: none;
  transform: rotate(45deg);
  z-index: -1;
}

@media (max-width: 768px) {
  /* アイコン上・吹き出し全幅（PCは横並びのまま） */
  .voice-bubbles__row {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* DOMは「吹き出し→アイコン」なので下から積むとアイコンが上に来る */
  .voice-bubbles__row--right {
    flex-direction: column-reverse;
  }

  .voice-bubbles__avatar {
    width: auto;
    align-self: center;
    position: relative;
    z-index: 2;
    padding-bottom: 4px;
  }

  .voice-bubbles__label {
    font-size: 16px;
  }

  .voice-bubbles__avatar svg {
    width: 56px;
    height: 56px;
  }

  .voice-bubbles__avatar--blue .voice-bubbles__icon-img,
  .voice-bubbles__avatar--amber .voice-bubbles__icon-img,
  .voice-bubbles__avatar--green .voice-bubbles__icon-img {
    width: 52px;
    height: 52px;
    padding: 10px;
  }

  .voice-bubbles__balloon {
    width: 100%;
    min-width: 0;
    flex: none;
    padding: 14px 16px;
    box-sizing: border-box;
    margin-top: -14px;
    position: relative;
    z-index: 1;
  }

  /* 横並び用のしっぽは非表示（縦レイアウトでは位置が合わないため） */
  .voice-bubbles__tail {
    display: none;
  }
}

/* 代表プロフィール見出し：モバイルで「を」だけ改行しない（幅調整＋字間。極狭幅は2行で意味単位） */
@media (max-width: 768px) {
  .profile-section.profile-section--top-refresh {
    padding: 40px 12px;
  }

  .profile-section--top-refresh .section-header {
    margin-left: -6px;
    margin-right: -6px;
  }
}

@media (max-width: 768px) and (min-width: 361px) {
  .profile-section--top-refresh .section-header .profile-section-heading {
    letter-spacing: -0.03em;
    text-wrap: balance;
  }
}

@media (max-width: 360px) {
  .profile-section--top-refresh .section-header .profile-section-heading {
    letter-spacing: -0.02em;
    text-wrap: balance;
  }
}

/* 代表プロフィール：全身イラストを丸枠内に収める（top_refresh のみ） */
.profile-section--top-refresh .profile-image {
  object-fit: contain;
  background: #f8fafc;
}

/* お客様の声：フロー（flow-illust）と同系のフラットSVGを枠内に収める */
.section-testimonials-top-refresh .testimonial-image--illust {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
}

.section-testimonials-top-refresh .testimonial-image--illust svg {
  width: 100%;
  height: 100%;
  max-width: 148px;
  max-height: 108px;
}

@media (max-width: 768px) {
  .section-testimonials-top-refresh .testimonial-image--illust svg {
    max-width: 220px;
    max-height: 140px;
  }
}

/* プロフィール：「塗り床は〜」リードを強調（top_refresh） */
.profile-section--top-refresh .profile-message--top-refresh {
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 38%, #e8f0fe 100%);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow:
    0 10px 40px rgba(30, 58, 138, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 28px 26px 28px 32px;
}

@media (max-width: 768px) {
  .profile-section--top-refresh .profile-message--top-refresh {
    padding: 18px 12px;
  }
}

.profile-section--top-refresh .profile-message--top-refresh::before {
  display: none;
}

.profile-section--top-refresh .profile-message__lead {
  font-size: clamp(1.0625rem, 2.2vw, 1.75rem);
  font-weight: 900;
  line-height: 1.55;
  text-align: center;
  color: var(--primary-dark);
  margin: 0 0 1.35rem;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(249, 115, 22, 0.38);
  box-shadow: 0 2px 14px rgba(249, 115, 22, 0.1);
}

.profile-section--top-refresh .profile-message__body {
  margin: 0;
  font-size: 18px;
  line-height: 2;
  color: var(--text-body);
  font-weight: 600;
}

/* 最終CTA：見出し＋リードをガラス風パネルで囲む（top_refresh） */
.final-cta--top-refresh .final-cta-lead {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 40px;
  padding: 32px 36px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.final-cta--top-refresh > .container > h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.final-cta--top-refresh .final-cta-lead .final-cta-text {
  margin-bottom: 0;
  opacity: 1;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.85;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.98);
}

@media (max-width: 768px) {
  .final-cta--top-refresh .final-cta-lead {
    padding: 24px 20px;
    margin-bottom: 32px;
  }
}

/* 選ばれる理由直下：ハイライトボックス強調（top_refresh） */
.highlight-box--top-refresh {
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(160deg, #eff6ff 0%, #ffffff 45%, #fff7ed 100%);
  border: 2px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-xl);
  box-shadow:
    0 14px 44px rgba(30, 58, 138, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(32px, 5vw, 40px) clamp(22px, 4vw, 44px);
}

.highlight-box--top-refresh p {
  font-size: clamp(1.125rem, 2.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.75;
  color: var(--text-dark);
  margin: 0 0 0.5em;
}

.highlight-box--top-refresh p:last-child {
  margin-bottom: 0;
}

.highlight-box--top-refresh p:nth-child(2) {
  font-size: clamp(1.25rem, 3.2vw, 2.25rem);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.02em;
  padding: 0.5em 0.35em;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  border-top: 2px solid rgba(249, 115, 22, 0.35);
  border-bottom: 2px solid rgba(249, 115, 22, 0.35);
}

/* お悩みセクション：解決メッセージ直上の下矢印 */
.solution-message-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.solution-message-arrow {
  margin-bottom: 18px;
  color: var(--primary);
  line-height: 0;
  filter: drop-shadow(0 2px 6px rgba(30, 58, 138, 0.2));
}

.solution-message-arrow svg {
  display: block;
  width: clamp(72px, 16vw, 112px);
  height: auto;
  aspect-ratio: 1;
}

/* ========================================
   Mobile-only polish（狭幅のタイポ・余白・改行）
======================================== */
@media (max-width: 768px) {
  .cta-button {
    font-size: 20px;
    padding: 16px 20px;
    line-height: 1.35;
    max-width: min(100%, calc(100vw - 32px));
    white-space: normal;
    text-align: center;
  }

  .hero-area-info {
    font-size: 17px;
    padding: 12px 14px;
    line-height: 1.55;
  }

  .hero h1 {
    line-height: 1.35;
  }

  .voice-bubbles__title {
    font-size: 24px;
    margin-bottom: 28px;
    line-height: 1.35;
  }

  .voice-bubbles__balloon p {
    /* 375px幅（SE 2/3）で17px、430px幅（14 Pro Max）で20px。320px基準だと375pxで中間値になってしまうため375px起点にする */
    font-size: clamp(17px, calc(17px + (100vw - 375px) * 3 / 55), 20px);
    line-height: 1.65;
  }

  .before-after-title {
    font-size: 18px;
  }

  .before-after-text {
    font-size: 16px;
  }

  .problem-card p {
    font-size: 18px;
    line-height: 1.5;
  }

  .reason-card {
    padding: 24px 16px;
  }

  .reason-title {
    font-size: 24px;
  }

  .reason-text {
    font-size: 18px;
  }


  .reason-text p {
    padding-left: 16px;
  }

  .highlight-box p {
    font-size: 16px;
  }

  .flow-description {
    font-size: 16px;
  }

  .flow-note {
    font-size: 16px;
    line-height: 1.55;
  }

  .flow-highlight h3 {
    font-size: 22px;
    line-height: 1.35;
  }

  .flow-highlight li {
    font-size: 18px;
  }

  .testimonials-title {
    font-size: 22px;
    margin-bottom: 28px;
    line-height: 1.35;
  }

  .stat-number {
    font-size: clamp(2.1rem, 9vw, 2.75rem);
  }

  .stat-label {
    font-size: 16px;
  }

  .testimonial-company {
    font-size: 18px;
    line-height: 1.35;
  }

  .testimonial-text {
    font-size: 17px;
    padding-left: 14px;
  }

  .faq-question {
    font-size: clamp(1rem, 3.4vw, 1.125rem);
    padding: 18px 16px;
    gap: 12px;
  }

  .faq-answer {
    font-size: 16px;
    line-height: 1.8;
    padding: 0 16px 20px;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-title {
    font-size: 16px;
  }

  .profile-career {
    padding: 16px 8px;
    width: 100%;
  }

  .profile-career li {
    font-size: 18px;
  }

  .profile-section--top-refresh .section-title.profile-section-heading {
    font-size: 24px;
    line-height: 1.45;
  }

  .profile-section--top-refresh .profile-message__body {
    font-size: 16px;
    line-height: 1.85;
  }

  .profile-section--top-refresh .profile-message__lead {
    font-size: 20px;
    line-height: 1.5;
    padding: 14px 6px;
  }

  .highlight-box--top-refresh {
    padding: 24px 12px;
  }

  .highlight-box--top-refresh p {
    font-size: 22px;
    line-height: 1.65;
  }

  .highlight-box--top-refresh p:nth-child(2) {
    font-size: 24px;
    padding: 0.45em 0.25em;
  }

  .final-cta-text {
    font-size: 16px;
  }

  .final-cta--top-refresh .final-cta-lead .final-cta-text {
    font-size: 20px;
    line-height: 1.5;
  }

  .contact-form-title {
    font-size: 22px;
    line-height: 1.4;
  }

  .form-label {
    font-size: 18px;
  }

  .form-checkbox-label {
    font-size: 15px;
    line-height: 1.55;
  }

  .form-checkbox-text {
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
  }

  .form-checkbox-text .required {
    font-size: 15px;
  }

  .form-submit {
    font-size: 16px;
    padding: 16px;
  }

  .form-notes li {
    font-size: 15px;
  }

  .cta-band {
    padding: 40px 16px;
  }

  .cta-band p {
    font-size: 16px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    justify-content: center;
    padding: 0 8px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-link {
    display: block;
    text-align: center;
  }

  .logo-text {
    font-size: 12px;
  }

  .logo-text span {
    font-size: 16px;
  }
}
