/* ============================================
   CSS Variables
   ============================================ */
:root {
  --bg-main: #FFF7EC;
  --bg-section: #FFEAD7;
  --bg-white: #FFFFFF;
  --text-heading: #28170F;
  --text-body: #513126;
  --text-sub: #9A6B5C;
  --accent-1: #FF7A1A;
  --accent-2: #FF5A70;
  --accent-1-light: rgba(255, 122, 26, 0.12);
  --accent-2-light: rgba(255, 90, 112, 0.13);
  --line-green: #06C755;
  --line-green-dark: #05A647;
  --border: #F0C8B4;
  --shadow-soft: 0 14px 36px rgba(102, 48, 24, 0.12);
  --shadow-card: 0 8px 24px rgba(102, 48, 24, 0.08);

  --font-serif: 'Zen Maru Gothic', 'M PLUS Rounded 1c', sans-serif;
  --font-sans: 'M PLUS Rounded 1c', 'Zen Maru Gothic', sans-serif;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --section-py: 96px;
  --section-py-sm: 64px;
  --container-max: 1080px;
  --container-px: 24px;

  --transition: 0.25s ease;
}

/* ============================================
   Base
   ============================================ */
html {
  background-color: var(--bg-main);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-body);
  background-color: var(--bg-main);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.section--alt {
  background-color: var(--bg-section);
}

main section > svg[style*="position:absolute"] {
  display: none;
}

/* ============================================
   Typography
   ============================================ */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-2);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  color: var(--text-heading);
  text-align: center;
  line-height: 1.5;
  position: relative;
}

.section-title--decorated::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--border);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-lead {
  font-size: 0.9375rem;
  color: var(--text-sub);
  text-align: center;
  margin-top: 16px;
  line-height: 1.8;
}

/* ============================================
   Components - Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.btn-line {
  background: var(--line-green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.28);
}

.btn-line:hover {
  background: var(--line-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35);
}

.btn-line--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-sage {
  background: var(--accent-2);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 90, 112, 0.28);
}

.btn-sage:hover {
  background: #e94660;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   Components - Section Heading Block
   ============================================ */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head--lg {
  margin-bottom: 72px;
}

/* ============================================
   Components - Cards
   ============================================ */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* ============================================
   Components - Leaf Decorations (SVG)
   ============================================ */
.deco-leaves {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}

.section-deco-wrap {
  position: relative;
  overflow: hidden;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 247, 236, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-heading);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 8px 4px 4px;
  border-radius: 18px;
  transition: background var(--transition), transform var(--transition);
}

.site-logo:hover {
  background: rgba(255, 253, 248, 0.72);
  transform: translateY(-1px);
}

.brand-logo {
  letter-spacing: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(180deg, #fffdf8 0%, #ffe5d2 100%);
  border: 1px solid rgba(255, 122, 26, 0.28);
  overflow: hidden;
  filter: drop-shadow(0 8px 16px rgba(255, 122, 26, 0.18));
}

.site-logo.brand-logo .brand-mark img,
.footer-logo.brand-logo .brand-mark img {
  width: 112%;
  height: 112%;
  display: block;
  object-fit: contain;
  transform: translateY(5%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.05;
}

.brand-text-main {
  position: relative;
  width: fit-content;
  font-size: 0.8rem;
  color: var(--accent-2);
  letter-spacing: 0.12em;
}

.brand-text-sub {
  font-size: 1.08rem;
  color: var(--text-heading);
  letter-spacing: 0.02em;
}

.site-logo .brand-text-sub {
  padding-bottom: 3px;
  background-image: radial-gradient(circle, rgba(255, 122, 26, 0.52) 1.2px, transparent 1.4px);
  background-position: left bottom;
  background-size: 8px 3px;
  background-repeat: repeat-x;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--text-body);
  padding: 6px 10px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--accent-1);
  background: var(--accent-1-light);
}

.site-nav a.active {
  color: var(--accent-1);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.footer-logo .brand-mark {
  width: 58px;
  height: 58px;
}

.footer-logo .brand-text-main {
  font-size: 0.86rem;
}

.footer-logo .brand-text-sub {
  font-size: 1.18rem;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--text-sub);
  margin-top: 4px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: var(--text-sub);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-sub);
  text-align: center;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 122, 26, 0.055) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #fffaf2 0%, #fff1df 48%, #ffe3cf 100%);
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  top: 28px;
  right: max(-24px, calc((100vw - 1180px) / 2 - 32px));
  width: min(76vw, 1040px);
  height: clamp(500px, 52vw, 640px);
  min-height: 500px;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.42), rgba(255, 250, 242, 0) 28%),
    url('../assets/images/hero-stamp-burst.png?v=images2') center / cover no-repeat;
  opacity: 0.96;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 16%, #000 31%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 16%, #000 31%, #000 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 247, 236, 0), var(--bg-main));
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  min-height: 560px;
}

.hero-text {
  position: relative;
  z-index: 1;
  padding-left: clamp(24px, 5vw, 72px);
  max-width: 720px;
}

