/* ==========================================================================
   style-new.css
   議員web（新人候補専用版）共通スタイルシート
   index.php（概要編）と detail.php（詳細編）の両方から読み込まれる共通CSSです。
   2ページ間で共通するパーツ（ヘッダー／フッター／カード／アコーディオン等）が
   大半のため、ファイルは分割せず1本にまとめています。
   ページ固有の追加スタイル（安心バッジ・誘導バナー等）はファイル末尾の
   「index.php / detail.php 分割用 追加スタイル」セクションにまとめています。
   ========================================================================== */

:root {
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', "Yu Mincho", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

body {
  font-family: var(--font-sans);
}

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

/* Smartphone optimization (375px to 767px) - Hero Section */
@media (max-width: 767px) {
  .hero-visual-stage {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: unset !important;
    align-items: center !important;
    justify-content: center !important;

@media (max-width: 768px) {
  .section{background-color:transparent!important;border:none!important;box-shadow:none!important}
  #ai-demo{background-color:transparent!important;border:none!important;box-shadow:none!important}
  .demo-container{background-color:transparent!important;border:none!important;box-shadow:none!important}
  .profile-card{background-color:transparent!important;border:none!important;box-shadow:none!important}
  .card-problem{background-color:transparent!important;border:none!important;box-shadow:none!important}
  .card-feature{background-color:transparent!important;border:none!important;box-shadow:none!important}
  .card-pricing{background-color:transparent!important;border:none!important;box-shadow:none!important}
  .demo-input-col{background-color:transparent!important;border:none!important;box-shadow:none!important}
  .demo-output-col{background-color:transparent!important;border:none!important;box-shadow:none!important}
  .accordion-item{background-color:transparent!important;border:1px solid #34d399!important;box-shadow:none!important}
  .faq-item{background-color:transparent!important;border:none!important;box-shadow:none!important}
}
    gap: 3rem !important;
    min-height: 500px !important;
    max-width: 100% !important;
    width: 100% !important;
    justify-items: unset !important;
  }

  /* 上段：左画像と左テキストを横並び */
  .stage-col-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    max-width: 100% !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    justify-self: unset !important;
    padding: 0 0.5rem !important;
  }

  .stage-col-left .person-photo-frame {
    width: 140px !important;
    max-width: 140px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
  }

  .stage-col-left .person-photo-frame img {
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
  }

  .bubble-group-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: auto !important;
    gap: 0.1rem !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 35 !important;
  }

  .bubble-group-left .sample-bubble {
    white-space: normal !important;
    max-width: 100% !important;
    margin: 2px 0 !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }

  .sample-bubble-left::before,
  .sample-bubble-left::after {
    display: none !important;
  }

  /* 中段：スマホ画像 */
  .stage-col-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 1rem 0 !important;
    padding: 0 !important;
  }

  .stage-col-center img {
    width: 80px !important;
    height: auto !important;
    margin: 0 !important;
    transform: unset !important;
  }

  /* 下段：右画像と右テキスト */
  .stage-col-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    max-width: 100% !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    justify-self: unset !important;
    padding: 0 0.5rem !important;
  }

  .stage-col-right .person-photo-frame {
    width: 140px !important;
    max-width: 140px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    order: 2;
  }

  .stage-col-right  {
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    transform: translateY(-160px) !important;
  }

  .bubble-group-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    width: auto !important;
    gap: 0.1rem !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 35 !important;
    order: 1;
  }

  .bubble-group-right .sample-bubble {
    white-space: normal !important;
    max-width: 100% !important;
    margin: 2px 0 !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }

  .sample-bubble-right::before,
  .sample-bubble-right::after {
    display: none !important;
  }
}

