/* Review changes, isolated from the delivered stylesheet. */
@font-face {
  font-family: 'Oto Hero';
  src: url('fonts/hero-jp.ttf') format('truetype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
.hero h1, .hero h1 em, .hero h1 strong, .hero h1 b {
  font-family: 'Oto Hero', 'Yu Gothic', Meiryo, sans-serif;
  font-weight: 900;
}
section[id] { scroll-margin-top: 82px; }
.nowrap { white-space: nowrap; }
.desktop-rail { display: none; }
@media (min-width: 760px) {
  .desktop-rail {
    display: block; position: fixed; top: 50%; transform: translateY(-50%);
    writing-mode: vertical-rl; text-orientation: mixed; color: #a53b40;
    font-size: 15px; font-weight: 700; line-height: 2; letter-spacing: .08em;
    max-height: calc(100svh - 56px); z-index: 0;
  }
  .desktop-rail span { display: inline; }
  .desktop-rail-left { left: calc((100% - 430px) / 4); }
  .desktop-rail-right { right: calc((100% - 430px) / 4); }
}
.section-header { margin-bottom: 14px; }
.results .section-header > div { margin-top: 8px; line-height: 1.7; }
.results.section-pad, .impact.section-pad { padding-top: 18px; padding-bottom: 18px; }
.impact .section-header { margin-bottom: 14px; }
.comparison-row .comparison-mark { font-size: 22px; font-weight: 800; }
.comparison-row > div { min-width: 0; padding: 12px 7px; }
.comparison-head > div:last-child { font-size: 11px; }
.detail-index {
  margin: 0 0 17px; padding-top: 20px;
  font: 800 11px/1 Arial, sans-serif; letter-spacing: .28em;
}
.detail-cards { gap: 16px; }
.detail-cards article { padding: 16px 12px; width: 100%; }
.detail-cards h4 {
  margin: 0 0 12px 24px; font-size: 14px; line-height: 1.55;
  text-align: left; letter-spacing: 0; width: auto; border-bottom-width: 3px;
}
.detail-cards h4::before { top: 2px; left: -24px; width: 18px; height: 18px; }
#concerins .detail-cards h4::before { content: '×'; font-size: 17px; line-height: 1; }
.detail-image-flex { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 12px; align-items: start; }
.detail-image { width: 60px; height: 70px; border: 0; border-radius: 10px; }
.detail-image img { object-fit: contain; }
.detail-cards p { font-size: 14px; line-height: 1.8; letter-spacing: .01em; }
.detail-cards article > span, .detail-cards article > small {
  display: block !important; width: 100%; margin: 12px 0 0 !important; padding: 7px 4px !important;
  color: #b22d35 !important; background: #fff0f1 !important; border-radius: 5px;
  font-size: 13px !important; font-weight: 800 !important; line-height: 1.6; letter-spacing: 0 !important;
  text-align: center !important;
}
.problem-solution { display: flex; text-align: left; gap: 10px; padding: 16px 8px; background: transparent; color: var(--ink); }
.problem-solution .solution-photo { flex: 0 0 52px; width: 52px; height: 52px; margin: 0; }
.problem-solution p { font-size: 14px; letter-spacing: 0; line-height: 1.8; }
.problem-solution p span { white-space: nowrap; }
.chat-showcase__text h2 { font-size: 18px; line-height: 1.7; }
.trainer-grid > article { padding: 16px; gap: 14px; align-items: flex-start; }
.trainer-portrait { padding: 4px 0; }
.trainer-portrait img { display: block; }
.trainer-info { min-width: 0; }
.trainer-info h3 { font-size: 23px; }
.trainer-info li { padding: 6px 9px; font-size: 11px; }
.trainer-detail-toggle { border: 0; border-bottom: 1px solid #d99396; padding: 7px 0; background: transparent; font-family: inherit; text-align: left; }
.trainer-detail-toggle::before { content: none; }
.trainer-detail-toggle[aria-expanded="true"] .detail-arrow { transform: rotate(180deg); }
.trainer-extra { margin: 0; font-size: 12px; line-height: 1.9; color: #68645e; }
.trainer-more { margin: 18px 0 4px; font-size: 15px; line-height: 1.9; letter-spacing: 0; }
.trainer-more strong { font-size: 20px; margin: 0 2px; }
.pricing .section-header > div, .price-monitor-note p { color: #68645e; }
.price-monitor-note { padding-inline: 0; }
.price-monitor-note p { font-size: 12px; letter-spacing: 0; }
.voice-scroll-hint { margin: 0 0 14px; }
.voice-grid { margin: 0; padding: 0 0 16px; }
.voice-grid article { margin: 0; padding: 16px; gap: 16px; color: var(--ink); align-items: stretch; }
.voice-grid article h3 { margin: 0; padding: 0 8px 6px; color: var(--ink); }
.voice-grid article h3::after { left: 8px; }
.voice-grid article > p { margin: 0; padding: 0 8px; color: #68645e; }
.astarisk { writing-mode: horizontal-tb; font-size: 11px; line-height: 1.7; color: #68645e; margin: 10px 0 0; }
.faq-warapper { padding: 12px; }
.faq-list summary { grid-template-columns: 29px minmax(0,1fr) 14px; gap: 5px; font-size: 13px; letter-spacing: 0; }
.faq-list details > p { padding: 0 5px 20px 34px; font-size: 13px; }
.faq-help { color: #fff; line-height: 1.8; }
.flow-title { font-size: 22px; letter-spacing: 0; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.footer-legal-links .legal-modal-trigger { font-size: 11px; }
.legal-dialog { width: min(600px, calc(100vw - 24px)); max-height: calc(100svh - 24px); }
.privacy-content { padding: 0 20px 24px; font-size: 13px; line-height: 1.9; }
.privacy-content h3 { font-size: 16px; margin: 24px 0 8px; }
.privacy-content p { font-size: inherit; line-height: inherit; margin: 8px 0; }
.privacy-content ul { padding-left: 22px; }
.privacy-content li { margin: 5px 0; }
.mobile-menu-panel { max-height: calc(100svh - 70px); overflow-y: auto; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #17669e; outline-offset: 3px; }
@media (max-width: 374px) {
  .section-pad { padding-left: 14px; padding-right: 14px; }
  .detail-cards article { padding-inline: 10px; }
  .detail-cards h4 { font-size: 13px; }
  .detail-image-flex { grid-template-columns: 48px minmax(0,1fr); gap: 10px; }
  .detail-image { width: 48px; height: 60px; }
  .detail-cards article > span, .detail-cards article > small { font-size: 12px !important; }
  .problem-solution { padding-inline: 0; gap: 8px; }
  .problem-solution .solution-photo { flex-basis: 40px; width: 40px; height: 40px; }
  .problem-solution p { font-size: 12px; }
  .trainer-grid > article { padding: 14px 10px; gap: 10px; }
  .trainer-portrait img { width: 70px; height: 110px; }
  .trainer-info h3 { font-size: 21px; }
  .trainer-more { font-size: 13px; }
  .trainer-more strong { font-size: 17px; }
  .faq-list summary { font-size: 12px; grid-template-columns: 25px minmax(0,1fr) 12px; gap: 3px; }
  .flow-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Preserve explicit line breaks inside comparison cells at narrow widths. */
.comparison-row > div { display: block; align-content: center; }
.comparison-head > div:nth-child(2) { display: flex; }

.privacy-dialog h2 { font-size: clamp(14px, 4vw, 20px); letter-spacing: 0; }

/* Second review: user feedback, 2026-09-25. */
.desktop-rail { white-space: nowrap; text-orientation: upright; max-height: none; letter-spacing: .04em; line-height: 1; }
.desktop-rail span { text-orientation: upright; }
.impact-card-box { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; justify-content: start; }
.impact-card-box > span { width: 34px; }
.impact-card-box span img { width: 34px; height: 34px; }
.impact-card-box > div { min-width: 0; text-align: left; }
.impact-card-box h3 { white-space: nowrap; text-align: left; }
.detail-cards article > span, .detail-cards article > small {
  font-size: var(--summary-font-size, 18px) !important; white-space: nowrap;
  padding: 8px 0 !important; line-height: 1.55;
}
#concerins .detail-cards article:first-child .detail-image { height: 60px; border-radius: 50%; overflow: hidden; }
#concerins .detail-cards article:first-child .detail-image img { width: 100%; height: 100%; transform: scale(1.24); }
.problem-solution.solution-reference { display: block; margin: 18px 0 0; padding: 0; }
.solution-reference > img { display: block; width: 100%; height: auto; }
.voice-grid > .astarisk { writing-mode: vertical-rl; text-orientation: mixed; flex: 0 0 auto; white-space: nowrap; margin: 0; font-size: 12px; line-height: 1.7; align-self: flex-start; }
.site-header .brand { width: 158px; height: auto; display: flex; align-items: center; }
.site-header .brand .service-logo { display: block; width: 158px; height: auto; max-height: 59px; object-fit: contain; }
.footer-brand .company-logo-window { display: block; width: 130px; height: 48px; overflow: hidden; }
.footer-brand .company-logo-window img { display: block; width: 146px; max-width: none; height: 146px; transform: translate(-8px,-48px); }
@media(max-width:374px) {
  #concerins .detail-cards article:first-child .detail-image { height: 48px; }
  .impact-card-box { grid-template-columns: 28px minmax(0,1fr); gap: 4px; }
  .impact-card-box > span, .impact-card-box span img { width: 28px; }
  .impact-card-box span img { height: 28px; }
}
.comparison-details, .comparison-details section, .detail-cards, .detail-cards article { min-width: 0; max-width: 100%; }
.detail-cards { grid-template-columns: minmax(0,1fr); }
.impact-grid strong { white-space: nowrap; font-size: 28px; }
.impact-grid strong small { font-size: 12px; }
@media(max-width:374px) { .impact-grid strong { font-size: 23px; } .impact-grid h3 { font-size: 9px; } }
.voice-grid > .astarisk { padding: 0 8px; scroll-snap-align: end; }
.footer-brand { width: 130px; flex: 0 0 130px; height: 48px; } .footer-brand .company-logo-window { flex-shrink: 0; }

/* Third review: more breathing room and official shared banner. */
html { background: #fff5ed; }
.detail-cards article > span, .detail-cards article > small { padding: 10px 16px !important; font-size: var(--summary-font-size,16px) !important; }
.footer-brand { width: 98px; flex: 0 0 98px; height: 38px; margin-right: 12px; }
.footer-brand .company-logo-window { width: 98px; height: 38px; }
.footer-brand .company-logo-window img { width: 110px; height: 110px; transform: translate(-6px,-36px); }
footer .flex { align-items: center; }

/* Approved items 2,3,4,5,6,8,9 and mobile heading fix. */
.line-action { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; width:100%; padding:10px 12px; color:#fff; background:#06a944; border-radius:16px; box-shadow:0 3px 8px #075c2525; text-align:center; line-height:1.3; }
.line-action small { font-size:12px; font-weight:700; color:#fff; }
.line-action strong { font-size:20px; font-weight:800; color:#fff; }
.line-action b { margin-left:8px; }
.floating-cta { width:calc((100% - 24px) * .9); max-width:365px; bottom:14px; animation:none !important; }
.floating-cta *, .floating-cta::before, .floating-cta::after { animation:none !important; }
.floating-cta .line-action { padding:9px 10px; }
.floating-cta .line-action strong { font-size:18px; }
.floating-cta .line-action small { font-size:11px; }
.floating-cta:active { opacity:.9; }
.company-logo-window { mix-blend-mode:multiply; }
.detail-image { aspect-ratio:1; height:60px; border-radius:50%; overflow:hidden; }
.detail-image img { width:100%; height:100%; object-fit:contain; }
#concerins .detail-cards article:first-child .detail-image img { transform:scale(1.35); }
.detail-cards p,.result-copy p,.trainer-intro,.trainer-extra,.voice-grid article>p,.section-header>div,.price-monitor-note p { color:#514a46; }
.chat-showcase { display:grid; grid-template-columns:1fr; gap:20px; }
.chat-showcase__text { width:100%; min-width:0; }
.chat-showcase__text h2 { font-size:clamp(18px,5vw,22px); letter-spacing:0; line-height:1.65; }
.chat-showcase__text h2 span { display:block; white-space:nowrap; }
.chat-showcase__phone { width:100%; }
.chat-showcase__img { width:150px; max-width:150px; }
@media(max-width:374px) { .detail-image { height:48px; } .line-action strong { font-size:18px; } }

.line-action strong::after { content:" ›"; display:inline; }
.floating-cta { padding:0; }
.line-action strong { white-space:nowrap; }

/* Fifth review: compact first view, upright illustrations and supplied CTA. */
.hero { margin-top:70px; }
.hero-copy { padding:10px 10px 4px; }
.hero-ribbon { font-size:12px; padding:6px 12px; margin-bottom:12px; animation:none; }
.hero-specific { margin-top:6px; }
.hero-offer { margin-top:12px; }
.hero-photo { background-position:center top; }
.stats-container { margin-top:6px; }
.stat-card { padding-top:5px; padding-bottom:5px; }
.stat-icon img { width:28px; height:28px; }
.stat-label { font-size:11px; }
.stat-value { font-size:27px; }
.line-cv-approved { display:block; width:100%; height:auto; object-fit:contain; animation:none !important; }
.floating-cta { width:calc((100% - 24px)*.9); max-width:340px; bottom:6px; padding:0; border-radius:0; background:transparent; }
.detail-image-flex { grid-template-columns:64px minmax(0,1fr); gap:12px; }
.detail-cards .detail-image, #concerins .detail-cards article:first-child .detail-image { width:64px; height:94px; aspect-ratio:auto; border-radius:0; overflow:visible; background:none; }
.detail-cards .detail-image img, #concerins .detail-cards article:first-child .detail-image img { width:64px; height:94px; object-fit:fill; transform:none; filter:url(#illustration-ink); }
.chat-showcase { grid-template-columns:minmax(0,1fr) 86px; gap:10px; padding:20px 14px; }
.chat-showcase__text h2 { font-size:clamp(14px,4vw,17px); line-height:1.65; }
.chat-showcase__text ul li { font-size:12px; }
.chat-showcase__phone,.chat-showcase__img { width:86px; max-width:86px; }
footer { padding:18px 18px 100px; gap:10px; }
footer p { margin:4px 0; font-size:11px; line-height:1.6; }
footer .flex { gap:8px; }
footer .flex p { font-size:14px; }
.footer-brand { width:78px; flex-basis:78px; height:30px; margin-right:4px; }
.footer-brand .company-logo-window { width:78px; height:30px; }
.footer-brand .company-logo-window img { width:88px; height:88px; transform:translate(-5px,-29px); }
.footer-right { margin:0; padding:0; }
html.hero-short .hero-ribbon { margin-bottom:8px; }html.hero-short .hero-sound em { font-size:62px; }html.hero-short .hero-change { font-size:23px; }html.hero-short .hero-offer strong { font-size:44px; } 
@media(max-width:350px) { .chat-showcase { grid-template-columns:minmax(0,1fr) 70px; gap:8px; padding-inline:12px; } .chat-showcase__phone,.chat-showcase__img { width:70px; max-width:70px; } }

.detail-cards .detail-image img, #concerins .detail-cards article:first-child .detail-image img { transform:scale(1.2); }
.hero-photo { background-position:center -32px; background-repeat:no-repeat; }

html.hero-compact .hero-copy { padding-top:5px; }html.hero-compact .hero-ribbon { font-size:11px; padding:4px 9px; margin-bottom:6px; }html.hero-compact .hero-intro { font-size:16px; }html.hero-compact .hero-specific { font-size:22px; margin-top:4px; }html.hero-compact .hero-sound em { font-size:52px; }html.hero-compact .hero-sound b { font-size:25px; }html.hero-compact .hero-change { font-size:20px; line-height:1.3; }html.hero-compact .hero-change-span { font-size:17px; }html.hero-compact .hero-offer { margin-top:8px; padding-block:3px; }html.hero-compact .hero-offer div span { font-size:12px; padding:3px 8px; }html.hero-compact .hero-offer strong { font-size:38px; margin-top:3px; }html.hero-compact .hero-offer strong small { font-size:15px; }html.hero-compact .hero-offer p { margin:2px 0; }html.hero-compact .stat-icon { margin-bottom:0; }html.hero-compact .stat-icon img { width:22px; height:22px; }html.hero-compact .stat-value { font-size:23px; }html.hero-compact .stat-label { font-size:10px; }html.hero-compact .stat-card { padding:3px 0; }


html.hero-compact .hero-ribbon { margin-bottom:2px; }html.hero-compact .hero-intro { font-size:15px; }html.hero-compact .hero-specific { font-size:20px; }html.hero-compact .hero-sound em { font-size:46px; }html.hero-compact .hero-change { font-size:18px; } 

/* Final explicitly requested adjustments only. */
@keyframes final-ribbon-glow { 0%,75%,100% { opacity:1; } 86% { opacity:.78; } }
@keyframes final-cta-nudge { 0%,82%,100% { transform:translateX(-50%) translateY(0); } 91% { transform:translateX(-50%) translateY(-3px); } }
.hero-ribbon { animation:final-ribbon-glow 4.5s ease-in-out infinite; }
.floating-cta { animation:final-cta-nudge 5s ease-in-out infinite !important; }
.hero-photo { background-position:center -90px; }
.detail-cards .detail-image img, #concerins .detail-cards article:first-child .detail-image img { filter:none; transform:none; object-fit:contain; }
.chat-showcase { grid-template-columns:minmax(0,1fr) 114px; gap:3px; align-items:stretch; }
.chat-showcase__phone { width:114px; max-width:114px; display:flex; align-items:stretch; }
.chat-showcase__img { width:100%; max-width:114px; height:100%; max-height:310px; object-fit:contain; }
@media(max-width:350px) { .chat-showcase { grid-template-columns:minmax(0,1fr) 92px; gap:2px; } .chat-showcase__phone,.chat-showcase__img { width:92px; max-width:92px; } }
@media(prefers-reduced-motion:reduce) { .hero-ribbon,.floating-cta { animation:none !important; } }

/* Latest requested heading, supplied illustrations and visible motion. */
#impact .section-header h2 { white-space:nowrap; }
@keyframes visible-ribbon { 0%,100% { transform:translateY(0) skewX(-10deg); } 50% { transform:translateY(-4px) skewX(-10deg); } }
@keyframes visible-cta { 0%,100% { transform:translateX(-50%) translateY(0) scale(1); } 50% { transform:translateX(-50%) translateY(-6px) scale(1.025); } }
.hero-ribbon { animation:visible-ribbon 2.4s ease-in-out infinite; }
.floating-cta { animation:visible-cta 2.8s ease-in-out infinite !important; }
@media(prefers-reduced-motion:reduce) { .hero-ribbon,.floating-cta { animation:none !important; } }

/* V8: stable mobile type and a slightly slimmer warm header. */
 html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
 .site-header { height:58px; background:#fff7f0; border-bottom-color:#f1ded2; }
 .site-header .brand,.site-header .brand .service-logo { width:140px; }
 .site-header .brand .service-logo { max-height:52px; mix-blend-mode:multiply; }
 .site-header .mobile-menu { top:7px; }
 .mobile-menu-button { width:44px; height:44px; color:#a75138; background:#fbe7dc; box-shadow:none; gap:6.5px; }
 .mobile-menu-button span { height:1.5px; }
 .mobile-menu-panel { top:58px; max-height:calc(100svh - 58px); }
 .hero { margin-top:58px; }
 
/* V9: requested menu contrast and diagnosis heading only. */
.mobile-menu-button { color:#87432e; background:#f3d0ba; }
.mobile-menu-panel { background:#fff7f0; }
#diagnosis h2.flow-title { text-align:left; }