.hero-catch {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.8vw, 2.45rem);
  color: var(--text-heading);
  line-height: 1.6;
  margin-bottom: 12px;
  word-break: keep-all;
  text-shadow:
    0 0 2px rgba(255, 250, 242, 0.98),
    0 2px 0 rgba(255, 250, 242, 0.94),
    2px 0 0 rgba(255, 250, 242, 0.9),
    -2px 0 0 rgba(255, 250, 242, 0.9),
    0 -2px 0 rgba(255, 250, 242, 0.9);
}

.hero-catch strong {
  font-weight: 400;
  display: block;
}

.hero-catch-mobile-break {
  display: none;
}

.hero-mobile-break {
  display: none;
}

.hero-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.875rem, 2vw, 1.0625rem);
  color: var(--text-sub);
  margin-bottom: 40px;
  line-height: 1.8;
  text-shadow:
    0 0 2px rgba(255, 250, 242, 0.96),
    1px 0 0 rgba(255, 250, 242, 0.9),
    -1px 0 0 rgba(255, 250, 242, 0.9),
    0 1px 0 rgba(255, 250, 242, 0.9),
    0 -1px 0 rgba(255, 250, 242, 0.9);
}

.hero-sub::before {
  content: '——';
  margin-right: 4px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-reassurance-list {
  display: grid;
  gap: 8px;
  margin: 0 0 28px;
  color: var(--text-body);
  font-size: 0.82rem;
  line-height: 1.55;
}

.hero-reassurance-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-reassurance-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--line-green);
  box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.12);
  flex: 0 0 auto;
}

.hero-note {
  font-size: 0.8125rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-note::before {
  content: '✦';
  font-size: 0.625rem;
  color: var(--accent-2);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 520px;
}

/* AIアトリエのメインビジュアル */
.atelier-visual {
  position: relative;
  width: min(100%, 390px);
  min-height: 440px;
  display: grid;
  place-items: end center;
  padding: 28px 10px 8px;
}

.atelier-visual::before {
  content: '';
  position: absolute;
  inset: 42px 10px 0;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 235, 216, 0.78)),
    repeating-linear-gradient(0deg, rgba(255, 122, 26, 0.08) 0 1px, transparent 1px 28px);
  border: 1px solid rgba(255, 122, 26, 0.22);
  box-shadow: 0 24px 54px rgba(117, 54, 26, 0.15);
}

.atelier-visual::after {
  content: '♥';
  position: absolute;
  left: 28px;
  bottom: 52px;
  z-index: 3;
  color: var(--accent-2);
  font-size: 1.8rem;
  line-height: 1;
  text-shadow: 240px -12px 0 var(--accent-2);
  transform: rotate(-10deg);
}

.atelier-character {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 220px;
  max-width: 58%;
  z-index: 2;
  filter: drop-shadow(0 16px 22px rgba(117, 54, 26, 0.16));
}

.atelier-panel {
  position: relative;
  z-index: 1;
  width: min(270px, 72%);
  margin-left: auto;
  margin-bottom: 36px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(240, 200, 180, 0.9);
  box-shadow: 0 18px 36px rgba(117, 54, 26, 0.12);
}

.atelier-panel-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.atelier-panel-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
}

.atelier-panel-bar span:nth-child(2) {
  background: var(--accent-1);
}

.atelier-panel-bar span:nth-child(3) {
  background: #ffd05a;
}

.atelier-prompt {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ee;
  color: var(--text-body);
  font-size: 0.72rem;
  line-height: 1.65;
  border: 1px dashed rgba(255, 122, 26, 0.34);
}

.atelier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.atelier-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-1-light);
  color: var(--accent-1);
  font-size: 0.66rem;
  font-weight: 700;
}

.atelier-output {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 14px;
}

.atelier-output-card {
  min-height: 70px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(240, 200, 180, 0.82);
  display: grid;
  place-items: center;
  padding: 7px;
}

.atelier-output-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.atelier-label {
  position: absolute;
  z-index: 3;
  right: 14px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(255, 90, 112, 0.22);
}

.atelier-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

/* ヒーローのデスク相談イラスト */
.hero-desk-visual {
  position: relative;
  width: min(100%, 660px);
  min-height: 520px;
  margin: 0 auto;
  pointer-events: none;
}

.hero-desk-label {
  position: absolute;
  right: 18px;
  top: 48px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(255, 90, 112, 0.22);
}

.hero-desk-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

/* LINE相談ビジュアル */
.line-phone-visual {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
}

.hero-line-visual {
  filter: drop-shadow(0 24px 42px rgba(117, 54, 26, 0.14));
}

.hero-line-label {
  position: absolute;
  right: -16px;
  top: -16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(255, 90, 112, 0.22);
}

.hero-line-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.line-phone,
.mini-line-phone {
  background: #231612;
  border-radius: 34px;
  padding: 12px 9px;
  border: 1px solid rgba(40, 23, 15, 0.14);
  box-shadow: 0 24px 54px rgba(117, 54, 26, 0.16);
}

.line-phone {
  min-height: 540px;
}

.line-phone-speaker {
  width: 68px;
  height: 6px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.line-app {
  overflow: hidden;
  min-height: 506px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.95), rgba(255, 235, 216, 0.95)),
    repeating-linear-gradient(135deg, rgba(255, 122, 26, 0.055) 0 1px, transparent 1px 18px);
}

.line-app-header {
  min-height: 56px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(240, 200, 180, 0.72);
  display: flex;
  align-items: center;
  gap: 10px;
}