/* Smartphone background image for hero section */
@media (max-width: 767px) {
  /* ★ モバイル背景画像の上下位置調整（一箇所）
     下記の値を変更するだけで背景全体が上下に移動します
     負の値：背景を上に移動、正の値：背景を下に移動
     例：-240px（上に移動） → 0px（中央） → 240px（下に移動）
  */
  .hero-section-sample {
    background: url(../img/haikei_bg-sp.jpg) no-repeat center/cover !important;
    --center-phone-offset: -476px !important;
    background-position: center calc(50% + var(--center-phone-offset, -476px)) !important;
    padding: 0 0;
  }

  /* 背景をオフセットしてもスマホ画像自体は動かさない */
  .stage-col-center img {
    transform: translateY(-123px) !important;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px !important; }
body { font-family: "Noto Sans JP", sans-serif; color: #1e293b; background-color: #f8fafc; line-height: 1.6; -webkit-font-smoothing: antialiased; padding-bottom: 36px !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6, .catch-main-head, .catch-sub-head, .section-title, .card-pricing h3, .logo-text-group, .logo-title, .badge-sub, .logo-sub, .footer-logo-text { font-family: 'Noto Serif JP', 'Shippori Mincho', '游明朝', 'Yu Mincho', serif !important; }
.container { max-width: 1150px !important; margin-left: auto; margin-right: auto; padding-left: 0.3rem; padding-right: 0.3rem; }
.container-sm { max-width: 1150px !important; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (max-width: 768px){
  .container-sm{padding-left: 0.5rem; padding-right: 0.5rem;}
}
.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .section { padding-top: 5rem; padding-bottom: 5rem; } }
  .bubble-group-left .sample-bubble { text-align: left !important; white-space: nowrap !important; max-width: none !important; width: auto !important; }
  .bubble-group-right .sample-bubble { text-align: right !important; white-space: nowrap !important; max-width: none !important; width: auto !important; }
.section-header { max-width: 1020px; margin-left: auto; margin-right: auto; margin-bottom: 1.5rem; }
@media (min-width: 768px) {
  .section-header {
  /* margin-bottom: 4rem;  */
} }
.section-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.75rem; border-radius: 9999px; display: inline-block; }
@media (min-width: 768px) { .section-tag { font-size: 0.875rem; } }
.section-title { font-size: 1.25rem; font-weight: 900; color: #0f172a; margin-top: 0.75rem; line-height: 1.25; text-align: center; }
@media (min-width: 640px) { .section-title { font-size: 1.75rem; } }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-description { color: #475569; margin-top: 1rem; font-size: 0.875rem; text-align: left; width: 100%; }
@media (min-width: 768px) { .section-description { font-size: 1rem; text-align: left; width: 750px; margin-left: auto; margin-right: auto;} }
.text-center { text-align: center; }
.text-left { text-align: left;}
.text-strong{font-weight: bold;}
.text-white { color: #ffffff !important; }
.text-blue { color: #2563eb; }
.text-red { color: #ff0000;}
.text-emerald { color: #03dd9a; }
.text-amber { color: #059669; }
.text-purple { color: #9333ea; }
.text-slate { color: #cbd5e1; }
.text-dark { color: #334155; }
.text-red { color: #ef4444; }
.bg-white { background-color: #ffffff; }
.bg-dark { background-color: #0f172a; }
.bg-slate-light { background-color: #f8fafc; }
.bg-blue-light { background-color: #eff6ff; }
.bg-emerald-light { background-color: rgba(5, 150, 105, 0.15); }
.bg-amber-light { background-color: #ecfdf5; }
.bg-purple-light { background-color: #f3e8ff; }
.bg-indigo-light { background-color: #e0e7ff; }
.bg-rose-light { background-color: #ffe4e6; }
.bg-blue { background-color: #2563eb; color: #fff; }
.bg-emerald { background-color: #059669; }
.border-top { border-top: 1px solid #e2e8f0; }
.font-bold { font-weight: 700; }
.is-hidden { display: none !important; }
.grid-4 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; }
.form-row-2 { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.site-header { position: sticky; top: 0; z-index: 50; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid #e2e8f0; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.header-inner { max-width: 1360px; margin: 0 auto; padding: 0 1.25rem; height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.logo-area { display: flex; align-items: center; gap: 0.15rem !important; cursor: pointer; flex-shrink: 0 !important; }
.logo-symbol { width: 3.2rem !important; height: 3.2rem !important; object-fit: contain; border-radius: 0.75rem; display: block; }
.logo-title { font-size: 1rem; font-weight: 700; letter-spacing: -0.025em; color: #0f172a; display: flex !important; align-items: center !important; gap: 0.35rem !important; line-height: 1; white-space: nowrap !important; }
@media (min-width: 768px) { .logo-title { font-size: 1.25rem; } }
.badge-sub { font-size: 0.6rem; padding: 5px 0.5rem !important; background-color: #dbeafe; color: #1d4ed8; border-radius: 9999px; font-weight: 600; margin-left: 0.25rem; white-space: nowrap !important; display: inline-block !important; flex-shrink: 0 !important; }
@media (min-width: 768px) { .badge-sub { font-size: 0.75rem; } }
.logo-sub { font-size: 1.05rem !important; color: #003366 !important; font-weight: 600; display: block; margin-top: 0.25rem !important; }
.logo-text-group { margin-top: 5px !important; }
.nav-desktop { display: none; align-items: center; gap: 0.5rem !important; font-size: 0.88rem !important; font-weight: 700 !important; color: #334155; white-space: nowrap; }
.nav-desktop a { white-space: nowrap; position: relative; padding: 4px 6px !important; border-radius: 6px; transition: all 0.2s ease; }
.nav-desktop a:hover, .nav-desktop a.nav-active { color: #059669 !important; background-color: #ecfdf5 !important; }
.nav-desktop a.nav-active::after { content: ''; position: absolute; bottom: -2px; left: 6px; right: 6px; height: 3px; background-color: #059669; border-radius: 2px; }
.nav-highlight { color: #059669 !important; font-weight: 700; display: flex; align-items: center; gap: 0.25rem; }
.cta-desktop { display: none; align-items: center; gap: 0.5rem; white-space: nowrap; }
.menu-btn { position: relative; z-index: 60; background: none; border: none; font-size: 1.6rem; color: #1e293b !important; cursor: pointer; padding: 0.5rem; display: flex; align-items: center; justify-content: center; }
.menu-btn i { color: #1e293b !important; font-size: 1.6rem; display: block; }
@media (min-width: 768px) {
  .header-inner { height: 5rem; }
  .cta-desktop { display: flex !important; }
}
@media (min-width: 1200px) {
  .nav-desktop { display: flex !important; }
  .menu-btn { display: none !important; }
}
@media (max-width: 1199px) {
  .nav-desktop { display: none !important; }
  .menu-btn { display: flex !important; }
}
@media (max-width: 767px) {
  .header-inner { padding: 0 10px !important; }
}
.mobile-menu { background-color: #ffffff; border: 5px solid #059669 !important; border-radius: 14px 0 0 14px; display: block; position: fixed; top: 4.2rem; right: 0px !important; left: auto !important; width: 100% !important; max-width: 360px !important; bottom: 85px; z-index: 99999; padding: 50px 0.5rem 120px 0.5rem !important; overflow-y: scroll !important; -webkit-overflow-scrolling: touch !important; touch-action: pan-y !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.mobile-menu.is-hidden { display: none !important; }
.mobile-menu-close-icon { position: fixed !important; top: calc(0.2rem) !important; right: 3px !important; background: #059669 !important; color: #ffffff !important; border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 100000 !important; transition: all 0.2s; box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4); }
.mobile-menu-close-icon i { color: #ffffff !important; }
.mobile-menu-close-icon:hover { background: #047857 !important; color: #ffffff !important; }
.mobile-menu a { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1rem; color: #475569; font-weight: 700; font-size: 0.95rem; border-bottom: 1px solid #f1f5f9; border-radius: 8px; margin-bottom: 2px; transition: all 0.15s ease; text-decoration: none; }
.mobile-menu a i { font-size: 1.05rem; color: #059669; width: 20px; text-align: center; }
.mobile-menu a:hover, .mobile-menu a:active { background-color: #ecfdf5; color: #059669; font-weight: 800; }
.mobile-menu a.nav-highlight { color: inherit !important; background-color: transparent; }
.mobile-cta-group { padding: 1.25rem 0.5rem 0.5rem 0.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; border-top: 1px solid #e2e8f0; margin-top: 0.75rem; }
.btn-mobile-blue { display: flex !important; justify-content: center !important; align-items: center !important; width: 100% !important; max-width: 250px !important; height: 48px !important; background-color: #3b82f6 !important; color: #ffffff !important; font-weight: 800 !important; font-size: 0.95rem !important; border-radius: 9999px !important; box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35) !important; border: none !important; margin: 0 auto !important; }
.btn-mobile-emerald { display: flex !important; justify-content: center !important; align-items: center !important; width: 100% !important; max-width: 250px !important; height: 48px !important; background-color: #059669 !important; color: #ffffff !important; font-weight: 800 !important; font-size: 0.95rem !important; border-radius: 9999px !important; box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important; border: none !important; margin: 0 auto !important; }
.hero-section { position: relative; background-size: cover; background-repeat: no-repeat; background-position: center 90%; color: #ffffff; overflow: hidden; padding: 1rem 0 0.5rem; z-index: 0; transition: background-image 0.8s ease-in-out; background-image: url(../img/new-hero_bg.jpg); min-height: 85svh; display: flex; flex-direction: column; }
@media (min-width: 768px) { .hero-section { padding: 6rem 0; background-position: center; min-height: unset; display: block; } }

/* Hide desktop navigation entirely as requested */
.nav-desktop { display: none !important; }
.hero-section.slide-2 { background-image: url(../img/new-hero_bg2.jpg); }
.hero-section.slide-3 { background-image: url(../img/new-hero_bg3.jpg); }
@media (max-width: 767px) { .hero-section { background-image: url(../img/new-hero_bg-sp.jpg); } .hero-section.slide-2 { background-image: url(../img/new-hero_bg2-sp.jpg); } .hero-section.slide-3 { background-image: url(../img/new-hero_bg3-sp.jpg), url(../img/new-hero_bg3.jpg); } }
.hero-section::before { content: ""; position: absolute; inset: 0; background-color: rgba(131, 121, 121, 0.35); z-index: 1; pointer-events: none; transition: opacity 0.8s ease-in-out; }
.hero-inner { max-width: 1280px; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; }
.hero-grid { display: flex; flex-direction: column; gap: 0; flex: 1; }
@media (min-width: 640px) { .hero-grid { display: flex; flex-direction: column; gap: 0; flex: 1; } }
@media (min-width: 768px) { .hero-grid { display: grid; grid-template-columns: 8fr 5fr; gap: 3rem; align-items: center; flex: unset; } .hero-section { padding: 6rem 0; } .hero-inner { flex: unset; display: block; } }
.hero-content { text-align: left; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
@media (min-width: 768px) { .hero-content { text-align: left; display: flex; flex-direction: column; flex: unset; align-items: flex-start; } }
.hero-visual { display: none; }
.badge-hero { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.875rem; border-radius: 9999px; background-color: rgba(59, 130, 246, 0.2); border: 1px solid rgba(96, 165, 250, 0.3); color: #bfdbfe; font-size: 0.75rem; font-weight: 500; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .badge-hero { font-size: 0.875rem; margin-bottom: 1.5rem; } }
.pulse-dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background-color: #34d399; animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.hero-title { font-size: 1.69rem; font-weight: 900; line-height: 1.25; letter-spacing: -0.025em; margin-bottom: 0.75rem; color: #fff; }
@media (min-width: 640px) { .hero-title { font-size: 1.875rem; margin-bottom: 1rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.5rem; margin-bottom: 1.5rem; } }
.text-gradient { background: linear-gradient(to right, #fde047, #fef08a, #6ee7b7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { color: #d52828; font-size: 0.9rem; line-height: 1.6; margin-top: auto; margin-bottom: 0.75rem; background-color: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); padding: 0.75rem 0.75rem; border-radius: 0.75rem; box-sizing: border-box; width: 100%; }
@media (min-width: 768px) { .hero-description { font-size: 1.3rem; margin-top: 0; margin-bottom: 1.5rem; padding: 1rem 1.25rem; max-width: 660px; display: block; } }
.hero-description strong { color: #c13957; text-decoration: underline; text-decoration-color: #34d399; text-decoration-thickness: 2px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; padding: 0.6rem; background-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(4px); border-radius: 0.75rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .hero-stats { gap: 0.5rem; padding: 0.7rem; margin-bottom: 1.5rem; } }
.stat-item { text-align: center; }
@media (min-width: 768px) { .stat-item { text-align: left; } }
.stat-label { font-size: 0.75rem; color: #fff; display: block; }
.stat-value { font-size: 1.125rem; font-weight: 700; }
@media (min-width: 640px) { .stat-value { font-size: 1.25rem; } }
.stat-border { border-left: 1px solid rgba(51, 65, 85, 0.6); border-right: 1px solid rgba(51, 65, 85, 0.6); padding: 0 0.5rem; }
.hero-actions { display: flex; flex-direction: column; gap: 0.75rem; justify-content: center; width: 100%; box-sizing: border-box; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; align-items: stretch; } }
@media (min-width: 768px) { .hero-actions { justify-content: flex-start; width: 100%; max-width: 660px; } }
.interactive-card { background-color: rgba(30, 41, 59, 0.8); backdrop-filter: blur(12px); border-radius: 1rem; padding: 1.5rem; border: 1px solid rgba(51, 65, 85, 0.8); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); display: none; }
.card-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #334155; padding-bottom: 1rem; margin-bottom: 1rem; }
.window-controls { display: flex; gap: 0.5rem; }
.dot { width: 0.75rem; height: 0.75rem; border-radius: 9999px; display: inline-block; }
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #eab308; }
.dot-green { background-color: #22c55e; }
.card-tag { font-size: 0.75rem; font-family: monospace; color: #94a3b8; }
.card-body { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; }
.input-preview-box { background-color: rgba(15, 23, 42, 0.9); border-radius: 0.75rem; padding: 0.75rem; border: 1px solid rgba(51, 65, 85, 0.6); }
.box-label { font-size: 0.6875rem; font-weight: 700; display: block; margin-bottom: 0.25rem; }
.box-code { color: #cbd5e1; font-family: monospace; font-size: 0.75rem; }
.transform-indicator { display: flex; justify-content: center; align-items: center; gap: 0.5rem; color: #34d399; font-weight: 700; font-size: 0.75rem; margin: 0.25rem 0; }
.icon-bounce { animation: bounce 1s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); } 50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); } }
.output-preview-box { background-color: rgba(23, 37, 84, 0.8); border-radius: 0.75rem; padding: 0.875rem; border: 1px solid rgba(59, 130, 246, 0.4); color: #f8fafc; }
.box-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.6875rem; margin-bottom: 0.5rem; }
.badge-micro { background-color: #1e40af; color: #bfdbfe; font-size: 0.625rem; padding: 0.125rem 0.5rem; border-radius: 0.25rem; }
.preview-title { font-weight: 700; color: #fde047; font-size: 0.75rem; margin-bottom: 0.375rem; }
.preview-text { font-size: 0.6875rem; line-height: 1.6; color: #e2e8f0; }
.card-footer { margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid rgba(51, 65, 85, 0.8); display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: #94a3b8; }
.footer-highlight { color: #34d399; font-weight: 700; }
.card-problem { background-color: #f8fafc; border-radius: 1rem; padding: 1.25rem 0.85rem; border: 1px solid rgba(226, 232, 240, 0.8); position: relative; transition: box-shadow 0.3s; }
.card-problem:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.num-badge { width: 3rem; height: 3rem; background-color: #fee2e2; color: #dc2626; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.25rem; margin-bottom: 1rem; }
.card-problem h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; white-space: nowrap; letter-spacing: -0.02em; }
#problems .grid-4 { gap: 0.75rem; }
@media (min-width: 768px) { .card-problem h3 { font-size: 1.02rem; } }
@media (min-width: 1024px) { #problems .grid-4 { gap: 0.75rem; } .card-problem h3 { font-size: 0.98rem; } }
@media (min-width: 1200px) { .card-problem h3 { font-size: 1.08rem; } }
.card-problem p { color: #475569; font-size: 0.875rem; line-height: 1.6; text-align: left; }
.solution-banner { margin-top: 0 !important; background: linear-gradient(to right, #0c4a6e, #0f172a); color: #ffffff; border-radius: 1rem; padding: 2rem; text-align: center; position: relative; overflow: hidden; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.solution-banner p { text-align: left !important; color: #cbd5e1; font-size: 0.875rem; line-height: 1.6; max-width: 48rem; margin: 0 auto; }
.badge-solution { background-color: #10b981; color: #0f172a; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 9999px; text-transform: uppercase; display: inline-block; margin-bottom: 0.75rem; }
.solution-banner h3 { font-size: 1.25rem; font-weight: 900; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .solution-banner h3 { font-size: 1.5rem; } }

/* Mobile: force a line-break after the first phrase in the solution banner */
@media (max-width: 767px) {
  .solution-banner h3 .mobile-break { display: block !important; }
}
.tag-emerald { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.75rem; border-radius: 9999px; background-color: rgba(16, 185, 129, 0.2); color: #6ee7b7; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.75rem; border: 1px solid rgba(16, 185, 129, 0.3); }
.text-gradient-emerald { background: linear-gradient(to right, #34d399, #99f6e4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.demo-container { background-color: #f8fafc !important; border-radius: 1rem; border: 10px solid #f97316 !important; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); padding: 1.5rem 1rem 1rem !important; max-width: 64rem; margin: 32px auto 0 !important; display: block; position: relative; }
@media (min-width: 1024px) { .demo-container { padding: 2rem; } }
.sample-preset-box { background-color: rgba(15, 23, 42, 0.6); padding: 1rem; border-radius: 0.75rem; border: 1px solid rgba(51, 65, 85, 0.6); margin-bottom: 1.5rem; }
.preset-label { font-size: 0.75rem; font-weight: 700; color: #94a3b8; display: block; margin-bottom: 0.5rem; }
.preset-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.btn-sample { padding: 0.375rem 0.75rem; background-color: #1e293b; border: 1px solid #475569; border-radius: 0.5rem; font-size: 0.75rem; font-weight: 500; cursor: pointer; transition: background-color 0.2s; }
.btn-sample:hover { background-color: #334155; }
.btn-sample-blue { color: #ffffff !important; background: #3b82f6; font-size: 1.35rem; font-weight: 800; padding: 16px 48px; border-radius: 9999px; text-decoration: none; box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4); transition: all 0.2s ease; }
.btn-sample-blue:hover { transform: translateY(-3px); background: #2563eb; }
.btn-sample-emerald { color: #ffffff !important; background: #10b981; font-size: 1.35rem; font-weight: 800; padding: 16px 48px; border-radius: 9999px; text-decoration: none; box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4); transition: all 0.2s ease; }
.btn-sample-emerald:hover { transform: translateY(-3px); background: #059669; }
.btn-sample-amber { color: #fde047; }
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { 
  .demo-grid { grid-template-columns: 5fr 7fr; } 
  .demo-grid:has(.demo-input-col.is-hidden) { grid-template-columns: 1fr !important; }
}
.demo-input-col { display: flex; flex-direction: column; gap: 1rem; padding: 20px; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 12px; }
.demo-input-col.is-hidden { display: none !important; }
.demo-step-title { font-size: 16px; font-weight: 700; color: #334155; display: flex; align-items: center; gap: 12px; margin-bottom: 0; border-bottom: 1px solid #334155; padding-bottom: 0.5rem; }
.step-num { width: 32px; height: 32px; border-radius: 50%; color: #ffffff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-label { font-size: 0.75rem; color: #94a3b8; }
.form-input-dark, .form-select-dark, .form-textarea-dark { width: 100%; background-color: #0f172a; border: 1px solid #334155; border-radius: 0.5rem; padding: 0.625rem; color: #e2e8f0; font-size: 0.75rem; }
.form-input-dark:focus, .form-select-dark:focus, .form-textarea-dark:focus { outline: none; border-color: #2563eb; }
.radio-group-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; font-size: 0.75rem; }
.radio-card { display: flex; align-items: center; gap: 0.375rem; background-color: #0f172a; padding: 0.5rem; border-radius: 0.5rem; border: 1px solid #334155; cursor: pointer; }
.demo-output-col { background-color: #ffedd5 !important; border-radius: 12px !important; padding: 12px !important; border: 2px solid #fed7aa !important; display: flex; flex-direction: column; justify-content: space-between; position: relative; min-height: 380px; }
.output-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 0.75rem; margin-bottom: 16px; }
.badge-count { font-size: 0.6875rem; background-color: #1e293b; padding: 0.25rem 0.625rem; border-radius: 9999px; color: #94a3b8; font-family: monospace; }
.loading-overlay { position: absolute; inset: 0; background-color: rgba(15, 23, 42, 0.95); border-radius: 0.75rem; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; backdrop-filter: blur(4px); }
.spinner { width: 2.5rem; height: 2.5rem; border: 4px solid #10b981; border-top-color: transparent; border-radius: 9999px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 0.75rem; color: #34d399; font-weight: 700; }
.output-content { display: flex; flex-direction: column; gap: 1rem; }
.output-title { font-size: 1rem; font-weight: 700; color: #fde047; line-height: 1.375; }
.output-body { font-size: 0.75rem; line-height: 1.625; color: #e2e8f0; background-color: rgba(2, 6, 23, 0.6); padding: 1rem; border-radius: 0.5rem; border: 1px solid #1e293b; display: flex; flex-direction: column; gap: 0.75rem; }
.output-sns-box { background-color: rgba(30, 41, 59, 0.8); border-radius: 0.5rem; padding: 0.75rem; border: 1px solid rgba(51, 65, 85, 0.8); }
.sns-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.6875rem; color: #94a3b8; margin-bottom: 0.375rem; }
.sns-text { font-size: 0.6875rem; color: #cbd5e1; font-family: monospace; }
.output-footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid #cbd5e1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; font-size: 0.75rem; gap: 0.5rem; color: #475569; }
.output-footer .note-text { color: #9a3412 !important; font-size: 0.6875rem; }
.btn-copy { padding: 0.375rem 0.75rem; background-color: #1e293b; color: #e2e8f0; border-radius: 0.25rem; border: 1px solid #334155; font-size: 0.75rem; cursor: pointer; transition: background-color 0.2s; display: flex; align-items: center; gap: 0.25rem; }
.btn-copy:hover { background-color: #334155; }
.card-feature { background-color: #ffffff; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); border: 1px solid #e2e8f0; transition: box-shadow 0.2s; }
.card-feature:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.icon-box { width: 3rem; height: 3rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem; }
.card-feature h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; }
@media (min-width: 768px) { .card-feature h3 { font-size: 1.125rem; } }
.card-feature p { color: #475569; font-size: 0.875rem; line-height: 1.625; text-align: left; }
.card-step { background-color: #f8fafc; padding: 1.5rem; border-radius: 1rem; border: 1px solid #e2e8f0; position: relative; text-align: center; }
.step-badge { width: 2.5rem; height: 2.5rem; color: #ffffff; border-radius: 9999px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem auto; font-size: 1.125rem; }
.card-step h3 { font-weight: 700; color: #0f172a; margin-bottom: 0.5rem; font-size: 1rem; }
.card-step p { color: #475569; font-size: 0.75rem; line-height: 1.625; text-align: left; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; max-width: 1150px !important; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-table-wrapper { position: relative; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; touch-action: pan-x pan-y !important; max-width: 100%; border: 1px solid #cccccc !important; border-radius: 1rem; }
.pricing-table { width: 100%; border-collapse: collapse; background-color: #ffffff; border: none; }
.pricing-table thead { background-color: #1e293b; color: #ffffff; }
.pricing-table thead th { padding: 1.25rem; text-align: center; font-weight: 700; font-size: 0.875rem; border-right: 1px solid #334155; }
.pricing-table thead th:first-child { text-align: left; }
.pricing-table thead th.highlight-col { background-color: #f97316; color: #ffffff; }
.pricing-table tbody tr { border-bottom: 1px solid #e2e8f0; }
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr.highlight-row { background-color: #f8fafc; }
.pricing-table tbody td { padding: 1rem 1.25rem; text-align: center; font-size: 0.875rem; color: #1e293b; border-right: 1px solid #e2e8f0; }
.pricing-table tbody td.label-col { text-align: left; font-weight: 600; background-color: #f1f5f9; color: #1e293b; width: 180px; }
.pricing-table tbody td.highlight-col { background-color: #fff8f2; color: #1e293b; font-weight: 600; }
.pricing-table tbody tr.highlight-row td.highlight-col { background-color: #fff8f2; }
@media (max-width: 768px) { .pricing-table { font-size: 0.75rem; } .pricing-table thead th, .pricing-table tbody td { padding: 0.75rem; } }

/* おすすめの方・期待できる効果 の各プラン列を左寄せ */
.pricing-table tbody tr:nth-child(1) td:not(.label-col){text-align:left}
.pricing-table tbody tr:nth-child(2) td:not(.label-col){text-align:left}

@media (max-width: 768px) {
  .pricing-table { min-width: 700px !important; }
  .pricing-table thead th:first-child, .pricing-table tbody td.label-col { white-space: nowrap; width: 140px; }
  .pricing-table thead th:not(:first-child), .pricing-table tbody td:not(.label-col) { min-width: 180px; white-space: normal; }
  .pricing-table thead th, .pricing-table tbody td { padding: 0.6rem; }
  .pricing-table-wrapper { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; touch-action: pan-x pan-y !important; }
  .pricing-table-wrapper.is-scrollable::after{content:"横にスクロールできます →";position:absolute;right:0.5rem;bottom:0.6rem;font-size:0.75rem;color:#fff;background:rgba(30,41,59,0.9);padding:0.25rem 0.6rem;border-radius:9999px;white-space:nowrap;pointer-events:none;z-index:6;box-shadow:0 4px 10px rgba(2,6,23,0.15);}
  .pricing-table-wrapper { -ms-overflow-style: -ms-autohiding-scrollbar; }
}
/* バッジはユーザーが一度スクロールしたら非表示にする */
/* removed user-scrolled hide behavior */
@media (max-width: 768px) {
  .otosiana-frame{background-color:transparent!important;border:none!important;box-shadow:none!important;width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important;border-radius:0!important;padding:10px!important}
  .profile-card{background-color:transparent!important;border:none!important;box-shadow:none!important;width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important;border-radius:0!important;padding:12px!important}
  .card-pricing{background-color:transparent!important;border:none!important;box-shadow:none!important;width:calc(100% - 20px)!important;margin-left:10px!important;margin-right:10px!important;border-radius:0!important;padding:12px!important}
}

@media (max-width: 768px) {
  body{font-size:16px!important;line-height:1.65!important}
  p{font-size:16px!important}
  .pricing-table tbody td{font-size:16px!important}
  .plan-desc{font-size:16px!important}
  .accordion-body{font-size:16px!important}
}
.card-pricing { background-color: #ffffff !important; border-radius: 1rem; border: 1px solid #e2e8f0 !important; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.2s; color: #1e293b !important; }
.card-pricing:hover { border-color: #64748b; }
.card-pricing-popular { border: 2px solid #3b82f6 !important; position: relative; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
@media (min-width: 768px) { .card-pricing-popular { transform: translateY(-0.5rem); } }
.popular-ribbon { position: absolute; top: -0.875rem; left: 50%; transform: translateX(-50%); background-color: #2563eb; color: #ffffff; font-size: 0.6875rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.plan-label { font-size: 0.75rem; font-weight: 700; color: #64748b !important; text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.card-pricing h3 { font-size: 1rem; font-weight: 700; color: #1e293b !important; margin-top: 0.25rem; }
@media (min-width: 768px) { .card-pricing h3 { font-size: 1.25rem; } }
.plan-desc { color: #475569 !important; font-size: 0.75rem; margin-top: 0.5rem; }
.price-box { margin: 1.5rem 0; background-color: #f1f5f9 !important; color: #1e293b !important; }
.price-value { font-size: 1.875rem; font-weight: 900; color: #1e293b !important; }
.card-pricing-popular .price-value { font-size: 2.25rem; }
.price-unit { font-size: 0.75rem; color: #64748b !important; }
.price-sub { display: block; font-size: 0.6875rem; color: #64748b !important; margin-top: 0.25rem; }
.plan-features { list-style: none; border-top: 1px solid #334155; padding-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.75rem; color: #1e293b !important; }
.plan-features li { display: flex; align-items: center; gap: 0.5rem; color: #1e293b !important; }
.profile-card { background-color: #f8fafc; border: 1px solid #e2e8f0; border-radius: 1.5rem; padding: 2rem; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
@media (min-width: 640px) { .profile-card { padding: 3rem; } }
.profile-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-col-avatar { text-align: center; border-top: 1px solid #e2e8f0; padding-top: 1.5rem; margin-top: 0.5rem; }
.profile-col-avatar.no-avatar { border-top: none; padding-top: 0; margin-top: 0; }
.profile-col-avatar.no-avatar .avatar-wrapper { display: none; }
.profile-col-avatar.no-avatar .profile-label { margin-top: 0; }
.profile-col-avatar.no-avatar .profile-name { margin-top: 0.25rem; }
.avatar-wrapper { width: 9rem; height: 9rem; margin: 0 auto 1rem auto; border-radius: 9999px; background-color: #cbd5e1; overflow: hidden; border: 4px solid #ffffff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); position: relative; display: block; }
.avatar-image { width: 100%; height: 100%; object-fit: cover; }
.avatar-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: #ffffff; background-color: #64748b; }
.avatar-initials:lang(ja) { font-family: 'Noto Sans JP', sans-serif; }
.profile-label { font-size: 0.75rem; font-weight: 700; color: #2563eb; text-transform: uppercase; letter-spacing: 0.1em; display: block; }
.profile-name { font-size: 1.25rem; font-weight: 700; color: #0f172a; margin-top: 0.25rem; }
.profile-title { font-size: 0.75rem; color: #64748b; margin-top: 0.25rem; }
.profile-col-text { display: flex; flex-direction: column; gap: 1rem; font-size: 0.875rem; color: #475569; line-height: 1.625; }
.profile-heading { font-size: 1.7rem !important; font-weight: 700; color: #0f172a; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.5rem; text-align: center; }
@media (min-width: 768px) { .profile-heading { font-size: 1.125rem; } }
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.5rem; }
.profile-tag { padding: 0.25rem 0.75rem; background-color: #ffffff; border: 1px solid #e2e8f0; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; color: #334155; }
.tag-blue { background-color: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background-color: #ffffff; border-radius: 0.75rem; border: 1px solid #e2e8f0; overflow: hidden; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.faq-question { width: 100%; padding: 1rem 1.5rem; text-align: left; font-weight: 700; color: #0f172a; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; transition: background-color 0.2s; }
.faq-question:hover { background-color: #f8fafc; }
.faq-icon { color: #94a3b8; transition: transform 0.2s; }
.faq-icon.rotate { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1rem 1.5rem; font-size: 0.875rem; color: #475569; line-height: 1.625; border-top: 1px solid #f1f5f9; padding-top: 0.75rem; }
/* Accordion Styles */
.accordion-list { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; margin: 0 auto; }
.accordion-item { background-color: #ffffff; border-radius: 0.75rem; border: 1px solid #34d399; overflow: hidden; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.accordion-header { width: 100%; padding: 1rem 1.5rem; text-align: center; font-weight: 700; color: #0f172a; display: flex; justify-content: center; align-items: center; gap: 0.6rem; background-color: #d1fae5; border: none; cursor: pointer; transition: background-color 0.2s; font-size: 1rem; }
.accordion-header:hover { background-color: #a7f3d0; }
.accordion-item.open .accordion-header { background-color: #a7f3d0; }
.accordion-title { flex: 0 1 auto; line-height: 1.4; }
.accordion-icon { color: #059669; transition: transform 0.3s ease-in-out; font-size: 1.75rem; font-weight: 900; flex-shrink: 0; -webkit-text-stroke: 1px #059669; }
.accordion-item.open .accordion-icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease-in-out; }
.accordion-item.open .accordion-content { max-height: 5000px; }
.accordion-body { padding: 0 1.5rem 1rem 1.5rem; font-size: 0.875rem; color: #475569; line-height: 1.625; border-top: 1px solid #f1f5f9; }
.accordion-body h4 { font-size: 0.95rem; font-weight: 700; color: #0f172a; margin-top: 1rem; margin-bottom: 0.5rem; }
.accordion-body h4:first-child { margin-top: 0; }
.accordion-body p { margin: 0.5rem 0; }
.accordion-body ul { margin-left: 1.5rem; }
.accordion-body li { margin: 0.25rem 0; }
.accordion-body a { color: #2563eb; text-decoration: none; }
.accordion-body a:hover { text-decoration: underline; }
.contact-form { background-color: #f8fafc; border-radius: 1rem; padding: 1.5rem; border: 2px solid #10b981; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); max-width: 520px; margin: 0 auto; }
@media (min-width: 640px) { .contact-form { padding: 2.5rem; } }
.contact-form .form-group select, .contact-form .form-group input, .contact-form .form-group textarea { background-color: #ffffff !important; border: 1px solid #d1d5db; border-radius: 8px; padding: 12px 14px; font-size: 14px; width: 100%; font-family: inherit; }
.contact-form .form-group select { cursor: pointer; }
.form-location-group { display: flex; gap: 0.75rem; }
.form-location-group select { flex: 1; background-color: #ffffff !important; border: 1px solid #cbd5e1; border-radius: 0.75rem; padding: 0.75rem; font-size: 0.875rem; outline: none; cursor: pointer; }
.form-location-group select:focus { box-shadow: 0 0 0 2px #2563eb; }
@media (max-width: 640px) { .form-location-group { flex-direction: column; } }
.form-body-group { display: flex; flex-direction: column; gap: 1.5rem; }
.form-input-light, .form-textarea-light { width: 100%; background-color: #ffffff !important; border: 1px solid #6ee7b7 !important; border-radius: 0.75rem; padding: 0.75rem; font-size: 0.875rem; outline: none; }
.form-input-light:focus, .form-textarea-light:focus { border-color: #059669 !important; box-shadow: 0 0 0 2px #059669; }
.checkbox-group { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: #475569; }
.form-success-box { padding: 2rem 0; text-align: center; display: flex; flex-direction: column; gap: 1rem; }
.icon-success { width: 4rem; height: 4rem; background-color: #d1fae5; color: #059669; border-radius: 9999px; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 1.5rem; }
.form-success-box h3 { font-size: 1.25rem; font-weight: 700; color: #0f172a; }
.form-success-box p { color: #475569; font-size: 0.875rem; }
.site-footer { position: fixed !important; bottom: 0 !important; left: 0 !important; width: 100% !important; z-index: 9999 !important; background-color: #059669 !important; box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2) !important; padding: 0.5rem 0 !important; min-height: auto !important; color: #ffffff !important; border: none !important; border-top: none !important; font-size: 0.75rem; }
.site-footer p, .site-footer .footer-bottom { color: #ffffff !important; border: none !important; border-top: none !important; }
.footer-top { display: flex !important; justify-content: center !important; align-items: center !important; gap: 1.5rem !important; flex-wrap: wrap !important; margin-bottom: 0.2rem !important; }
@media (min-width: 768px) {
	.footer-top { flex-direction: row; display: none !important;}
 }
@media (max-width: 768px){
	.footer-top{display: none !important;}
}
.site-footer .logo-area { justify-content: center !important; margin: 0 !important; }
.footer-logo-area { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo-text { color: #ffffff; font-weight: 700; font-size: 1rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; color: #94a3b8; }
.footer-nav a:hover { color: #ffffff; transition: color 0.2s; }
.footer-disclaimer { font-size: 0.6875rem; color: #64748b; text-align: left; line-height: 1.625; max-width: 56rem; margin: 0 auto 1.5rem auto; }
.footer-bottom { text-align: center; color: #ffffff !important; opacity: 0.95; padding-top: 0 !important; border: none !important; display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 0.78rem; }
.footer-cta-buttons { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; display: none;}
.footer-btn-tel { background: #ffffff; color: #0284c7 !important; font-weight: 800; font-size: 0.92rem; padding: 6px 16px; border-radius: 9999px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: transform 0.15s ease; }
.footer-btn-tel:hover { transform: translateY(-2px); background: #f0f9ff; }
.footer-jump-btn { background: rgba(255,255,255,0.95); color: #065f46; font-weight: 800; font-size: 0.9rem; padding: 10px; border-radius: 9999px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 0; width: 56px; height: 42px; box-shadow: 0 6px 18px rgba(0,0,0,0.12); transition: transform 0.15s ease, background 0.15s ease; }
.footer-jump-btn:hover { transform: translateY(-3px); background: #f0fff7; }
.footer-jump-btn i { margin: 0; font-size: 20px; }

.footer-jump-text { display: none; margin-left: 8px; font-weight: 800; color: #065f46; }

.footer-contact-row { display: flex; align-items: center; gap: 10px; }
.footer-contact-row a { display: inline-flex; }

@media (max-width: 767px) {
  /* keep footer buttons horizontally aligned on small screens */
  .footer-bottom { flex-direction: row !important; gap: 10px; padding: 12px 8px; flex-wrap: nowrap; justify-content: center; align-items: center; }
  .footer-contact-row { gap: 12px; }
  .footer-jump-btn, .footer-tel-large { width: auto; min-width: 110px; }
  .footer-jump-text { display: inline-block; }

}

/* Desktop: hide footer contact jump button and phone per request */
@media (min-width: 768px) {
  .site-footer .footer-contact-row,
  .site-footer .footer-jump-btn,
  .site-footer .footer-tel-large,
  .site-footer .footer-cta-buttons {
    display: none !important;
  }
  .sample-bubble{white-space:normal;display:inline-block;max-width:86%;padding:10px 16px;font-size:0.9rem}
  .bubble-group-left{margin-right:0;margin-bottom:0;align-items:flex-start}
  .bubble-group-right{margin-left:0;margin-bottom:0;align-items:flex-end}
  .bubble-group-left .sample-bubble,.bubble-group-right .sample-bubble{border-radius:20px}
}
}
.footer-btn-form { background: #ffffff; color: #059669 !important; font-weight: 800; font-size: 0.92rem; padding: 6px 16px; border-radius: 9999px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: transform 0.15s ease; }
.footer-btn-form:hover { transform: translateY(-2px); background: #ecfdf5; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; border-radius: 0.75rem; transition: all 0.2s; border: none; cursor: pointer; text-align: center; }
.btn-primary-sm { min-width: 175px !important; padding: 0.55rem 1.25rem !important; font-size: 0.88rem !important; color: #ffffff; background-color: #2563eb; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); white-space: nowrap; border-radius: 9999px !important; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all 0.2s ease; text-align: center; }
.btn-primary-sm:hover { background-color: #1d4ed8; transform: translateY(-1px); }
.btn-secondary-sm { padding: 0.5rem 1.1rem; font-size: 0.78rem; color: #2563eb; background-color: #eff6ff; white-space: nowrap; border-radius: 9999px !important; font-weight: 700; text-align: center; }
.btn-secondary-sm:hover { background-color: #dbeafe; }
.btn-emerald-sm { min-width: 175px !important; padding: 0.55rem 1.25rem !important; font-size: 0.88rem !important; color: #fff; background: #10b981; border: none; border-radius: 9999px !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .2s; text-align: center; }
.btn-emerald-sm:hover { background: #059669; opacity: 0.95; transform: translateY(-1px); }
.btn-emerald-sm:disabled, .btn-emerald-sm.btn-disabled { background: #94a3b8; cursor: not-allowed; pointer-events: none; }
.btn-primary-block { padding: 0.625rem; font-size: 0.875rem; color: #ffffff; background-color: #2563eb; width: 100%; }
.btn-secondary-block { padding: 0.625rem; font-size: 0.875rem; color: #2563eb; background-color: #eff6ff; width: 100%; }
.btn-emerald-block { padding: 0.85rem 1.5rem; font-size: 1.1rem; color: #ffffff; background: linear-gradient(to right, #10b981, #0d9488); width: 100%; max-width: 480px; font-weight: 700; text-align: center; justify-content: center; border-radius: 9999px; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
.btn-emerald-lg { flex: 1; padding: 0.875rem 1rem; background: linear-gradient(to right, #10b981, #0d9488); color: #ffffff; font-weight: 900; font-size: 0.95rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); gap: 0.5rem; text-align: center; justify-content: center; white-space: nowrap; box-sizing: border-box; border-radius: 9999px !important; }
.btn-emerald-lg:hover { transform: translateY(-2px); }
.btn-primary-lg { flex: 1; padding: 0.875rem 1rem; background-color: #2563eb; color: #ffffff; font-weight: 900; font-size: 0.95rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15); gap: 0.5rem; text-align: center; justify-content: center; white-space: nowrap; box-sizing: border-box; border-radius: 9999px !important; }
.btn-primary-lg:hover { background-color: #1d4ed8; transform: translateY(-2px); }
.btn-outline-lg { flex: 1; padding: 0.875rem 1rem; background-color: rgba(255, 255, 255, 0.1); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 0.95rem; gap: 0.5rem; backdrop-filter: blur(4px); text-align: center; justify-content: center; white-space: nowrap; box-sizing: border-box; border-radius: 9999px !important; }
.btn-outline-lg:hover { background-color: rgba(255, 255, 255, 0.2); }
.btn-emerald-full { width: 100%; max-width: 480px; padding: 0.6rem 1.25rem !important; background-color: #059669 !important; color: #ffffff; font-size: 1rem !important; gap: 0.5rem; box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important; border-radius: 9999px !important; border: none; font-weight: 700; cursor: pointer; }
.btn-slate-full { width: 100%; padding: 0.75rem; background-color: #475569 !important; color: #ffffff !important; font-size: 0.75rem; margin-top: 2rem; border-radius: 9999px !important; }
.btn-slate-full:hover { background-color: #475569; }
.btn-blue-full { width: 100%; padding: 0.875rem; background-color: #3b82f6 !important; color: #ffffff !important; font-size: 0.75rem; margin-top: 2rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); border-radius: 9999px !important; }
.btn-blue-full:hover { background-color: #1d4ed8; }
.btn-blue-submit { width: 100%; padding: 1rem; background-color: #10b981; color: #ffffff; font-size: 1rem; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); border-radius: 9999px !important; }
.btn-blue-submit:hover { background-color: #059669; }
.scroll-to-top { position: fixed; bottom: 16px; right: 16px; width: 48px; height: 48px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; border-radius: 50%; cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 9999; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); tap-highlight-color: transparent; }
.scroll-to-top.show { display: flex; }
.scroll-to-top:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); }
.scroll-to-top:active { transform: translateY(-2px); }
.scroll-to-top::before { content: "▲"; color: white; font-size: 20px; font-weight: bold; line-height: 1; }
@media (min-width: 768px) { .scroll-to-top { width: 50px; height: 50px; bottom: 20px; right: 20px; } .scroll-to-top::before { font-size: 24px; } }
#ai-demo { background-color: #f1f5f9; border-top: 1px solid #cbd5e1; border-bottom: 1px solid #cbd5e1; }
#ai-demo .section-header { margin-bottom: 0 !important; }
#ai-demo #demo-container, #demo-container { border: 5px solid #10b981 !important; padding: 1rem !important; margin-top: 50px !important; width: 650px;}
#ai-demo .demo-container { background-color: #f1f5f9; border-color: #00387b; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); border-width: 6px; }
#ai-demo .dfg .form-label { color: #334155; }
#ai-demo .voice-bar-dark, #ai-demo .memo-bar-dark, #ai-demo .camera-box-dark { background: #f8fafc; border-color: #cbd5e1; }
#ai-demo .camera-label { color: #334155; }
#ai-demo .voice-bar-dark .voice-hint, #ai-demo .memo-bar-dark .memo-hint { color: #475569; }
#ai-demo .voice-transcript-box-dark, #ai-demo .memo-textarea-dark { background: #ffffff; border-color: #cbd5e1; color: #1e293b; }
#ai-demo .voice-bar-dark .voice-transcript-label, #ai-demo .memo-bar-dark .memo-label { color: #334155; }
#ai-demo .demo-output-inner { background: #f8fafc; border-color: #cbd5e1; }
#ai-demo .demo-step-title { color: #334155; border-bottom-color: #cbd5e1; }
#ai-demo .comp-txt { color: #1e293b; }
#ai-demo .comp-card.bef { background: #f1f5f9; border-color: #cbd5e1; }
#ai-demo .comp-lbl.bef { color: #475569; }
#ai-demo .ld-txt { color: #475569; }
#ai-demo .sns-prev { background: #f8fafc; border-color: #cbd5e1; }
#ai-demo .sns-prev-ttl { color: #475569; }
#ai-demo .sns-card { background: #ffffff; border-color: #cbd5e1; }
#ai-demo .sns-hd { color: #334155; }
#ai-demo .sns-body { color: #475569; }
#ai-demo .demo-err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
#ai-demo .copy-btn { background: #e5e7eb; border-color: #cbd5e1; color: #334155; }
#ai-demo .copy-btn:hover { background: #d1d5db; }
#ai-demo .btn-outline-sm { background: transparent; border-color: #cbd5e1; color: #334155; }
#ai-demo .btn-outline-sm:hover { background: #f3f4f6; }
#ai-demo .output-footer { border-top-color: #cbd5e1; color: #475569; }
section#pricing, section#pricing.section, section#pricing.bg-dark, #pricing, #pricing.bg-dark, #pricing.section, #pricing.section.bg-dark { background-color: #f8fafc !important; }
#pricing .tag-emerald { background-color: transparent; color: #0d9488; }
#pricing .section-title, #pricing .section-description, #pricing .card-pricing, #pricing .card-pricing h3, #pricing .price-value, #pricing .price-box, #pricing .plan-features, #pricing .plan-features li { color: #1e293b !important; }
#pricing .plan-label, #pricing .price-unit, #pricing .price-sub { color: #64748b !important; }
#pricing .plan-desc { color: #475569 !important; }
#pricing .card-pricing { background-color: #ffffff !important; border: 1px solid #e2e8f0 !important; }
#pricing .price-box { background-color: #f1f5f9 !important; }
#pricing .btn-slate-full { background-color: #475569 !important; color: #ffffff !important; }
#pricing .btn-blue-full { background-color: #3b82f6 !important; color: #ffffff !important; }
.area-content-card { max-width: 1150px !important; margin: 0 auto !important; background-color: #ffffff; border-radius: 20px !important; box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05) !important; padding: 2.5rem 2rem; overflow: hidden; }
@media (max-width: 768px){
  .area-content-card{padding: 0px; background-color: unset;}
}
.area-section-divider { border-top: 2px dashed #cbd5e1; margin: 3.5rem 0; clear: both; }
.part-area-1 { background-color: #ecfdf5 !important; padding: 30px 0 !important; }
.part-area-1 .area-content-card { background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; }
#info-accordion { padding: 0 !important; margin: 0 !important; }
#info-accordion .section-header { margin-bottom: 1.25rem !important; }
.part-area-2 { background-color: #fff0f3 !important; padding: 2rem 0.5rem !important; border-top: 2px solid #fecdd3; border-bottom: 2px solid #fecdd3; }
.part-area-3 { background-color: #f0fdf4 !important; padding: 2rem 0.5rem !important; }
.area-content-card > section, .area-content-card > div { background-color: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; padding-left: 5px !important; padding-right: 5px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.hero-section-sample { --left-person-offset: -4px; --right-person-offset: -13px; position: relative; width: 100%; background: url(../img/haikei_bg.jpg) no-repeat center/cover; padding: 2rem 0 3rem; overflow: hidden; }
.hero-sample-inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; position: relative; }
.hero-visual-stage { display: grid; grid-template-columns: minmax(0,1fr) 230px minmax(0,1fr); align-items: center; gap: 0.5rem; min-height: 380px; position: relative; width: 100%; max-width: 980px; margin: 0 auto; justify-items: center; justify-content: center; margin-top: 0px;}
.stage-col-left { justify-self: end; }
.stage-col-right { justify-self: start; }
.sample-bubble { background: #ffffff; color: #0f172a; font-weight: 800; font-size: 0.95rem; padding: 12px 24px; border-radius: 28px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.12); display: inline-block; margin-bottom: 12px; position: relative; white-space: nowrap; border: 1px solid rgba(0,0,0,0.1); }
.bubble-group-left { display: flex; flex-direction: column; align-items: flex-start; z-index: 35; gap: 8px; margin-right: -120px;  margin-bottom: -58px; text-align: left; }
.sample-bubble-left { text-align: left !important; white-space: nowrap !important; width: auto !important; max-width: none !important; }
.bubble-group-right { display: flex; flex-direction: column; align-items: flex-end; z-index: 35; gap: 8px; margin-left: -138px; margin-bottom: -58px; text-align: right; }
@media (min-width: 768px) {
  .hero-visual-stage { position: relative; }
  .bubble-group-right { position: absolute !important; right: calc(50% - 500px) !important; left: auto !important; transform: none !important; margin-left: 0 !important; }
}
.sample-bubble-right { text-align: right !important; white-space: nowrap !important; width: auto !important; max-width: none !important; }
/* left-side small dot tails (two dots) */
.sample-bubble-left::after, .sample-bubble-left::before {
	content: '';
	position: absolute;
	right: -18px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), 0 0 3px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(0,0,0,0.1);
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.sample-bubble-left::after { width: 10px; height: 10px; top: 50%; transform: translateY(-50%); right: -18px; }
.sample-bubble-left::before { width: 6px; height: 6px; top: 70%; transform: translateY(-50%); right: -34px; }
/* right-side small dot tails (two dots) */
.sample-bubble-right::before, .sample-bubble-right::after {
	content: '';
	position: absolute;
	left: -18px;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), 0 0 3px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(0,0,0,0.1);
	filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.sample-bubble-right::before { width: 10px; height: 10px; top: 50%; transform: translateY(-50%); left: -18px; }
.sample-bubble-right::after { width: 6px; height: 6px; top: 70%; transform: translateY(-50%); left: -34px; }
.stage-col-left { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-right: -90px; }
.stage-col-right { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-left: -90px; }
.person-photo-frame { width: 340px; height: auto; border-radius: 8px; overflow: visible; box-shadow: none; background: transparent; position: relative; flex-shrink: 0; }
.person-photo-frame img { width: 100%; height: auto; object-fit: cover; display: block; max-height: 568px; }

/* Center column image: match left/right person-photo-frame size and appearance */
.stage-col-center { display: flex; align-items: center; justify-content: center; }
.stage-col-center img { width: 170px; height: auto; object-fit: contain; border-radius: 16px; position: relative; z-index: 40; transform: translateY(calc(var(--center-phone-offset, -55px) * -1)); }

/* lift side portraits slightly and keep them above background */
.stage-col-left .person-photo-frame { transform: translateY(calc(var(--left-person-offset) + 4px)); z-index: 30; }
.stage-col-left .person-photo-frame img { height: 558px !important; object-fit: cover; }
.stage-col-right .person-photo-frame { transform: translate(-18px, calc(var(--right-person-offset) + 12px)); z-index: 30; width: 420px;}
.stage-col-right .person-photo-frame img { height: 103% !important; object-fit: cover; }

/* subtle screen overlay starting below the portraits and covering the lower hero
   - adjust `top` value to move the start point up/down as needed */
.hero-section-sample::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 54.8%;
	bottom: 0;
	pointer-events: none;
	z-index: 32;
	background:  rgba(255,255,255,0.84) ;
    border-top: #059669 8px solid;
}
@media (max-width: 768px){
  /* 画像は<img>で高さが決まるのでオーバーレイは非表示 */
  .hero-section-sample { min-height: 0 !important; }
  .hero-section-sample::after { display: none !important; }
}

/* Catch stage wrapper (merged duplicates): position, stacking, alignment and spacing */
.sample-catch-stage { position: relative; z-index: 35; text-align: center; max-width: 1150px; margin: 0.8rem auto 0; padding: 0 1rem; }
@media (max-width: 768px){
  /* <img>の直後に自然流するのでmargin不要 */
  .sample-catch-stage { margin-top: 0 !important; }
}
.sample-phone-mockup { background: #000000; border-radius: 40px; padding: 10px; box-shadow: 0 16px 45px rgba(0,0,0,0.25); border: 4px solid #334155; position: relative; margin: 0 auto; width: 240px; }
.sample-phone-screen { background: #ffffff; border-radius: 30px; padding: 20px 12px 16px; text-align: center; position: relative; overflow: hidden; min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; }
.sample-phone-header { font-size: 0.9rem; font-weight: 900; color: #0f172a; border-bottom: 2px solid #e2e8f0; padding-bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sample-phone-body { font-size: 0.75rem; color: #475569; margin: 12px 0; line-height: 1.45; }
.sample-phone-sns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.sns-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px; border-radius: 12px; color: #ffffff; font-size: 1.2rem; font-weight: 800; }
.tile-x { background: #000000; }
.tile-line { background: #06c755; }
.tile-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.tile-fb { background: #1877f2; }
.sample-phone-badge { background: #f59e0b; color: #000000; font-weight: 900; font-size: 0.72rem; padding: 6px 12px; border-radius: 20px; display: inline-block; margin-top: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.sample-bridge-wrapper { text-align: center; margin-top: -22px; position: relative; z-index: 20; }
.sample-bridge-badge { background: #ffffff; border: 2.5px solid #0f172a; color: #0f172a; font-weight: 900; font-size: 1.15rem; padding: 8px 36px; border-radius: 40px; box-shadow: 0 6px 20px rgba(0,0,0,0.15); display: inline-block; }
.sample-catch-sub { font-size: 1.9rem; font-weight: 800; color: #000; margin-bottom: 0.5rem; line-height: 1.2; }
@media (max-width: 768px) {
  .sample-catch-stage { border-top: 8px solid #059669; padding-top: 0.75rem; padding: 8px 0.5rem;}
}
.sample-catch-main { font-size: 3.6rem; font-weight: 900; color: #000; margin-bottom: 2.25rem; line-height: 1.08; letter-spacing: -0.01em; }
.highlight-yellow-box { background: transparent; color: #059669; font-weight: 900; position: relative; padding: 0 6px; display: inline-block;}
/* .highlight-yellow-box::after { content: ''; position: absolute; left: 4px; right: 4px; bottom: 0.05em; height: 0.45em; background: linear-gradient(90deg,#ffd7a8,#ffb07a); border-radius: 6px; z-index: -1; box-shadow: 0 6px 18px rgba(0,0,0,0.12); } */

@media (max-width: 992px) {
	.sample-catch-main { font-size: 2rem; margin-bottom: 2rem; }
	.sample-catch-sub { font-size: 1.45rem; }
	.highlight-yellow-box::after { height: 0.35em; }
}
.sample-catch-desc { font-size: 1.2rem; font-weight: 700; color: #1e293b; line-height: 1.85; margin-bottom: 2rem; }
.sample-small-disclaimer { font-size: 0.82rem; font-weight: 500; color: #475569; display: block; margin-top: 6px; }
.sample-cta-buttons { display: flex; justify-content: center; gap: 1.75rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.sample-sub-footers { display: flex; justify-content: center; gap: 1rem; font-size: 0.95rem; font-weight: 800; color: #334155; }
@media (max-width: 992px) {
  .hero-visual-stage { grid-template-columns: 1fr; gap: 2rem; }
  .stage-col-left, .stage-col-right { flex-direction: column; justify-content: center; text-align: center; }
  .bubble-group-left, .bubble-group-right { align-items: center; }
  .sample-bubble-left::after, .sample-bubble-right::before { display: none !important; }
  .sample-catch-sub { font-size: 15px; }
  .sample-catch-main { font-size: 1.4rem; margin-bottom: 1.8rem; }
  .sample-cta-buttons { flex-direction: column; align-items: center; gap: 0.75rem; }
  .btn-sample-emerald, .btn-sample-blue { max-width: 250px !important; width: 100% !important; padding: 12px 16px !important; font-size: 1.05rem !important; text-align: center !important; margin: 0 auto !important; display: flex !important; justify-content: center !important; align-items: center !important; }
  .sample-sub-footers { flex-direction: column !important; align-items: center !important; gap: 0.35rem !important; font-size: 0.88rem !important; text-align: center !important; }
  .sample-sub-footers span { white-space: nowrap !important; display: block !important; }
  .hero-sample-inner{padding: 0 0.1rem;}
}
.cv-inline-box { background: linear-gradient(135deg, #059669 0%, #047857 100%); border-radius: 16px; padding: 2.2rem 1.5rem; margin: 1rem auto; text-align: center; color: #ffffff; max-width: 1150px !important; }
.cv-inline-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; color: #ffffff !important; }
.cv-inline-desc { font-size: 1.05rem; margin-bottom: 1.5rem; opacity: 0.95; }
.sp-block { display: inline; }
@media (max-width: 768px) {
  .sp-block { display: block !important; margin-bottom: 2px; }
}
.cv-btn-group { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
@media (max-width: 768px) { .cv-btn-group { flex-direction: column; gap: 0.75rem; } }
.sample-sub-footers { display: flex; justify-content: center; }
.phone-info { display: flex; flex-direction: column; gap: 0.25rem; }
.phone-hours { font-size: 0.9rem; margin: 0; color: #ffffff !important; padding-bottom: 0.35rem; border-bottom: 3px solid rgba(255, 255, 255, 1); font-weight: normal;}
.phone-number { font-size: 2.3rem !important; font-weight: 900 !important; margin: 6px 0 0 0; color: #ffffff !important; letter-spacing: 0.04em; line-height: 1.1; }
.phone-number a { color: #ffffff !important; text-decoration: none; font-size: 2.3rem !important; font-weight: 900 !important; }
.phone-number a:hover { text-decoration: underline; }
.phone-number i { font-size: 2rem !important; margin-right: 6px; }
@media (max-width: 768px) {
  .phone-hours { font-size: 0.95rem !important; }
  .phone-number, .phone-number a { font-size: 2.1rem !important; font-weight: 900 !important; }
  .phone-number i { font-size: 1.8rem !important; }
}
.btn-cv-phone { background: #ffffff; color: #0284c7 !important; font-weight: 800; font-size: 1.15rem; padding: 12px 28px; border-radius: 9999px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: all 0.2s ease; }
.btn-cv-phone:hover { transform: translateY(-3px); background: #f0f9ff; }
.btn-cv-form { background: #22c55e; color: #ffffff !important; font-weight: 800; font-size: 1.15rem; padding: 12px 28px; border-radius: 9999px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: all 0.2s ease; }
.btn-cv-form:hover { transform: translateY(-3px); background: #16a34a; }
.disclaimer-section { background-color: #f1f5f9; border-top: 1px solid #cbd5e1; padding: 1.25rem 1rem; text-align: center; }
.disclaimer-text { color: #475569; font-size: 0.78rem; line-height: 1.75; max-width: 900px; margin: 20px auto 0 auto !important; padding: 0 20px !important; text-align: left; }
.demo-inputs-row { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: stretch; margin-bottom: 0.75rem !important; }
/* @media (min-width: 768px) { .demo-inputs-row { grid-template-columns: 280px 1fr !important; } } */
#simStartBtn { margin-bottom: 0 !important; background-color: #dc2626 !important; color: #ffffff !important; border: 2px solid #b91c1c !important; }
.sim-btn-wrapper { margin-bottom: 30px !important; padding-bottom: 0 !important; }
.camera-box, .unified-input-box { padding: 0.75rem 1rem !important; }
.demo-gen-action-row { margin-bottom: 0.75rem !important; padding: 0.15rem 0 !important; text-align: center; margin-top: 0.5rem !important; display: flex; align-items: center; justify-content: center; gap: 10px; }
#unifiedGenBtn { padding: 0.6rem 1.25rem !important; font-size: 1rem !important; background-color: #059669 !important; box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important; }
.demo-output-inner { padding: 1rem !important; }
.sim-title-label { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); background-color: #ffffff; border: 4px solid #059669; color: #000000; font-weight: 900; font-size: 1.15rem; padding: 3px 28px; border-radius: 6px; z-index: 10; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); }
.num-circle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background-color: #d1fae5; color: #059669; border: 3px solid #059669; border-radius: 50%; font-size: 1.15rem; font-weight: 800; line-height: 1; flex-shrink: 0; }
.num-circle-pos { position: absolute; top: -14px; left: -12px; z-index: 5; }
.sim-box-title { font-size: 1.05rem !important; font-weight: 700 !important; color: #1e293b !important; display: inline-flex !important; align-items: center !important; gap: 4px !important; margin-right: 6px; }
@media (max-width: 767px) { body { padding-bottom: 120px !important; } .cv-btn-group { flex-direction: column; width: 100%; } .btn-cv-phone, .btn-cv-form { width: 100%; justify-content: center; } }
.trust-badge-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.trust-badge-card { background: #ffffff; border: 2px solid #0284c7; color: #0369a1; font-weight: 700; padding: 8px 16px; border-radius: 8px; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.safety-card { background: #ffffff; border: 2px solid #bae6fd; border-radius: 14px; padding: 1.75rem 20px !important; text-align: left !important; box-shadow: 0 6px 18px rgba(2, 132, 199, 0.06); }
.safety-badge { width: 52px; height: 52px; margin: 0 auto 0.9rem; border-radius: 50%; background: #0284c7; color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.safety-card h3 { font-size: 1.02rem; color: #0c4a6e; font-weight: 800; margin-bottom: 0.6rem; }
.safety-card p { font-size: 0.88rem; color: #475569; line-height: 1.75; text-align: left !important; margin: 0; }
@media (max-width: 900px) { .safety-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .safety-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .safety-card { padding: 1.25rem 20px !important; text-align: left !important; } .safety-card p { text-align: left !important; margin: 0 !important; } }
.adjust-axis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.25rem; text-align: left; }
.adjust-axis-card { background: #ffffff; border: 2px solid #e2e8f0; border-radius: 16px; padding: 1.75rem; border-top: 6px solid #94a3b8; }
.adjust-axis-card.axis-phase { border-top-color: #0284c7; }
.adjust-axis-card.axis-mood { border-top-color: #059669; }
.adjust-axis-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #ffffff; margin-bottom: 0.9rem; }
.axis-phase .adjust-axis-icon { background: #0284c7; }
.axis-mood .adjust-axis-icon { background: #059669; }
.adjust-axis-card h3 { font-size: 1.1rem; font-weight: 800; color: #1e293b; margin-bottom: 0.6rem; }
.adjust-axis-card p { font-size: 0.92rem; color: #475569; line-height: 1.8; }
.adjust-example-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1.5rem; text-align: left; }
.adjust-example-card { background: #fff7ed; border: 1.5px solid #fed7aa; border-radius: 12px; padding: 1.25rem 1.1rem; }
.adjust-example-card .ex-icon { color: #ea580c; font-size: 1.2rem; margin-bottom: 0.5rem; }
.adjust-example-card h4 { font-size: 0.92rem; font-weight: 800; color: #1e293b; margin-bottom: 0.45rem; line-height: 1.5; }
.adjust-example-card p { font-size: 0.82rem; color: #57534e; line-height: 1.7; }
.adjust-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.25rem; background: #f8fafc; border-radius: 14px; padding: 1.5rem 1rem; }
.adjust-flow-step { background: #ffffff; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 0.7rem 1rem; font-size: 0.85rem; font-weight: 700; color: #334155; text-align: center; min-width: 118px; }
.adjust-flow-arrow { color: #cbd5e1; font-size: 1.1rem; }
@media (max-width: 900px) { .adjust-axis-grid { grid-template-columns: 1fr; } .adjust-example-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .adjust-example-grid { grid-template-columns: 1fr; } .adjust-flow { flex-direction: column; } .adjust-flow-arrow { transform: rotate(90deg); } }
.pc-side-nav-all { position: fixed; right: 14px; top: 95px; z-index: 99999 !important; background: #ffffff; border: 2px solid #059669; border-radius: 14px; padding: 6px 5px; box-shadow: 0 6px 20px rgba(0,0,0,0.25); display: flex; flex-direction: column; gap: 3.5px; height: 520px; max-height: calc(100vh - 115px); overflow-y: auto; scrollbar-width: thin; }
.pc-side-nav-all::-webkit-scrollbar { width: 3px; }
.pc-side-nav-all::-webkit-scrollbar-thumb { background: #a7f3d0; border-radius: 3px; }
.pc-side-item { display: flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 5px; color: #475569; text-decoration: none; font-size: 0.75rem; font-weight: 700; white-space: nowrap; transition: all 0.15s ease; line-height: 1.2; }
.pc-side-item i { font-size: 0.85rem; color: #059669; width: 13px; text-align: center; }
.pc-side-item.active, .pc-side-item:hover { background: #d1fae5; color: #047857; font-weight: 800; box-shadow: inset 0 0 0 1px #10b981; }
.pc-side-item.active i, .pc-side-item:hover i { color: #047857; }
.pc-side-item.btn-side-contact { background: #059669; color: #ffffff !important; margin-top: 1px; justify-content: center; padding: 4px 6px; }
.pc-side-item.btn-side-contact i { color: #ffffff; }
.warning-text-card { background: #fff; border: 2px solid #fca5a5; border-radius: 12px; padding: 2rem; margin-top: 0 !important; color: #1e293b; max-width: 1150px !important; margin-left: auto; margin-right: auto; }
.warning-text-card h3 { font-size: 1.3rem; color: #dc2626; margin-bottom: 1rem; }
.warning-text-card p { line-height: 1.85; font-size: 0.98rem; color: #334155; margin-bottom: 1rem; }
.teigen-modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.75) !important; z-index: 999999; align-items: center; justify-content: center; padding: 0; }
.teigen-modal-overlay.show { display: flex !important; }
.teigen-modal-content { background: #ffffff; border-radius: 12px; width: 95vw; height: 95vh; max-width: none; display: flex; flex-direction: column; overflow: hidden; border: 10px solid #888888; box-sizing: border-box; }
.teigen-modal-header { background: #1e293b; color: #fff; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.teigen-modal-close-btn { background: #ef4444; color: #ffffff; border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color 0.2s, transform 0.1s; padding: 0; outline: none; }
.teigen-modal-close-btn:hover { background: #dc2626; transform: scale(1.05); }
.teigen-modal-iframe { width: 100%; height: 100%; border: none; }
@media (max-width: 1199px) { .pc-side-nav-all { display: none !important; } }
@media (max-width: 600px) { .footer-cta-buttons { justify-content: center; } }
.otosiana-frame { max-width: 1150px !important; margin: 0 auto; background: #fff; border-radius: 14px; overflow: hidden; }
.otosiana-frame section { padding: 30px 20px; }
.otosiana-frame .eyebrow { color: #e8672c; font-size: 0.9rem !important; font-weight: 800; letter-spacing: .1em; text-align: center; display: block; }
.otosiana-frame h2 { margin: 12px 0 0; font-size: 2.2rem !important; color: #12213f; font-weight: 800 !important; line-height: 1.4 !important; text-align: center; font-family: 'Noto Serif JP','Shippori Mincho','游明朝','Yu Mincho',serif !important; }
.otosiana-frame .lead { margin: 16px auto 0; font-size: 1.05rem !important; color: #475569 !important; line-height: 1.85 !important; max-width: 800px !important; text-align: center; }
.otosiana-frame .compare-block { margin-top: 40px; }
.otosiana-frame .compare-label { font-size: 0.98rem !important; font-weight: 800; color: #334155; margin-bottom: 10px; }
.otosiana-frame .bar { display: flex; border-radius: 10px; overflow: hidden; height: 62px !important; margin-top: 8px; }
.otosiana-frame .bar-naive .seg1 { flex: 1; background: #9aa5b8; }
.otosiana-frame .bar-naive .seg2 { flex: 1; background: #d7dbe2; }
.otosiana-frame .bar span { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-size: 0.98rem !important; font-weight: 800; padding: 0 8px; line-height: 1.05; white-space: normal; text-align: center; word-break: break-word; }
.otosiana-frame .bar-naive .seg2 span { color: #334155; }
.otosiana-frame .pitfall-mark { position: relative; height: 0; margin-bottom: 8px; }
.otosiana-frame .pitfall-mark .flag { position: absolute; top: -64px; left: 50%; transform: translateX(-50%); background: #d64545; color: #fff; font-size: 0.9rem !important; font-weight: 800; padding: 6px 14px; border-radius: 8px; white-space: nowrap; box-shadow: 0 6px 16px rgba(214,69,69,0.28); }
  /* removed stray pseudo-element left in wrong place */
.otosiana-frame .versus { text-align: center; margin: 26px 0; font-size: 0.98rem !important; color: #334155; font-weight: 800; }
.otosiana-frame .bar-real { position: relative; }
.otosiana-frame .bar-real .segs { display: flex; border-radius: 10px; overflow: hidden; height: 62px !important; }
.otosiana-frame .bar-real .s1 { flex: 1.1; background: #2f6fc2; }
.otosiana-frame .bar-real .s2 { flex: 0.55; background: #d64545; }
.otosiana-frame .bar-real .s3 { flex: 0.9; background: #e8672c; }
.otosiana-frame .bar-real .s4 { flex: 1; background: #2f8f5b; }
.otosiana-frame .bar-real span { font-size: 0.92rem !important; font-weight: 800; }
.otosiana-frame .callout { margin-top: 36px; background: #fdecec; border: 1.5px solid #f6c6c6; border-radius: 14px; padding: 26px 28px; }
.otosiana-frame .callout .tag { display: inline-block; background: #d64545; color: #fff; font-size: 0.88rem !important; font-weight: 800; padding: 4px 14px; border-radius: 20px; }
.otosiana-frame .callout h4 { margin: 14px 0 0; font-size: 1.25rem !important; color: #12213f; font-weight: 800; line-height: 1.5; }
.otosiana-frame .callout p { margin-top: 10px; font-size: 1.02rem !important; color: #7a3030; line-height: 1.85; }
.otosiana-frame .reason-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.otosiana-frame .reason-card { background: #f6f7f9; border-radius: 12px; padding: 22px 24px; }
.otosiana-frame .reason-card .num { color: #e8672c; font-weight: 800; font-size: 0.9rem !important; }
.otosiana-frame .reason-card h5 { margin: 8px 0 0; font-size: 1.18rem !important; color: #12213f; font-weight: 800; }
.otosiana-frame .reason-card p { margin-top: 10px; font-size: 0.98rem !important; color: #475569; line-height: 1.8; }
.otosiana-frame .support-strip { margin-top: 36px; background: linear-gradient(120deg,#12213f,#1f3a63); color: #fff; border-radius: 14px; padding: 26px 30px; display: flex; align-items: center; gap: 20px; }
.otosiana-frame .support-strip .ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.otosiana-frame .support-strip p { font-size: 1.05rem !important; color: #cbd4e6; line-height: 1.85; margin: 0; }
.otosiana-frame .support-strip b { color: #ffcf94; }
.otosiana-frame .disclaimer { margin-top: 24px; font-size: 0.82rem !important; color: #64748b; line-height: 1.8; border-top: 1px solid #e6e8ec; padding-top: 16px; }
@media(max-width:820px){ .otosiana-frame .reason-grid { grid-template-columns: 1fr; } }
.phases-frame { max-width: 1150px !important; margin: 0 auto; background: #fff; }
.phases-frame section { padding: 30px 20px; }
@media (max-width: 768px){
  .phases-frame section { padding: 30px 5px; }
}
.phases-frame .eyebrow { color: #e8672c; font-size: 0.9rem !important; font-weight: 800; letter-spacing: .1em; text-align: center; display: block; }
.phases-frame h2 { margin: 12px 0 0; font-size: 2.2rem !important; color: #12213f; font-weight: 800 !important; line-height: 1.4 !important; text-align: center; font-family: 'Noto Serif JP','Shippori Mincho','游明朝','Yu Mincho',serif !important; }
.phases-frame .lead { margin: 16px auto 0; font-size: 1.05rem !important; color: #475569 !important; line-height: 1.85 !important; max-width: 800px !important; text-align: center; }
.phases-frame .switch-demo { margin-top: 36px; background: #f6f7f9; border-radius: 16px; padding: 24px; }
.phases-frame .switch-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; background: #fff; border-radius: 14px; padding: 8px; max-width: 820px; margin: 0 auto; border: 1px solid #e6e8ec; }
.phases-frame .switch-opt { text-align: center; padding: 14px 8px; font-size: 0.95rem !important; font-weight: 800; border-radius: 10px; color: #fff; line-height: 1.5; }
.phases-frame .switch-opt .n { display: block; font-size: 0.78rem !important; font-weight: 700; opacity: .9; margin-bottom: 4px; }
.phases-frame .switch-opt > i { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.phases-frame .rcard .tag i { margin-right: 2px; }
.phases-frame .opt1 { background: #2f6fc2; }
.phases-frame .opt2 { background: #d64545; }
.phases-frame .opt3 { background: #e8672c; }
.phases-frame .opt4 { background: #2f8f5b; }
.phases-frame .switch-caption { text-align: center; margin-top: 14px; font-size: 0.95rem !important; color: #475569; }
.phases-frame .memo-source { margin: 28px auto 0; max-width: 580px; background: #f6f7f9; border: 1.5px dashed #c7cdd6; border-radius: 10px; padding: 14px 20px; font-size: 1rem !important; color: #334155; text-align: center; }
.phases-frame .memo-source b { color: #12213f; }
.phases-frame .arrow-down { text-align: center; font-size: 0.95rem !important; color: #475569; margin: 16px 0 0; font-weight: 700; }
.phases-frame .compare4 { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.phases-frame .rcard { border-radius: 14px; padding: 24px; border: 2px solid #e6e8ec; background: #fff; border-top-width: 6px; }
.phases-frame .rcard.p1 { border-top-color: #2f6fc2; }
.phases-frame .rcard.p2 { border-top-color: #d64545; }
.phases-frame .rcard.p3 { border-top-color: #e8672c; }
.phases-frame .rcard.p4 { border-top-color: #2f8f5b; }
.phases-frame .rcard .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem !important; font-weight: 800; padding: 5px 14px; border-radius: 20px; color: #fff; }
.phases-frame .rcard.p1 .tag { background: #2f6fc2; }
.phases-frame .rcard.p2 .tag { background: #d64545; }
.phases-frame .rcard.p3 .tag { background: #e8672c; }
.phases-frame .rcard.p4 .tag { background: #2f8f5b; }
.phases-frame .rcard .result-box { margin-top: 14px; background: #f6f7f9; border-radius: 8px; padding: 14px 16px; font-size: 0.98rem !important; color: #1a2333; line-height: 1.85; min-height: 100px; }
.phases-frame .rcard .ng-ok { margin-top: 14px; display: flex; align-items: flex-start; gap: 8px; font-size: 0.9rem !important; border-radius: 8px; padding: 12px 14px; line-height: 1.6; }
.phases-frame .rcard.p1 .ng-ok, .phases-frame .rcard.p2 .ng-ok { background: #fdecec; color: #d64545; }
.phases-frame .rcard.p3 .ng-ok, .phases-frame .rcard.p4 .ng-ok { background: #eaf7ef; color: #2f8f5b; }
.phases-frame .rcard .ng-ok b { flex-shrink: 0; }
.phases-frame .rule-note { margin-top: 32px; background: #fff1e8; border-radius: 12px; padding: 22px 24px; font-size: 1.02rem !important; color: #7a3a1a; line-height: 1.85; }
.phases-frame .rule-note b { color: #e8672c; }
.phases-frame .disclaimer { margin-top: 24px; font-size: 0.82rem !important; color: #64748b; line-height: 1.8; border-top: 1px solid #e6e8ec; padding-top: 16px; }
@media(max-width:820px){ .phases-frame .switch-row { grid-template-columns: 1fr 1fr; } .phases-frame .compare4 { grid-template-columns: 1fr; } .otosiana-frame h2, .phases-frame h2 { font-size: 1.6rem !important; } .otosiana-frame .lead, .phases-frame .lead { font-size: 0.95rem !important; } }

/* otosiana-frame: extra mobile adjustments (<=640px) for improved readability */
@media (max-width: 640px) {
  .otosiana-frame { max-width: 100% !important; margin: 0.6rem auto !important; border-radius: 12px !important; }
  .otosiana-frame section { padding: 18px 14px !important; }
  .otosiana-frame .eyebrow { font-size: 0.8rem !important; letter-spacing: .06em; }
  .otosiana-frame h2 { font-size: 1.25rem !important; line-height: 1.35 !important; text-align: left; }
  .otosiana-frame .lead { font-size: 0.95rem !important; line-height: 1.6 !important; max-width: 100% !important; text-align: left; margin-top: 8px; }

  /* Slim down the timeline bars */
  .otosiana-frame .bar, .otosiana-frame .bar-real .segs { height: 44px !important; }
  .otosiana-frame .bar span, .otosiana-frame .bar-real span { font-size: 0.85rem !important; padding: 0 6px; }
  .otosiana-frame .pitfall-mark .flag { top: -40px !important; font-size: 0.82rem !important; padding: 6px 12px !important; }

  /* Callout box: stack tighter */
  .otosiana-frame .callout { padding: 14px 12px !important; border-radius: 10px !important; }
  .otosiana-frame .callout h4 { font-size: 1rem !important; line-height: 1.4 !important; }
  .otosiana-frame .callout p { font-size: 0.95rem !important; line-height: 1.6 !important; }

  /* Reason cards: single column, reduced padding and font-size */
  .otosiana-frame .reason-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .otosiana-frame .reason-card { padding: 12px 12px !important; }
  .otosiana-frame .reason-card h5 { font-size: 1rem !important; }
  .otosiana-frame .reason-card p { font-size: 0.92rem !important; }

  /* Support strip: stacked layout */
  .otosiana-frame .support-strip { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; padding: 14px 14px !important; }
  .otosiana-frame .support-strip .ic { width: 44px !important; height: 44px !important; font-size: 20px !important; }
  .otosiana-frame .support-strip p { font-size: 0.95rem !important; line-height: 1.6 !important; }

  .otosiana-frame .disclaimer { font-size: 0.78rem !important; }
}
/* Fix header on small screens: make it fixed and push page content down */
@media (max-width: 767px) {
  .site-header { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 9999 !important; background-color: rgba(255,255,255,0.98) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important; }
  .header-inner { height: 4rem !important; }
  body { padding-top: 4rem !important; }
}
@media (max-width: 420px) {
  .otosiana-frame .bar, .otosiana-frame .bar-real .segs { height: 40px !important; }
  .otosiana-frame .bar span, .otosiana-frame .bar-real span { font-size: 0.8rem !important; padding: 0 6px !important; }
  .otosiana-frame .pitfall-mark .flag { top: -32px !important; padding: 5px 10px !important; font-size: 0.78rem !important; }
  .otosiana-frame .bar { margin-top: 18px !important; }
}

/* On small screens, make the pitfall flag flow above the bar (vertical) to avoid overlap */
@media (max-width: 640px) {
  .otosiana-frame .pitfall-mark { position: static !important; height: auto !important; margin-bottom: 8px !important; text-align: center !important; }
  .otosiana-frame .pitfall-mark .flag { position: static !important; transform: none !important; display: inline-block !important; margin: 0 0 8px !important; left: auto !important; top: auto !important; white-space: normal !important; }
  .otosiana-frame .bar { margin-top: 6px !important; }

  /* Stack the segs vertically on small screens for better readability */
  .otosiana-frame .bar-real .segs { display: flex !important; flex-direction: column !important; height: auto !important; gap: 8px !important; align-items: center !important; }
  /* Center the group but left-align inner text */
  .otosiana-frame .bar-real .segs > * { width: 94% !important; max-width: 520px !important; flex: none !important; display: flex !important; align-items: center !important; justify-content: flex-start !important; padding: 10px 16px !important; border-radius: 10px !important; text-align: left !important; }
  .otosiana-frame .bar-real .segs > * span { display: inline-flex !important; align-items: center !important; gap: 10px !important; justify-content: flex-start !important; }

  /* Mobile font-size for segment labels and bar labels */
  .otosiana-frame .bar-real .segs > * span,
  .otosiana-frame .bar span,
  .otosiana-frame .bar-real span { font-size: 1.2rem !important; }
  .otosiana-frame .bar-real .segs > *:not(:last-child) { margin-bottom: 0 !important; }
  .otosiana-frame .bar-real .segs .s1, .otosiana-frame .bar-real .segs .s2, .otosiana-frame .bar-real .segs .s3, .otosiana-frame .bar-real .segs .s4 { color: #fff !important; }
}
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 99999; align-items: center; justify-content: center; padding: 1rem; }
.modal-content { position: relative; max-width: 650px; width: 100%; max-height: 85vh; overflow-y: auto; background: #fff; border-radius: 0.75rem; padding: 2rem; color: #1e293b; }
.modal-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: none; font-size: 1.75rem; cursor: pointer; color: #64748b; }
.modal-image { width: 100%; height: auto; border-radius: 8px; display: block; }

/* Fix list indentation inside modal disclaimer text */
.modal-content .disclaimer-text ul {
  list-style: disc;
  padding-left: 1.25rem; /* restore readable indent */
  margin-top: 0.5rem;
}
.modal-content .disclaimer-text li {
  margin-bottom: 0.4rem;
}

/* Gallery Modal (#galleryModal): full-screen image viewer, overrides the generic .modal-overlay/.modal-content above */
#galleryModal.modal-overlay { position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; background: rgba(0, 0, 0, 0.8) !important; display: none; align-items: center !important; justify-content: center !important; z-index: 99999 !important; padding: 20px !important; box-sizing: border-box !important; }
#galleryModal.modal-overlay.show { display: flex !important; }
#galleryModal .modal-content { position: relative !important; max-width: 90vw !important; max-height: 90vh !important; width: auto !important; height: auto !important; background: transparent !important; padding: 0 !important; border: none !important; box-shadow: none !important; overflow: visible !important; display: flex !important; justify-content: center !important; align-items: center !important; }
#galleryModal .modal-image { max-width: 90vw !important; max-height: 90vh !important; width: auto !important; height: auto !important; object-fit: contain !important; border-radius: 8px !important; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5) !important; display: block !important; }
#galleryModal .modal-close { position: absolute !important; top: -18px !important; right: -18px !important; width: 44px !important; height: 44px !important; background-color: #d9480f !important; color: #ffffff !important; border-radius: 50% !important; border: none !important; font-size: 1.6rem !important; font-weight: bold !important; cursor: pointer !important; display: flex !important; align-items: center !important; justify-content: center !important; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important; z-index: 10 !important; line-height: 1 !important; padding: 0 !important; transition: transform 0.2s ease, background-color 0.2s ease !important; }
#galleryModal .modal-close:hover { background-color: #b83a0a !important; transform: scale(1.08) !important; }

.camera-box, .camera-box-dark { border-radius: 12px; padding: 0.75rem 1rem !important; margin-bottom: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: visible; background: #f8fafc; border: 1.5px solid #cbd5e1; }
.camera-controls-wrapper { flex-grow: 1; display: flex; align-items: center; justify-content: center; padding: 6px 0; }
.camera-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-camera { display: inline-flex; align-items: center; gap: 8px; background-color: #7c3aed !important; color: #ffffff; border: none; border-radius: 9999px; padding: 0.65rem 1.8rem; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background .2s; white-space: nowrap; box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3); }
.btn-camera:hover { background: #9d4edd; }
.btn-camera-snap { background: #10b981; display: none; }
.btn-camera-snap:hover { background: #059669; }
.btn-camera-stop { background: #dc2626; display: none; }
.btn-camera-stop:hover { background: #b91c1c; }
.camera-preview-wrap { border-radius: 8px; overflow: hidden; display: none; margin-top: 8px; }
.camera-video { border-radius: 8px; border: 1px solid #cbd5e1; max-width: 100%; }
.camera-snapshot-wrap { text-align: center; display: none; margin-top: 8px; }
.camera-snapshot-img { border-radius: 8px; max-width: 100%; border: 1px solid #6ee7b7; }
.camera-note { color: #059669; font-size: 12px; margin-top: 8px; }
/* Mobile menu styling and slide "ニュッ" animation */
.mobile-menu { position: fixed; top: 0; left: 0; right: 0; height: 100vh; max-height: 100vh; background: #ffffff; z-index: 1200; box-shadow: 0 8px 30px rgba(2,6,23,0.12); transform-origin: top center; transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 220ms ease; opacity: 0; transform: translateY(-8%) scaleY(0.995); pointer-events: none; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 1.25rem 1rem 1.5rem; will-change: transform, opacity; }
.mobile-menu.is-hidden { opacity: 0; transform: translateY(-8%) scaleY(0.995); pointer-events: none; }
.mobile-menu.is-active { opacity: 1; transform: translateY(0) scaleY(1); pointer-events: auto; }
.mobile-menu a { display: block; padding: 4px 14px; border-radius: 10px; margin-bottom: 0px; color: #0f172a; font-weight: 700; font-size: 1rem; text-decoration: none; background: transparent; }
.mobile-menu a:hover { background: rgba(15,23,42,0.04); }
.mobile-menu .nav-highlight { background: transparent !important; color: inherit !important; }
.mobile-cta-group { margin-top: 14px; display:flex; gap:10px; flex-direction: column; }
.btn-primary-block, .btn-emerald-block { display: block; width: 100%; padding: 12px 14px; border-radius: 10px; text-align: center; font-weight: 800; }
.btn-primary-block { background:#2f6fc2; color:#fff; }
.btn-emerald-block { background:#10b981; color:#fff; width: 300px;}
.mobile-menu-close { position: absolute; top: 10px; right: 12px; background: rgba(0,0,0,0.04); border: none; width: 40px; height: 40px; border-radius: 999px; display: none; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; }
.mobile-menu.is-active .mobile-menu-close { display: inline-flex; }
/* Ensure header button reflects state visually */
.menu-btn[aria-expanded="true"] { transform: rotate(90deg); transition: transform 260ms ease; }
/* When menu active, prevent body scroll on mobile */
html.menu-open, body.menu-open { overflow: hidden; height: 100%; }

/* Slightly push down menu content so close button and safe-area are visible on notch devices */
.mobile-menu { padding-top: calc(1.25rem + env(safe-area-inset-top)); padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
.input-methods-box { background: #f8fafc; margin-bottom: 0; height: 100%; position: relative; overflow: visible; }
.unified-input-box, .unified-input-dark { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: 0.75rem 1rem !important; background: #f8fafc; border: 1.5px solid #cbd5e1; border-radius: 12px; margin-bottom: 16px; }
.unified-hint { color: #dc2626; font-size: 0.8rem; font-weight: bold; margin-top: 2px; }
.unified-input-row { display: flex; align-items: stretch; gap: 8px; }
.btn-unified-mic { flex-shrink: 0; width: 100px; background: #fff; border: 4px solid #2563eb; border-radius: 16px; color: #2563eb; font-size: 50px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; align-self: stretch; }
.btn-unified-mic:hover { background: #dbeafe; border-color: #2563eb; color: #1d4ed8; }
.btn-unified-mic.recording { background: #fee2e2; border-color: #fca5a5; color: #dc2626; animation: pulse-mic .8s ease-in-out infinite alternate; }
@keyframes pulse-mic { from { box-shadow: 0 0 0 0 rgba(220, 38, 38, .4); } to { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); } }
.unified-textarea { flex: 1; padding: 10px 12px; font-size: 16px; line-height: 1.7; color: #1e293b; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 6px; resize: none; font-family: inherit; min-height: 72px; }
.unified-textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, .1); }
.demo-gen-action-row { text-align: center; margin-top: 0.5rem !important; margin-bottom: 0.75rem !important; padding: 0.15rem 0 !important; display: flex; align-items: center; justify-content: center; gap: 10px; }
.demo-output-inner { padding: 1rem !important; background: #f8fafc; border-color: #cbd5e1; border-radius: 12px; flex: 1; }
.demo-loading { display: none; text-align: center; padding: 48px 20px; }
.demo-loading.show { display: block !important; }
.ld-spinner { width: 40px; height: 40px; border: 3px solid #e2e8f0; border-top-color: #2563eb; border-radius: 50%; animation: spin-ld .8s linear infinite; margin: 0 auto 14px; }
@keyframes spin-ld { to { transform: rotate(360deg); } }
.ld-txt { color: #475569; font-size: 13px; }
.demo-output { display: none; }
.demo-output.show { display: block !important; }
.doh { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.dob-wrap { display: flex; gap: 6px; flex-wrap: wrap; }
.dob { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.dob-or { background: rgba(232, 93, 38, .2); border: 1px solid rgba(232, 93, 38, .4); color: #fb923c; }
.dob-bl { background: rgba(59, 130, 246, .2); border: 1px solid rgba(59, 130, 246, .4); color: #60a5fa; }
.dob-gr { background: rgba(16, 185, 129, .2); border: 1px solid rgba(16, 185, 129, .4); color: #34d399; }
.comp-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 16px; }
.comp-card { border-radius: 10px; padding: 12px 14px; }
.comp-card.bef { display: block; background: #f1f5f9; border: 1px solid #cbd5e1; }
.comp-card.aft { background: #ecfdf5; border: 1px solid #a7f3d0; }
.comp-lbl { font-size: 11px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.comp-lbl.bef { color: #475569; }
.comp-lbl.aft { color: #059669; }
.comp-txt { font-size: 13px; line-height: 1.8; color: #1e293b; }
.ai-edit-section { margin-bottom: 10px; }
.ai-edit-title-input { width: 100%; padding: 7px 10px; font-size: 15px; font-weight: 700; color: #1d4ed8; border: 1.5px solid #bfdbfe; border-radius: 6px; background: #eff6ff; outline: none; }
.ai-edit-title-input:focus { border-color: #2563eb; background: #fff; }
.ai-edit-conclusion-textarea { width: 100%; padding: 8px 12px; font-size: 13px; font-weight: 600; color: #065f46; background: #ecfdf5; border: 1.5px solid #6ee7b7; border-radius: 6px; resize: none; overflow: hidden; line-height: 1.7; outline: none; display: block; min-height: 72px; }
.ai-edit-conclusion-textarea:focus { border-color: #10b981; background: #f0fdf4; }
.ai-edit-body-textarea { width: 100%; padding: 8px 12px; font-size: 13px; color: #334155; background: #f8fafc; border: 1.5px solid #cbd5e1; border-radius: 6px; resize: none; overflow: hidden; line-height: 1.8; outline: none; display: block; min-height: 200px; }
.ai-edit-body-textarea:focus { border-color: #94a3b8; background: #fff; }
.ai-edit-hint { font-size: 11px; color: #94a3b8; margin-top: 5px; }
.ai-save-warning { font-size: 12px; color: #b45309; display: none; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 20px; border: none; cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: opacity .2s; }
.btn-sm:disabled, .btn-sm.btn-disabled { opacity: .55; background: #94a3b8; color: #fff; cursor: not-allowed; pointer-events: none; }
.btn-gy { background: #aaa; color: #fff; }
.comp-stats { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.sns-prev { display: none; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 10px; padding: 14px; }
.sns-prev.show { display: block !important; }
.sns-prev-ttl { font-size: 12px; font-weight: 700; color: #475569; margin-bottom: 10px; }
.sns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sns-card { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px; }
.sns-hd { font-size: 11px; font-weight: 700; color: #334155; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; }
.sns-body { font-size: 12px; color: #475569; line-height: 1.7; }
.demo-err { display: none; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 14px; color: #991b1b; }
.demo-err.show { display: block !important; }
.demo-footer-new { display: none; margin-top: 16px; gap: 10px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.ai-post-warning { font-size: 12px; color: #b45309; text-align: center; }
.btn-outline-sm { background: transparent; border: 1px solid #cbd5e1; color: #334155; padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background .2s; }
.btn-outline-sm:hover { background: #f3f4f6; }
.btn-outline-sm:disabled, .btn-outline-sm.btn-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.cf-steps { display: flex; align-items: center; gap: .5rem; justify-content: center; margin-bottom: 1.5rem; font-size: .85rem; font-weight: 600; }
.cf-step { padding: .25rem .75rem; border-radius: 20px; background: #e2e8f0; color: #64748b; }
.cf-step.active { background: #10b981; color: #fff; }
.cf-step-arrow { color: #94a3b8; }
.cf-err { display: block; color: #ef4444; font-size: .8rem; margin-top: .25rem; }
.consult-textarea-wrap { display: none; }
.cf-confirm-table { background: #f8fafc; border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; }
.cf-confirm-row { display: grid; grid-template-columns: 130px 1fr; gap: .5rem; padding: .75rem 1rem; border-bottom: 1px solid #e2e8f0; }
.cf-confirm-row:last-child { border-bottom: none; }
.cf-confirm-label { font-weight: 600; color: #475569; font-size: .875rem; }
.cf-confirm-val { color: #1e293b; font-size: .875rem; word-break: break-all; }
.header-cta-phone { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-wrap: wrap; }
.urgent-badge { display: inline-block; color: #e15050; font-weight: 600; font-size: 12px; white-space: nowrap; border-bottom: 2px solid #e15050; padding-bottom: 2px; }
.phone-link-large { color: #e15050; font-weight: 900; font-size: 22px; text-decoration: none; transition: all 0.2s; letter-spacing: 0.5px; line-height: 1; }
.phone-link-large:hover { color: #c41e3a; text-shadow: 0 2px 8px rgba(225, 80, 80, 0.4); }
@media(max-width:640px) {
  .btn-unified-mic { width: 56px !important; height: 56px !important; min-width: 56px !important; min-height: 56px !important; border-radius: 50% !important; font-size: 26px !important; align-self: center !important; flex-shrink: 0 !important; }
  .input-methods-box { background: transparent !important; padding: 0 !important; margin: 0 !important; width: 100% !important; }
  .sim-box-header { margin-bottom: 12px !important; }
  .unified-input-box, .unified-input-dark { border: none !important; background: transparent !important; padding: 0.25rem 0 !important; margin: 0 !important; width: 100% !important; }
  .unified-input-row { display: flex !important; align-items: center !important; gap: 6px !important; width: 100% !important; padding: 0 !important; margin-top: 10px !important; margin-bottom: 0 !important; }
  .unified-textarea { flex: 1 !important; width: 100% !important; font-size: 13px !important; line-height: 1.45 !important; padding: 6px 8px !important; box-sizing: border-box !important; }
  .unified-action-row { justify-content: center; }
  .btn-emerald-sm { width: 100%; justify-content: center; }
  #saveArticleBtn { width: auto !important; }
  #revertArticleBtn { width: auto !important; flex-shrink: 0; }

  /* global overflow safety for small screens */
  html, body { max-width: 100%; overflow-x: hidden; }

  /* demo-container: 極限まで左右パディングを縮小 (6px) */
  .demo-container {
    position: relative !important;
    padding: 1.75rem 6px 1.25rem 6px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 1.75rem 0 1rem 0 !important;
    border: 3px solid #ea580c !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* sim-title-label: PCと同じく上枠の中央に浮かぶバッジ形式に統一 */
  .sim-title-label, .demo-container .sim-title-label {
    position: absolute !important;
    top: -20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: inline-block !important;
    margin: 0 !important;
    white-space: nowrap !important;
    font-size: 0.95rem !important;
    padding: 4px 18px !important;
    background-color: #ffffff !important;
    border: 3px solid #ea580c !important;
    color: #000000 !important;
    font-weight: 900 !important;
    border-radius: 6px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  }

  /* ensure children don't exceed container */
  .demo-container * { max-width: 100%; box-sizing: border-box; }

  .demo-output-col {
    padding: 0.5rem !important;
    min-height: auto !important;
  }

  .demo-container .sample-phone-mockup { width: 180px !important; }
  .demo-container .sample-phone-screen { min-height: 200px !important; padding: 10px 8px 10px !important; }
  .demo-container .hero-sample-inner, .demo-container .hero-visual-stage { max-width: 100% !important; margin: 0 auto !important; padding: 0 !important; }
  .demo-container .bubble-group-left, .demo-container .bubble-group-right { margin-left: 0 !important; margin-right: 0 !important; }
  .demo-container .sample-catch-main { font-size: 1.25rem !important; }

  .demo-container .bubble-group-left { margin-right: 0 !important; margin-bottom: 0 !important; }
  .demo-container .bubble-group-right { margin-left: 0 !important; margin-bottom: 0 !important; }
  .demo-container .stage-col-left, .demo-container .stage-col-right { margin-left: 0 !important; margin-right: 0 !important; }

  .comp-card { padding: 8px 8px; }
  .ai-edit-title-input, .ai-edit-conclusion-textarea, .ai-edit-body-textarea { font-size: 15px; }
  .demo-footer-new { flex-direction: column; align-items: stretch; }
  .demo-footer-new .btn-emerald-sm { width: 100%; justify-content: center; }
  .ai-post-warning { text-align: center; }
  .dfg-grid { gap: 8px; }
  .demo-output-inner { padding: 6px; }
  .camera-controls { flex-direction: column; }
  .dfg { flex-direction: column; align-items: flex-start; }
  .dfg .form-label { min-width: auto; }
  .comp-grid, .sns-grid { grid-template-columns: 1fr; }
}

/* Mobile footer: show large tappable phone number */
@media (max-width: 767px) {
  .site-footer { padding: 0.5rem 0 !important; }
  .site-footer .footer-top { display: none !important; }
  /* keep footer buttons side-by-side on mobile as requested */
  .site-footer .footer-bottom { display: flex !important; flex-direction: row !important; gap: 6px; align-items: center; justify-content: center; padding: 0 0.5rem !important; flex-wrap: wrap; }
  .site-footer .footer-bottom .footer-tel-large { display: inline-block !important; font-size: 1.2rem !important; font-weight: 900 !important; color: #ea580c !important; background: #ffffff !important; padding: 6px 14px !important; border-radius: 9999px !important; text-decoration: none !important; box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important; margin-bottom: 0 !important; }
  .site-footer .footer-bottom .footer-tel-large:hover { transform: translateY(-2px); }
  .site-footer .footer-bottom span { font-size: clamp(0.52rem, 2.6vw, 0.75rem) !important; white-space: nowrap !important; margin: 0 !important; }
}

/* ------- 最優先: モバイル上書き（ファイル末尾に配置） ------- */
@media (max-width: 768px) {
  /* Base font-size を確実に上書き */
  body{font-size:16px!important;line-height:1.65!important}
  p, .pricing-table tbody td, .plan-desc, .accordion-body {font-size:16px!important}

  /* 料金表 特定行を確実に左寄せ */
  .pricing-table tbody tr:nth-child(1) td:not(.label-col){text-align:left!important}
  .pricing-table tbody tr:nth-child(2) td:not(.label-col){text-align:left!important}

  /* プラン列幅の最小値を確実にセット（必要なら数値を変更してください） */
  .pricing-table thead th:not(:first-child), .pricing-table tbody td:not(.label-col){min-width:260px!important;white-space:normal!important}

  /* フッターコピーライト文字サイズ・折り返し防止・上下余白均等化 */
  .site-footer { padding: 0.5rem 0 !important; }
  .site-footer .footer-bottom { padding: 0 0.5rem !important; margin: 0 !important; }
  .site-footer .footer-bottom span { font-size: clamp(0.52rem, 2.6vw, 0.75rem) !important; white-space: nowrap !important; margin: 0 !important; }
}

/* Pricing セクションの説明をモバイルで左寄せにする */
@media (max-width: 768px) {
  .section-description.text-center { text-align: left !important; }
}

/* モバイル用ヒーロー画像 */
.hero-sp-img { display: none; }
@media (max-width: 768px) {
  .hero-sp-img { display: block; width: 100%; height: auto; }
  .hero-section-sample { background: none !important; padding: 0 !important; }
  .hero-visual-stage { display: none !important; }
}

/* インフォメーション用テーブルスタイル */
.info-table { width: 100%; border-collapse: collapse; margin-top: 0.25rem; }
.info-table th { white-space: nowrap; padding: 0.75rem 1rem; background-color: #f1f5f9; color: #1e293b; font-weight: 700; text-align: left; border-bottom: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; vertical-align: top; }
.info-table td { padding: 0.75rem 1rem; color: #334155; border-bottom: 1px solid #e2e8f0; vertical-align: top; text-align: left; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: 100%; border-right: none; white-space: normal; }
  .info-table th { background-color: #e2e8f0; padding-bottom: 0.25rem; border-bottom: none; }
  .info-table td { padding-top: 0.25rem; }
}

/* ===== 追加: お客様の声（2名並列表示） ===== */
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.card-testimonial { border-radius: 1rem; padding: 2rem 1.75rem; box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08); border: 1px solid transparent; }
.testimonial-blue { background: #eff6ff; border-color: #bfdbfe; }
.testimonial-pink { background: #fdf2f8; border-color: #fbcfe8; }
.testimonial-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(15,23,42,0.06); padding-bottom: 1rem; }
.testimonial-avatar { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.avatar-blue { background-color: #e0f2fe; color: #0284c7; }
.avatar-pink { background-color: #fce7f3; color: #db2777; }
.testimonial-name { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin: 0; }
.testimonial-tag { font-size: 0.85rem; font-weight: 600; }
.tag-blue { color: #0284c7; }
.tag-pink { color: #db2777; }
.testimonial-body { font-size: 1rem; color: #334155; line-height: 1.85; margin: 0; text-align: left; }
@media (max-width: 800px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ===== 追加: プルダウン(select)の視認性向上 ===== */
select.form-input-light,
.form-location-group select.form-input-light {
  background-color: #ffffff !important;
  border: 1px solid #6ee7b7 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.25a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.08z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem !important;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
select.form-input-light:hover {
  border-color: #059669 !important;
}
select.form-input-light:focus {
  outline: none;
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.25) !important;
}
/* プレースホルダー（未選択）状態は少し控えめな文字色に */
select.form-input-light:invalid,
select.form-input-light option[value=""] {
  color: #64748b;
}

/* ===== 追加: インフォメーション欄のアコーディオンは通常スタイルに戻す ===== */
#info-accordion .accordion-item { border: 1px solid #e2e8f0 !important; background-color: #ffffff; }
#info-accordion .accordion-header { background-color: #ffffff; justify-content: space-between; text-align: left; }
#info-accordion .accordion-header:hover { background-color: #f8fafc; }
#info-accordion .accordion-item.open .accordion-header { background-color: #f8fafc; }
#info-accordion .accordion-title { flex: 1; }
#info-accordion .accordion-icon { color: #94a3b8; font-size: 0.875rem; font-weight: 400; -webkit-text-stroke: 0; }

/* プラン別内容・費用詳細表 */
.plan-detail-table-wrapper { position: relative; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; touch-action: pan-x pan-y !important; max-width: 100%; border: 1px solid #cccccc !important; border-radius: 0.5rem; }
.plan-detail-table { width: 100%; border-collapse: collapse; background-color: #ffffff; border: none; }
.plan-detail-table thead th { background-color: #fff700; color: #1e293b; padding: 0.75rem 0.5rem; text-align: center; font-weight: 700; font-size: 0.875rem; border: 1px solid #cccccc; }
.plan-detail-table thead th.highlight-col { background-color: #fde047; }
.plan-detail-table thead th.label-col { text-align: left; }
.plan-detail-table tbody td { padding: 0.6rem 0.5rem; text-align: center; font-size: 0.875rem; color: #1e293b; border: 1px solid #e2e8f0; }
.plan-detail-table tbody td.label-col { text-align: left; font-weight: 600; }
.plan-detail-table tbody td.highlight-col { background-color: #fffbe6; }
.plan-detail-table tbody td.mark-x { color: #2563eb; font-weight: 700; }
.plan-detail-table tbody tr:not(.total-row) td:nth-child(3),
.plan-detail-table tbody tr:not(.total-row) td:nth-child(4),
.plan-detail-table tbody tr:not(.total-row) td:nth-child(6),
.plan-detail-table tbody tr:not(.total-row) td:nth-child(8) { color: #2563eb; font-weight: 700; }
.plan-detail-table tbody tr.total-row td { background-color: #f1f5f9; font-weight: 700; color: #6366f1; }
.plan-detail-table tbody tr.total-row td:first-child { text-align: left; color: #1e293b; }
@media (max-width: 768px) {
  .plan-detail-table { min-width: 700px; font-size: 0.75rem; }
  .plan-detail-table thead th, .plan-detail-table tbody td { padding: 0.5rem 0.35rem; }
}

/* プラン別内容・費用詳細表の注釈：2pt縮小・左寄せ */
.plan-detail-note { font-size: calc(0.875rem - 2pt) !important; text-align: left !important; }
@media (min-width: 768px) { .plan-detail-note { font-size: calc(1rem - 2pt) !important; text-align: left !important; } }

/* 記事投稿・SNS投稿 頻度表 */
.post-freq-table-wrapper { position: relative; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; touch-action: pan-x pan-y !important; max-width: 100%; border: 2px dashed #10b981; border-radius: 0.5rem; margin-top: 2rem; }
.post-freq-table { width: 100%; table-layout: fixed; border-collapse: collapse; background-color: #ffffff; border: none; }
.post-freq-table thead th { background-color: #fff700; color: #1e293b; padding: 0.9rem 0.75rem; text-align: center; font-weight: 700; font-size: 1rem; border: 1px solid #cccccc; width: 23.33%; }
.post-freq-table thead th.label-col { text-align: left; width: 13%; }
.post-freq-table tbody td { padding: 0.9rem 0.75rem; text-align: center; font-size: 0.9rem; color: #1e293b; border: 1px solid #e2e8f0; word-break: break-word; }
.post-freq-table tbody td.label-col { text-align: left; font-weight: 700; background-color: #f8fafc; }
.post-freq-table tbody tr.recommend-row td:not(.label-col) { background-color: #fed7aa; font-size: 0.95rem; text-align: left; line-height: 1.6; }
.post-freq-table tbody td:nth-child(3) { background-color: #fffbe6; }
.post-freq-table tbody tr:nth-child(3) td:not(.label-col), .post-freq-table tbody tr:nth-child(5) td:not(.label-col) { font-weight: 700; font-size: 1.1rem; }
@media (max-width: 768px) {
  .post-freq-table { min-width: 600px; font-size: 0.75rem; }
  .post-freq-table thead th, .post-freq-table tbody td { padding: 0.6rem 0.5rem; }
}

/* ==========================================================================
   index.php / detail.php 分割用 追加スタイル（2026-08 追加）
   概要編（index.php）と詳細編（detail.php）の2ページ構成化に伴い追加。
   既存の色・角丸・シャドウのトーンに合わせています。
   ========================================================================== */

/* --- 安心バッジ（index.php #assurance-badges） --- */
.assurance-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 1.5rem; }
.assurance-badge { display: flex; align-items: center; gap: 0.5rem; background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; font-size: 0.85rem; font-weight: 700; padding: 0.65rem 1.1rem; border-radius: 9999px; }
.assurance-badge i { font-size: 1rem; }
@media (max-width: 640px) { .assurance-strip { gap: 0.6rem; } .assurance-badge { font-size: 0.78rem; padding: 0.55rem 0.9rem; } }

/* --- 詳細編への誘導バナー（index.php #guide-banner） --- */
.guide-banner-card { display: flex; align-items: center; gap: 1.25rem; background: #ffffff; border: 2px solid #93c5fd; border-radius: 16px; padding: 1.5rem 1.75rem; text-decoration: none; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08); transition: box-shadow 0.2s, transform 0.2s; }
.guide-banner-card:hover { box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14); transform: translateY(-2px); }
.guide-banner-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #2563eb; color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.guide-banner-text h3 { font-size: 1rem; color: #0f172a; font-weight: 800; margin: 0 0 0.4rem; line-height: 1.5; }
.guide-banner-text p { font-size: 0.85rem; color: #475569; margin: 0; line-height: 1.7; }
.guide-banner-arrow { flex: none; color: #2563eb; font-size: 1.2rem; }
@media (max-width: 640px) { .guide-banner-card { flex-wrap: wrap; padding: 1.25rem; } .guide-banner-arrow { display: none; } }

/* --- 詳細編 イントロ＋戻り導線（detail.php #detail-intro） --- */
.back-to-index { text-align: center; margin-bottom: 1.25rem; }
.back-to-index a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: #2563eb; text-decoration: none; }
.back-to-index a:hover { text-decoration: underline; }

/* --- 詳細編ヘッダーのロゴリンク（アンカー化に伴うリセット） --- */
#detail-intro + .area-section-divider { margin-top: 2rem; }