.line-app-header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff0df;
  border: 1px solid rgba(255, 122, 26, 0.26);
}

.line-app-header p {
  margin: 0;
  color: var(--text-heading);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.line-app-header span {
  display: block;
  margin-top: 2px;
  color: var(--accent-2);
  font-size: 0.62rem;
  font-weight: 700;
}

.line-app-body {
  padding: 14px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.line-day {
  align-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-sub);
  font-size: 0.62rem;
  font-weight: 700;
}

.line-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.line-row--out {
  justify-content: flex-end;
}

.line-avatar,
.bot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.line-avatar--owner {
  color: #7d3f24;
  background:
    radial-gradient(circle at 50% 34%, #f7cfaa 0 24%, transparent 25%),
    linear-gradient(180deg, #ffffff 0 45%, #ffddbd 46% 100%);
  border: 1px solid rgba(255, 122, 26, 0.26);
}

.bot-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--accent-2);
  background:
    linear-gradient(180deg, #fff 0%, #ffe8ef 100%);
  border: 1px solid rgba(255, 90, 112, 0.26);
  overflow: visible;
  margin-top: 0;
}

.bot-avatar--image {
  background: #fff;
  border-color: rgba(255, 90, 112, 0.18);
}

.bot-avatar--image img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(117, 54, 26, 0.1));
}

.line-bubble {
  max-width: 236px;
  padding: 10px 12px;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  border: 1px solid rgba(240, 200, 180, 0.65);
  color: var(--text-body);
  font-size: 0.74rem;
  line-height: 1.65;
  box-shadow: 0 6px 14px rgba(117, 54, 26, 0.06);
}

.line-row--out .line-bubble {
  color: #fff;
  background: var(--line-green);
  border-color: rgba(6, 199, 85, 0.32);
  border-radius: 16px 16px 4px 16px;
}

.line-bubble--bot {
  background: #fff7fb;
  border-color: rgba(255, 90, 112, 0.22);
}

.tomoko-stamp {
  position: relative;
  width: 118px;
  min-height: 128px;
  padding: 5px 8px 10px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(240, 200, 180, 0.82);
  display: grid;
  justify-items: center;
  box-shadow: 0 10px 22px rgba(117, 54, 26, 0.09);
}

.tomoko-stamp--tilt {
  transform: rotate(-4deg);
}

.tomoko-stamp--small {
  width: 104px;
  min-height: 112px;
}

.tomoko-stamp--line {
  width: 154px;
  min-height: 154px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  transform: rotate(-3deg);
}

.tomoko-stamp img {
  width: 86px;
  height: 82px;
  object-fit: contain;
  align-self: end;
}

.tomoko-stamp--line img {
  width: 154px;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(117, 54, 26, 0.12));
}

.tomoko-stamp span {
  display: inline-block;
  margin-top: -4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.tomoko-stamp--line span {
  display: none;
  margin-top: -8px;
  padding: 5px 10px;
  background: var(--accent-2);
  font-size: 0.76rem;
  box-shadow: 0 7px 14px rgba(255, 90, 112, 0.18);
}

.stamp-proposal {
  margin-left: 42px;
  padding: 11px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(240, 200, 180, 0.62);
}

.stamp-proposal-head {
  margin-bottom: 9px;
  color: var(--accent-1);
  font-size: 0.66rem;
  font-weight: 800;
}

.stamp-proposal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.owner-stamp {
  min-height: 112px;
  padding: 8px 8px 9px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(240, 200, 180, 0.78);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  box-shadow: 0 8px 16px rgba(117, 54, 26, 0.06);
}

.owner-stamp-illust {
  width: 62px;
  height: 66px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 6px 8px rgba(117, 54, 26, 0.1));
}

.owner-stamp strong {
  color: var(--text-heading);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.pain-chat-demo {
  max-width: 480px;
  margin: 30px auto 0;
}

.consult-safe-panel {
  max-width: 860px;
  margin: 34px auto 0;
  padding: clamp(22px, 4vw, 32px);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,247,236,0.76));
  border: 1px dashed rgba(197, 107, 74, 0.32);
  box-shadow: 0 16px 34px rgba(117, 54, 26, 0.07);
}

.consult-safe-kicker {
  margin-bottom: 18px;
  color: var(--text-heading);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.4vw, 1.34rem);
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.consult-safe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.consult-safe-item {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(240, 200, 180, 0.7);
}

.consult-safe-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-1);
  font-size: 0.9rem;
}

.consult-safe-item span {
  display: block;
  color: var(--text-sub);
  font-size: 0.78rem;
  line-height: 1.75;
}

.mini-line-phone {
  max-width: 390px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 26px;
  border: 1px solid rgba(240, 200, 180, 0.92);
}

.mini-line-phone--pain {
  max-width: 420px;
}

.line-row--stamp {
  align-items: flex-start;
  margin-top: 6px;
}

.line-reply-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff0df;
  border: 1px solid rgba(255, 122, 26, 0.24);
  flex: 0 0 auto;
}

.mini-line-phone .line-app-body {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.95), rgba(255, 235, 216, 0.95)),
    repeating-linear-gradient(135deg, rgba(255, 122, 26, 0.055) 0 1px, transparent 1px 18px);
}

.mini-line-phone--wide {
  max-width: 560px;
  margin-top: 24px;
}

.line-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(240, 200, 180, 0.72);
}

.line-flow-steps span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: var(--accent-1-light);
  color: var(--accent-1);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.flow-line-story {
  margin-top: 28px;
}

/* iPhoneモックアップ */
.phone-mockup {
  position: relative;
  width: 240px;
  flex-shrink: 0;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--accent-2-light);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  background: #1C1C1E;
  border-radius: 36px;
  padding: 12px 8px;
  box-shadow:
    0 24px 48px rgba(0,0,0,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  width: 240px;
}

.phone-frame::before {
  content: '';
  display: block;
  width: 60px;
  height: 6px;
  background: #2C2C2E;
  border-radius: 3px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: #F2F2F7;
  border-radius: 28px;
  overflow: hidden;
  min-height: 400px;
}

/* LINEトーク画面 */
.line-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.line-chat-header {
  background: #fff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #E5E5EA;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-2-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.chat-name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #1C1C1E;
}

.line-chat-body {
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.chat-msg {
  display: flex;
  gap: 6px;
  align-items: flex-end;
}

.chat-msg--out {
  flex-direction: row-reverse;
}

.chat-bubble {
  max-width: 80%;
  background: #fff;
  border-radius: 12px 12px 12px 2px;
  padding: 7px 10px;
  font-size: 0.6rem;
  color: #1C1C1E;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

.chat-msg--out .chat-bubble {
  background: #06C755;
  color: #fff;
  border-radius: 12px 12px 2px 12px;
}

.chat-stamp {
  background: transparent;
  padding: 4px;
  box-shadow: none;
}

.stamp-img {
  width: 104px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 7px 7px 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(74, 58, 40, 0.08);
}

.stamp-img img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 0;
}

.stamp-box img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
}

.stamp-img span {
  font-family: var(--font-serif);
  font-size: 0.56rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-heading);
  text-align: center;
}

.chat-time {
  font-size: 0.5rem;
  color: #8E8E93;
  flex-shrink: 0;
  margin-bottom: 2px;
}

/* ヒーロー背景デコレーション */
.hero-deco-tl,
.hero-deco-br {
  display: none;
}

.hero-deco-tl {
  top: 0;
  left: 0;
  opacity: 0.6;
}

.hero-deco-br {
  bottom: 0;
  right: 0;
  opacity: 0.5;
}

/* ============================================
   Pain Points Section
   ============================================ */
.pain {
  padding: var(--section-py) 0;
  background: var(--bg-section);
  position: relative;
}

.pain-list {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

.pain-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-check svg {
  width: 12px;
  height: 12px;
  color: var(--accent-1);
}

.pain-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

.pain-invite {
  text-align: center;
  max-width: 560px;
  margin: 36px auto 0;
  padding: 0;
}

.pain-invite p {
  position: relative;
  display: inline-block;
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 2;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}

.pain-invite::before {
  content: '';
  display: block;
  width: 42px;
  height: 1px;
  margin: 0 auto 16px;
  background: rgba(197, 107, 74, 0.45);
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits {
  padding: var(--section-py) 0;
  position: relative;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 80px 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 40px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-1);
  opacity: 0.4;
  border-radius: 0 2px 2px 0;
}

.benefit-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 3rem;
  color: var(--accent-1);
  opacity: 0.5;
  line-height: 1;
  text-align: center;
}

.benefit-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.benefit-col--after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  align-items: center;
  gap: 18px;
}

.benefit-after-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.benefit-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sub);
  background: var(--bg-main);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  width: fit-content;
}

.benefit-label--after {
  color: var(--accent-2);
  border-color: var(--accent-2);
  background: var(--accent-2-light);
}

.benefit-col-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.65;
}

.benefit-stamp-visual {
  width: 164px;
  margin-top: 0;
  display: grid;
  justify-items: center;
  transform: rotate(-2deg);
}

.benefit-stamp-visual img {
  width: 164px;
  height: 164px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(117, 54, 26, 0.12));
}

.benefit-stamp-visual span {
  display: none;
  margin-top: -12px;
  padding: 5px 10px 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(240, 200, 180, 0.86);
  color: var(--text-heading);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.28;
  text-align: center;
  box-shadow: 0 8px 18px rgba(117, 54, 26, 0.08);
}

.benefit-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  opacity: 0.6;
  flex-shrink: 0;
}

.benefit-desc {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--border);
  padding-top: 16px;
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.benefit-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 12px;
}

/* ============================================
   Reasons Section
   ============================================ */
.reasons {
  padding: var(--section-py) 0;
  background:
    linear-gradient(180deg, rgba(255, 247, 236, 0.72), rgba(255, 247, 236, 0.38)),
    var(--bg-section);
  position: relative;
}

.reasons > svg,
.cta-final > svg {
  display: none;
}

.reasons::before,
.cta-final::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: min(720px, 72vw);
  height: 38px;
  border-bottom: 1px solid rgba(255, 122, 26, 0.28);
  border-radius: 0 0 50% 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.section-head--reasons .section-label {
  color: var(--accent-2);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head--reasons .section-title span {
  color: var(--accent-1);
  font-size: 1.2em;
  font-weight: 300;
}

.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reason-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 36px;
  padding: 42px 0;
  border-bottom: 1px dashed var(--border);
  position: relative;
}

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

.reason-visual {
  position: relative;
  width: 150px;
  min-height: 150px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.reason-visual::before {
  content: '';
  position: absolute;
  inset: 18px 12px 10px 16px;
  border-radius: 999px;
  background: rgba(255, 234, 215, 0.75);
  filter: blur(2px);
}

.reason-visual img {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(86, 45, 25, 0.12));
}

.reason-visual span {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 122, 26, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-1);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(255, 122, 26, 0.12);
}

.reason-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reason-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-heading);
  position: relative;
  padding-bottom: 10px;
}

.reason-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 1.5px;
  background: var(--accent-2);
  border-radius: 2px;
}

.reason-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 560px;
}

/* ============================================
   Pricing Overview Section
   ============================================ */
.pricing-overview {
  padding: var(--section-py) 0;
  position: relative;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

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

.pricing-card--popular {
  border-color: var(--accent-2);
  background: #F8FAF5;
}

.popular-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 15px 4px 6px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(255, 90, 112, 0.24);
}

.popular-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff7ee;
  border: 2px solid #fff;
  box-shadow: 0 4px 9px rgba(117, 54, 26, 0.14);
}

.pricing-card-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-heading);
}

.pricing-card-count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-card-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 3rem;
  color: var(--accent-1);
  line-height: 1;
}

.pricing-card-unit {
  font-size: 0.875rem;
  color: var(--text-sub);
}

.pricing-card-price {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-heading);
}

.pricing-card-price span {
  font-size: 0.8125rem;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-sub);
}

.pricing-card-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card-details li {
  font-size: 0.8125rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.pricing-card-details li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-2-light);
  border: 1px solid var(--accent-2);
  flex-shrink: 0;
}

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

/* ============================================
   Scenes Overview Section
   ============================================ */
.scenes-overview {
  padding: var(--section-py) 0;
  background: var(--bg-section);
  position: relative;
}

.scenes-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.scene-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.scene-card-img {
  height: 242px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 122, 26, 0.07) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #fff9f0 0%, #ffe7d3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2px 10px;
}

.scene-card-img img {
  width: 98%;
  height: 98%;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(117, 54, 26, 0.12));
}

.scene-card-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-card-circle--1 {
  background: var(--accent-1-light);
}

.scene-card-circle--2 {
  background: var(--accent-2-light);
}

.scene-card-circle--3 {
  background: rgba(255, 208, 90, 0.18);
}

.scene-card-body {
  padding: 20px 24px;
}

.scene-card-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 0.8125rem;
  color: var(--accent-1);
  opacity: 0.7;
  margin-bottom: 4px;
}

.scene-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.scene-card-text {
  font-size: 0.8125rem;
  color: var(--text-sub);
  line-height: 1.7;
}

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

/* ============================================
   Works / Case Studies Page
   ============================================ */
.works-hero-stamps {
  position: relative;
  width: min(100%, 410px);
  min-height: 300px;
  margin: 0 auto;
}

.page-hero--works .page-hero-visual {
  display: block;
  width: min(100%, 430px);
  justify-self: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.page-hero--works .page-hero-visual::before {
  content: none;
}

.works-hero-stamps::before {
  content: '';
  position: absolute;
  inset: 34px 26px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 122, 26, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 232, 213, 0.7));
  border: 1px solid rgba(240, 200, 180, 0.78);
  box-shadow: 0 24px 52px rgba(117, 54, 26, 0.12);
}

.page-hero--works .works-hero-stamps img {
  position: absolute;
  width: 158px;
  height: 158px;
  aspect-ratio: auto;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(117, 54, 26, 0.14));
}

.page-hero--works .works-hero-stamps img:nth-child(1) {
  left: 18px;
  top: 78px;
  transform: rotate(-8deg);
}

.page-hero--works .works-hero-stamps img:nth-child(2) {
  left: 126px;
  top: 24px;
  z-index: 2;
}

.page-hero--works .works-hero-stamps img:nth-child(3) {
  right: 18px;
  top: 104px;
  transform: rotate(7deg);
}

.case-showcase {
  padding: var(--section-py) 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 122, 26, 0.045) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #fffaf2 0%, var(--bg-main) 100%);
}

.case-set {
  position: relative;
  scroll-margin-top: 112px;
  margin-top: 54px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(240, 200, 180, 0.82);
  box-shadow: 0 18px 42px rgba(117, 54, 26, 0.08);
  overflow: hidden;
}

.case-set::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--accent-1);
  opacity: 0.54;
}

.case-set--hair::before {
  background: #2e9bc3;
}

.case-set--teacher::before {
  background: #8cb84b;
}

.case-set--personal::before {
  background: #ff9f5d;
}

.case-set-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.case-kicker {
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.case-title {
  font-family: var(--font-serif);
  color: var(--text-heading);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.45;
}

.case-lead {
  max-width: 640px;
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-top: 12px;
}

.page-hero--works .page-hero-lead,
.case-showcase .section-lead,
.case-lead {
  overflow-wrap: anywhere;
}

.case-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-1-light);
  color: var(--accent-1);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.case-stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.case-stamp-card {
  position: relative;
  min-width: 0;
  min-height: 236px;
  padding: 18px 14px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 122, 26, 0.08), transparent 22%),
    #fff;
  border: 1px solid rgba(240, 200, 180, 0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.case-stamp-card::before {
  content: none;
}

.case-stamp-card--long::before {
  font-size: clamp(1.04rem, 1.45vw, 1.26rem);
  line-height: 1.08;
}

.case-stamp-card:hover {
  transform: translateY(-3px) rotate(-0.6deg);
  box-shadow: 0 16px 34px rgba(117, 54, 26, 0.12);
}

.case-stamp-card img {
  width: min(100%, 210px);
  height: 194px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(117, 54, 26, 0.08));
}

.case-stamp-card span {
  display: none;
}

.case-note {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px dashed rgba(255, 122, 26, 0.34);
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.9;
  text-align: center;
}

.case-set--details {
  padding: 0;
}

.case-set-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  cursor: pointer;
  list-style: none;
}

.case-set-summary::-webkit-details-marker {
  display: none;
}

.case-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-1);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(255, 122, 26, 0.2);
  transition: transform var(--transition);
}

.case-set--details[open] .case-toggle {
  transform: rotate(45deg);
}

.case-set-body {
  padding: 0 clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px);
}

.case-personal-note {
  margin: 0 0 24px;
  max-width: 760px;
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.9;
}

/* ============================================
   Final CTA Section
   ============================================ */
.cta-final {
  padding: clamp(68px, 8vw, 104px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 122, 26, 0.08), transparent 26%),
    radial-gradient(circle at 82% 26%, rgba(255, 90, 112, 0.08), transparent 24%);
}

.cta-final-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--text-heading);
  line-height: 1.5;
  margin-bottom: 22px;
}

.cta-final-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.line-harness-panel {
  max-width: 880px;
  margin: 0 auto 30px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(255,250,244,0.82));
  border: 1px solid rgba(240, 200, 180, 0.76);
  box-shadow: 0 18px 42px rgba(117, 54, 26, 0.08);
}

.line-harness-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.6;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.line-harness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.line-harness-card {
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(240, 200, 180, 0.72);
  text-align: left;
}

.line-harness-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-heading);
  font-size: 0.92rem;
}

.line-harness-card span {
  display: block;
  color: var(--text-sub);
  font-size: 0.78rem;
  line-height: 1.75;
}

.line-harness-template {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px dashed rgba(197, 107, 74, 0.26);
}

.line-harness-template span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 234, 215, 0.78);
  color: var(--text-sub);
  font-size: 0.75rem;
  line-height: 1.4;
}

.line-harness-reassurance {
  max-width: 720px;
  margin: -16px auto 26px;
  color: var(--text-sub);
  font-size: 0.86rem;
  line-height: 1.8;
}

.cta-final-note {
  font-size: 0.8125rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-final-note::before {
  content: '✦';
  font-size: 0.625rem;
  color: var(--accent-2);
}

/* ============================================
   Subpage Hero
   ============================================ */
.page-hero.page-hero--split {
  --page-hero-image: url('../assets/images/hero-ai-desk-beret.png');
  --page-hero-position: calc(50% + clamp(145px, 13vw, 260px)) center;
  --page-hero-size: auto clamp(500px, 40vw, 660px);
  --page-hero-overlay:
    linear-gradient(90deg, rgba(255, 247, 236, 0.99) 0%, rgba(255, 247, 236, 0.97) 42%, rgba(255, 247, 236, 0.74) 63%, rgba(255, 247, 236, 0.28) 100%);
  padding: 78px 0 82px;
  min-height: 410px;
  text-align: left;
  background: var(--bg-section) !important;
  border-bottom: 1px solid rgba(240, 200, 180, 0.72);
  overflow: hidden;
  isolation: isolate;
}

.page-hero.page-hero--split::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--page-hero-overlay), var(--page-hero-image);
  background-size: cover, var(--page-hero-size);
  background-position: center, var(--page-hero-position);
  background-repeat: no-repeat;
}

.page-hero.page-hero--split::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(135deg, rgba(255, 122, 26, 0.035) 0 1px, transparent 1px 20px),
    radial-gradient(circle at 16% 28%, rgba(255, 122, 26, 0.08), transparent 28%),
    radial-gradient(circle at 72% 70%, rgba(157, 166, 139, 0.1), transparent 32%);
  pointer-events: none;
}

.page-hero.page-hero--pricing {
  --page-hero-image: url('../assets/images/page-pricing-lineharness.png');
}

.page-hero.page-hero--flow {
  --page-hero-image: url('../assets/images/page-flow-lineharness.png');
}

.page-hero.page-hero--scenes {
  --page-hero-image: url('../assets/images/page-scenes-lineharness.png');
}

.page-hero.page-hero--faq {
  --page-hero-image: url('../assets/images/page-faq-lineharness.png');
}

.page-hero.page-hero--about {
  --page-hero-image: url('../assets/images/page-about-lineharness.png');
}

/* worksも他の下層ページと同じ共通指定を使う（画像の差し替えのみ）。
   位置・サイズの特注指定は画面幅で見え方がズレる原因だったため廃止（2026-06-11） */
.page-hero.page-hero--works {
  --page-hero-image: url('../assets/images/page-works-stamp-burst.png');
}

.page-hero--split .page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  min-height: 250px;
}

.page-hero--split .page-hero-copy {
  max-width: 600px;
}

.page-hero--split .page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--accent-1);
  margin-bottom: 18px;
}

.page-hero--split .page-hero-label::before {
  content: '';
  width: 42px;
  height: 1px;
  background: rgba(255, 122, 26, 0.48);
}

.page-hero--split .page-hero-title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.65rem);
  line-height: 1.45;
  color: var(--text-heading);
  text-align: left;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 30px rgba(255, 247, 236, 0.78);
}

.page-hero--split .page-hero-title::after {
  content: none;
}

.page-hero--split .page-hero-lead {
  margin: 24px 0 0;
  max-width: 620px;
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.9;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
}

.page-hero--split .page-hero-note {
  margin-top: 16px;
  color: var(--text-sub);
  font-size: 0.82rem;
  line-height: 1.7;
}

.page-hero-visual {
  display: none;
}

.page-hero--works .page-hero-visual {
  display: block;
}

.profile-photo-frame--illustration {
  width: 190px;
  height: 190px;
  border-radius: 28px;
  background: #fffdf8;
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.profile-photo-frame--illustration img {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: contain;
}

/* ============================================
   SVG Decorations
   ============================================ */
.deco-wrap {
  position: relative;
}

.deco-corner {
  position: absolute;
  pointer-events: none;
}

.deco-corner--tl { top: 16px; left: 16px; }
.deco-corner--tr { top: 16px; right: 16px; transform: scaleX(-1); }
.deco-corner--bl { bottom: 16px; left: 16px; transform: scaleY(-1); }
.deco-corner--br { bottom: 16px; right: 16px; transform: scale(-1); }

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease both;
}

.fade-in--delay-1 { animation-delay: 0.1s; }
.fade-in--delay-2 { animation-delay: 0.2s; }
.fade-in--delay-3 { animation-delay: 0.3s; }

/* ============================================
   Responsive - Tablet (≤1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 72px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    min-height: auto;
  }

  .hero-text {
    padding-left: 0;
    max-width: 720px;
    margin: 0 auto;
  }

  .hero-visual {
    order: -1;
    max-width: 720px;
    margin: 0 auto;
    min-height: 390px;
  }

  .hero-cta {
    align-items: center;
  }

  .benefit-item {
    grid-template-columns: 60px 1fr auto 1fr;
    padding: 28px;
    gap: 16px;
  }

  .pricing-cards,
  .scenes-cards {
    gap: 16px;
  }
}

/* ============================================
   Responsive - Mobile (≤768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --container-px: 20px;
  }

  body {
    overflow-x: hidden;
  }

  .hero-catch,
  .hero-sub,
  .section-title,
  .section-lead,
  .pain-text,
  .benefit-title,
  .benefit-copy p,
  .benefit-col,
  .benefit-col-text,
  .reason-title,
  .reason-text {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  /* Header */
  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255, 247, 236, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 20px var(--container-px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .site-logo {
    gap: 9px;
    padding: 2px 4px 2px 2px;
  }

  .site-logo .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .brand-text-main {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .brand-text-sub {
    font-size: 0.9rem;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 48px 0 64px;
    background:
      repeating-linear-gradient(135deg, rgba(255, 122, 26, 0.06) 0 1px, transparent 1px 18px),
      linear-gradient(180deg, #fffaf2 0%, #fff0df 54%, var(--bg-main) 100%);
  }

  .hero::before {
    top: 12px;
    left: 50%;
    right: auto;
    width: 116vw;
    height: 330px;
    min-height: 0;
    transform: translateX(-50%);
    opacity: 0.9;
    background-position: 58% top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .hero-text {
    padding-left: 0;
    max-width: 350px;
    margin: 0 auto;
    min-width: 0;
  }

  .hero-catch {
    font-size: clamp(1.62rem, 6.8vw, 1.95rem);
    line-height: 1.58;
    letter-spacing: 0;
  }

  .hero-catch-mobile-break {
    display: inline;
  }

  .hero-mobile-break {
    display: inline;
  }

  .pain-invite {
    margin-top: 30px;
    padding: 0 12px;
  }

  .pain-invite p {
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .hero-sub,
  .hero-desc {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
    min-height: 270px;
  }

  .hero-desk-visual {
    width: min(100%, 420px);
    min-height: 270px;
  }

  .hero-desk-label {
    right: 18px;
    top: 16px;
    padding: 8px 12px;
    font-size: 0.66rem;
  }

  .atelier-visual {
    min-height: 360px;
    width: min(100%, 330px);
  }

  .atelier-character {
    width: 180px;
  }

  .atelier-panel {
    width: 220px;
    margin-bottom: 28px;
    padding: 14px;
  }

  .atelier-label {
    right: 8px;
    top: 10px;
  }

  .line-phone-visual {
    width: min(100%, 340px);
  }

  .hero-line-label {
    right: 8px;
    top: -14px;
  }

  .line-phone {
    min-height: auto;
  }

  .line-app {
    min-height: 480px;
  }

  .line-bubble {
    max-width: 220px;
  }

  .stamp-proposal {
    margin-left: 0;
  }

  .pain-chat-demo {
    margin-top: 32px;
  }

  .line-flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-mockup {
    width: 180px;
  }

  .phone-frame {
    width: 180px;
  }

  .phone-mockup::before {
    width: 220px;
    height: 220px;
  }

  .phone-screen {
    min-height: 300px;
  }

  .stamp-img {
    width: 86px;
    min-height: 94px;
    padding: 6px;
  }

  .stamp-img img {
    width: 58px;
    height: 58px;
  }

  .stamp-img span {
    font-size: 0.48rem;
  }

  .hero-cta {
    align-items: center;
  }

  /* Subpage Hero */
  .page-hero.page-hero--split {
    --page-hero-overlay:
      linear-gradient(180deg, rgba(255, 247, 236, 0.99) 0%, rgba(255, 247, 236, 0.96) 50%, rgba(255, 247, 236, 0.82) 100%);
    --page-hero-position: center 108%;
    --page-hero-size: auto 390px;
    padding: 44px 0 48px;
    min-height: 390px;
    text-align: center;
  }

  .page-hero.page-hero--works {
    --page-hero-position: center 108%;
    --page-hero-size: auto 390px;
  }

  .page-hero--split .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 290px;
  }

  .page-hero--split .page-hero-copy {
    max-width: none;
  }

  .page-hero--split .page-hero-label {
    justify-content: center;
    margin-bottom: 14px;
  }

  .page-hero--split .page-hero-label::before {
    width: 30px;
  }

  .page-hero--split .page-hero-title,
  .page-hero--split .page-hero-lead {
    text-align: center;
  }

  .page-hero--split .page-hero-lead {
    font-size: 0.9rem;
  }

  .page-hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  /* Benefits */
  .benefit-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }

  .benefit-col,
  .benefit-col--after,
  .reason-body,
  .pain-item,
  .pain-text {
    min-width: 0;
  }

  .benefit-num {
    font-size: 2rem;
    text-align: left;
  }

  .benefit-arrow {
    transform: rotate(90deg);
    justify-content: flex-start;
  }

  .benefit-stamp-visual {
    width: 170px;
    justify-self: center;
  }

  .benefit-col--after {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .benefit-stamp-visual img {
    width: 170px;
    height: 170px;
  }

  /* Reasons */
  .reason-item {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 32px 0;
    text-align: center;
  }

  .reason-visual {
    width: 112px;
    min-height: 116px;
  }

  .reason-visual::before {
    inset: 18px 8px 8px;
  }

  .reason-visual img {
    width: 104px;
    height: 104px;
  }

  .reason-visual span {
    min-width: 36px;
    height: 24px;
    padding: 0 8px;
    font-size: 0.72rem;
  }

  .reason-body {
    align-items: center;
  }

  .reason-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .reason-text {
    max-width: 100%;
  }

  /* Pricing */
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Scenes */
  .scenes-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .works-hero-stamps {
    width: min(100%, 310px);
    min-height: 236px;
    overflow: hidden;
  }

  .works-hero-stamps::before {
    inset: 30px 18px 18px;
    border-radius: 20px;
  }

  .page-hero--works .works-hero-stamps img {
    width: 108px;
    height: 108px;
  }

  .page-hero--works .works-hero-stamps img:nth-child(1) {
    left: 18px;
    top: 88px;
  }

  .page-hero--works .works-hero-stamps img:nth-child(2) {
    left: 50%;
    top: 36px;
    transform: translateX(-50%);
  }

  .page-hero--works .works-hero-stamps img:nth-child(3) {
    right: 18px;
    top: 96px;
  }

  .case-set {
    margin-top: 36px;
    padding: 28px 18px;
    border-radius: 22px;
  }

  .case-set--details {
    padding: 0;
  }

  .case-set-summary {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 28px 18px;
  }

  .case-set-body {
    padding: 0 18px 28px;
  }

  .case-set-head {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }

  .case-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .case-count {
    justify-self: center;
  }

  .case-stamp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 380px;
    margin: 0 auto;
  }

  .case-stamp-card {
    min-height: 158px;
    padding: 10px 8px;
    border-radius: 18px;
  }

  .case-stamp-card::before {
    content: none;
  }

  .case-stamp-card--long::before {
    font-size: 0.9rem;
  }

  .case-stamp-card img {
    height: 136px;
  }

  .case-stamp-card span {
    display: none;
  }

  .scene-card-img {
    height: 230px;
  }

  /* CTA Final */
  .cta-final-title {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }

  .line-harness-grid {
    grid-template-columns: 1fr;
  }

  .consult-safe-grid {
    grid-template-columns: 1fr;
  }

  .line-harness-panel {
    padding: 22px 18px;
    border-radius: 22px;
  }
}

@media (max-width: 380px) {
  .case-stamp-grid {
    grid-template-columns: 1fr;
    max-width: 250px;
  }

  .case-stamp-card {
    min-height: 148px;
  }

  .case-stamp-card img {
    height: 120px;
  }
}

/* ============================================
   Utility
   ============================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* フッター: 本命商品（HP・LINE構築）への導線 */
.footer-biz {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--text-sub);
}
.footer-biz a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-biz a:hover {
  color: var(--accent-1);
}
