/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body { font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "HGS明朝E", "メイリオ", Meiryo, serif; color: #000; line-height: 1.9; background: #fff; font-size: 1.05rem; }
a { color: #008654; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; }

/* Layout */
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section--gray { background: #f0f9f5; }
.section--green { background: #008654; color: #fff; }

/* Header */
.header { background: #fff; padding: 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.header__top { max-width: 1000px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8e8e8; }
.header__cta { display: flex; align-items: center; gap: 16px; }
.header__logo { display: flex; align-items: center; gap: 0; }
.header__logo-text { color: #333; font-size: 0.75rem; font-weight: 400; }
.header__logo-text strong { display: block; font-size: 1rem; letter-spacing: 0.05em; }
.header__logo img { height: 40px; width: auto; }
.header__logo a { color: #333; display: flex; align-items: center; gap: 12px; }
.header__site-title { color: #333; font-size: 1.4rem; font-weight: 400; letter-spacing: 0.1em; margin-left: 16px; border-left: 1px solid #ccc; padding-left: 16px; }
.header__tel { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.header__tel-number { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.05em; color: #008654; }
.header__tel-sub { font-size: 0.7rem; color: #999; }
.header__mail-btn { display: inline-block; transition: all 0.2s; }
.header__mail-btn:hover { opacity: 0.8; }

/* Navigation bar */
.nav-bar { background: #008654; }
.nav { max-width: 1000px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: center; gap: 0; }
.nav a { color: rgba(255,255,255,0.9); font-size: 0.82rem; padding: 12px 18px; white-space: nowrap; transition: all 0.2s; letter-spacing: 0.08em; border-bottom: 3px solid transparent; min-height: 44px; display: flex; align-items: center; }
.nav a:hover { background: rgba(255,255,255,0.1); color: #fff; opacity: 1; border-bottom-color: #fff; }
.nav a.nav--highlight { color: #fff; background: #ff8a00; font-weight: 700; padding: 8px 18px; margin-left: 8px; border-radius: 4px; border-bottom: none; }
.nav a.nav--highlight:hover { background: #e67a00; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: #008654; font-size: 1.5rem; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }

/* Sub navigation */
.subnav { background: #f0f9f5; border-bottom: 1px solid #c8e6d8; overflow-x: auto; white-space: nowrap; }
.subnav__inner { max-width: 960px; margin: 0 auto; padding: 0 20px; display: flex; gap: 0; }
.subnav a { color: #333; font-size: 0.85rem; padding: 12px 16px; border-bottom: 2px solid transparent; display: block; min-height: 44px; display: flex; align-items: center; }
.subnav a:hover, .subnav a.active { color: #008654; border-bottom-color: #008654; opacity: 1; }

/* Hero Banner (upper orange) */
.hero-banner { background: linear-gradient(135deg, #ff8a00 0%, #ff6b00 100%); color: #fff; padding: 0; position: relative; overflow: hidden; }
.hero-banner::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.04) 10px, rgba(255,255,255,0.04) 20px); }
.hero-banner__inner { max-width: 1000px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-banner__badge { display: inline-block; background: #fff; color: #ff6b00; font-size: 0.95rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; letter-spacing: 0.08em; white-space: nowrap; flex-shrink: 0; }
.hero-banner__text { font-size: 1.15rem; font-weight: 700; line-height: 1.6; letter-spacing: 0.04em; }
.hero-banner__text strong { font-size: 1.2em; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.hero-banner__asterisk { font-size: 0.8em; vertical-align: super; }
.hero-banner__sub { display: inline-block; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); padding: 2px 14px; border-radius: 4px; font-size: 0.9rem; font-weight: 700; white-space: nowrap; letter-spacing: 0.06em; }

/* Hero / First View */
.hero { color: #fff; padding: 0; overflow: hidden; position: relative; min-height: 480px; }
.hero__bg { position: absolute; inset: 0; background-size: auto 115%; background-position: right -40px top -20px; background-repeat: no-repeat; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,86,52,0.96) 0%, rgba(0,86,52,0.92) 32%, rgba(0,107,68,0.50) 55%, rgba(0,134,84,0.08) 75%, transparent 100%); z-index: 1; }
.hero__inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; min-height: 480px; position: relative; z-index: 2; }
.hero__content { flex: 1; padding: 52px 24px 52px 40px; max-width: 620px; display: flex; flex-direction: column; justify-content: center; }
.hero__profile { flex: 0 0 280px; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 20px 24px 0; min-height: 480px; }
.hero__profile-name { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.9); line-height: 1.5; background: rgba(0,60,30,0.6); padding: 8px 20px; border-radius: 6px; backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.15); }
.hero__profile-name strong { font-size: 1.15rem; display: block; margin-top: 2px; letter-spacing: 0.08em; }
.hero h1 { font-size: 2.2rem; line-height: 1.6; margin-bottom: 20px; font-weight: 700; font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; text-shadow: 0 2px 16px rgba(0,40,20,0.4); }
.hero__lead { font-size: 1.1rem; opacity: 0.9; margin-bottom: 10px; letter-spacing: 0.04em; }
.hero__lead strong { color: #fff; font-size: 1.3em; }
.hero__amount { margin-bottom: 12px; line-height: 1.6; }
.hero__amount-num { font-size: 2.4rem; font-weight: 700; color: #ffd700; text-shadow: 0 2px 12px rgba(0,40,20,0.4); letter-spacing: 0.04em; font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; }
.hero__amount-label { font-size: 1.15rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.hero__action { font-size: 0.95rem; opacity: 0.8; margin-bottom: 16px; letter-spacing: 0.06em; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__footnote { font-size: 0.78rem; opacity: 0.6; margin-top: 16px; line-height: 1.5; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; border-radius: 6px; font-size: 1.1rem; font-weight: 700; cursor: pointer; border: none; transition: all 0.25s; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.1); min-height: 44px; }
.btn--phone { background: #fff; color: #008654; border: 1px solid rgba(0,134,84,0.2); }
.btn--phone:hover { background: #f0f9f5; opacity: 1; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.btn--mail { background: #ff8a00; color: #fff; border: 2px solid #ff8a00; }
.btn--mail:hover { background: #e67a00; opacity: 1; box-shadow: 0 4px 16px rgba(255,138,0,0.3); }
.btn--green { background: #008654; color: #fff; }
.btn--green:hover { background: #006b44; opacity: 1; }
.btn--outline { background: transparent; color: #008654; border: 2px solid #008654; }
.btn--outline:hover { background: #008654; color: #fff; opacity: 1; }
.btn--large { padding: 16px 36px; font-size: 1.1rem; }
.btn--small { padding: 10px 20px; font-size: 0.9rem; min-height: 44px; }
.btn--full { width: 100%; justify-content: center; }

/* Section Headings */
.section__label { color: #008654; font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 0.05em; }
.section__title { font-size: 1.65rem; color: #000; font-weight: 700; margin-bottom: 24px; line-height: 1.6; font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; padding-top: 16px; position: relative; }
.section__title::before { content: ""; display: block; width: 50px; height: 3px; background: #008654; position: absolute; top: 0; left: 0; }
.section__title--center { text-align: center; }
.section__title--center::before { left: 50%; transform: translateX(-50%); }

/* Cards */
.card { background: #fff; border-radius: 4px; padding: 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #dce8e0; }
.card--highlight { border-left: 4px solid #ff8a00; }
.card--blue { border: 2px solid #008654; background: #f0f9f5; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid #dce8e0; }
th { background: #008654; color: #fff; font-weight: 600; font-size: 0.95rem; }
td { vertical-align: top; }
tr:nth-child(even) td { background: #f0f9f5; }
.table--compare th { background: #006b44; }
.td--highlight { color: #ff8a00; font-weight: 700; }
.td--large { font-size: 1.1rem; font-weight: 700; color: #008654; }

/* Check list */
.checklist { list-style: none; }
.checklist li { padding: 18px 18px 18px 52px; position: relative; border-bottom: 1px solid #dce8e0; font-size: 1.1rem; min-height: 44px; display: flex; align-items: center; }
.checklist li::before { content: "\2610"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: #008654; }
.checklist li small { display: block; color: #666; font-size: 0.85rem; margin-top: 4px; }

/* FAQ */
.faq-item { border-bottom: 1px solid #dce8e0; padding: 24px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; color: #000; font-size: 1.15rem; cursor: pointer; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; align-items: center; }
.faq-q::before { content: "Q."; color: #008654; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.faq-a { margin-top: 12px; padding-left: 32px; color: #333; line-height: 2.0; font-size: 1.05rem; }
.faq-a::before { content: "A. "; color: #ff8a00; font-weight: 700; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 3px; background: #c8e6d8; }
.timeline__item { position: relative; margin-bottom: 32px; padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #008654; border: 3px solid #fff; box-shadow: 0 0 0 2px #008654; }
.timeline__item--highlight::before { background: #ff8a00; box-shadow: 0 0 0 2px #ff8a00; }
.timeline__label { font-weight: 700; color: #000; font-size: 1.1rem; margin-bottom: 4px; }
.timeline__item--highlight .timeline__label { color: #ff8a00; }
.timeline__text { color: #333; font-size: 1.05rem; line-height: 1.9; }

/* Flow Steps */
.flow-steps { display: flex; flex-direction: column; align-items: center; gap: 0; }
.flow-step { background: #008654; color: #fff; padding: 20px 32px; border-radius: 4px; text-align: center; width: 100%; max-width: 480px; font-weight: 600; min-height: 44px; }
.flow-step--highlight { background: #ff8a00; border: 2px solid #ff8a00; }
.flow-step small { display: block; color: #ffd700; font-size: 0.8rem; margin-top: 4px; font-weight: 400; }
.flow-step--highlight small { color: #fff; }
.flow-arrow { font-size: 1.5rem; color: #008654; padding: 8px 0; }

/* Alert Box */
.alert { background: #fff5f5; border: 2px solid #e53e3e; border-radius: 4px; padding: 24px; text-align: center; margin: 24px 0; }
.alert__title { color: #e53e3e; font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.alert__text { color: #742a2a; font-size: 1.05rem; }

/* Notice Banner */
.notice-banner { background: #fff; border: 2px solid #ff8a00; border-radius: 4px; padding: 24px 32px; text-align: center; margin: 24px 0; }
.notice-banner__title { color: #ff8a00; font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.notice-banner__text { color: #333; font-size: 0.95rem; margin-bottom: 16px; }

/* Voice */
.voice { background: #f0f9f5; border-left: 4px solid #008654; padding: 28px 32px; border-radius: 0 4px 4px 0; font-style: italic; color: #333; line-height: 2.1; margin: 24px 0; font-size: 1.05rem; }
.voice__note { font-style: normal; font-size: 0.9rem; color: #999; margin-top: 12px; }

/* Conclusion box */
.conclusion { background: #f0f9f5; border-left: 4px solid #008654; padding: 20px 24px; border-radius: 0 4px 4px 0; margin: 20px 0; }

/* CTA Section */
.cta-section { background: #f0f9f5; border-radius: 4px; padding: 40px 32px; text-align: center; margin: 40px 0; }
.cta-section__title { font-size: 1.4rem; color: #000; font-weight: 700; margin-bottom: 8px; }
.cta-section__sub { color: #666; margin-bottom: 24px; font-size: 1.05rem; }
.cta-section__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer CTA bar */
.footer-cta { background: #008654; padding: 24px 20px; text-align: center; }
.footer-cta__note { color: rgba(255,255,255,0.8); font-size: 0.85rem; margin-bottom: 8px; }
.footer-cta__title { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.footer-cta__tel { color: #fff; font-size: 2rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 4px; }
.footer-cta__tel a { color: #fff; }
.footer-cta__tel-sub { display: inline-block; color: #fff; font-size: 0.8rem; border: 1px solid rgba(255,255,255,0.6); padding: 2px 8px; border-radius: 2px; margin-left: 8px; }
.footer-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 600px; margin: 12px auto 0; }

/* Sticky CTA bar (mobile) */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #008654; padding: 10px 16px; z-index: 200; box-shadow: 0 -2px 8px rgba(0,0,0,0.2); }
.sticky-cta__inner { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.sticky-cta .btn { flex: 1; padding: 10px 8px; font-size: 0.85rem; justify-content: center; }

/* Footer */
.footer { background: #fff; border-top: 1px solid #dce8e0; padding: 32px 20px; text-align: center; font-size: 0.85rem; color: #333; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 24px; }
.footer__nav a { color: #333; font-size: 0.85rem; min-height: 44px; display: flex; align-items: center; }
.footer__nav a:hover { color: #008654; }
.footer__info { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.footer__logo-img { height: 50px; width: auto; }
.footer__address { text-align: left; font-size: 0.8rem; color: #666; line-height: 1.8; }
.footer__copyright { font-size: 0.75rem; color: #999; margin-top: 16px; }

/* Simulation Card */
.sim-card { background: #fff; border: 1px solid #dce8e0; border-radius: 4px; padding: 28px; margin-bottom: 24px; }
.sim-card__title { font-size: 1.1rem; font-weight: 700; color: #000; border-bottom: 2px solid #008654; padding-bottom: 8px; margin-bottom: 16px; }
.sim-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.sim-card dt { color: #666; font-size: 0.9rem; }
.sim-card dd { font-weight: 600; }
.sim-card__result { margin-top: 16px; padding-top: 16px; border-top: 2px solid #dce8e0; font-size: 1.2rem; font-weight: 800; color: #008654; }

/* Type cards */
.type-card { background: #fff; border: 1px solid #dce8e0; border-radius: 4px; padding: 24px; margin-bottom: 20px; }
.type-card__title { color: #008654; font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.type-card__req { color: #333; }
.type-card__req li { margin-bottom: 4px; }
.type-card__note { background: #f0f9f5; padding: 12px 16px; border-radius: 4px; font-size: 0.85rem; color: #666; margin-top: 12px; }

/* Type Flow (disease progression diagrams) */
.type-flow { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 16px 0; }
.type-flow__step { text-align: center; padding: 14px 20px; background: #f0f9f5; border: 2px solid #c8e6d8; border-radius: 8px; width: 100%; max-width: 400px; font-size: 0.95rem; line-height: 1.6; min-height: 44px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.type-flow__step--start { background: #008654; color: #fff; border-color: #008654; }
.type-flow__step--highlight { background: #fff5e6; border-color: #ff8a00; }
.type-flow__step--highlight strong { color: #ff8a00; }
.type-flow__step--result { background: #008654; color: #fff; border-color: #008654; font-weight: 700; }
.type-flow__arrow { color: #008654; font-size: 1.3rem; padding: 6px 0; }
.type-flow__arrow--alert { color: #e53e3e; font-weight: 700; }
.type-flow__step small { display: block; font-size: 0.82rem; margin-top: 2px; }
.type-flow__step--start small { color: rgba(255,255,255,0.8); }

/* Link arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: #008654; font-weight: 600; font-size: 0.95rem; }
.link-arrow::after { content: "\2192"; }
.link-arrow:hover { opacity: 1; text-decoration: underline; }

/* Page title */
.page-title { font-size: 1.75rem; line-height: 1.6; margin-bottom: 32px; font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif; }
.result-amount { font-size: 1.5rem; }

/* Breadcrumb */
.breadcrumb { padding: 12px 0; font-size: 0.8rem; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb span { margin: 0 6px; }

/* Utility */
.text-center { text-align: center; }
.text-orange { color: #ff8a00; }
.text-green { color: #008654; }
.text-navy { color: #008654; }
.text-red { color: #e53e3e; }
.text-small { font-size: 0.85rem; }
.text-large { font-size: 1.2rem; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.fw-bold { font-weight: 700; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* Joseki Compare */
.joseki-compare { background: #fff; border: 1px solid #dce8e0; border-radius: 8px; padding: 24px; margin-top: 24px; }
.joseki-compare__title { text-align: center; font-size: 1.05rem; color: #333; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #dce8e0; }
.joseki-compare__row { display: flex; align-items: center; gap: 12px; padding: 16px 0; flex-wrap: wrap; }
.joseki-compare__row + .joseki-compare__row { border-top: 1px dashed #dce8e0; }
.joseki-compare__label { width: 80px; flex-shrink: 0; font-size: 0.8rem; font-weight: 700; color: #666; text-align: center; line-height: 1.5; }
.joseki-compare__bar { flex: 1; display: flex; align-items: center; gap: 0; min-width: 0; }
.joseki-compare__point { text-align: center; font-size: 0.75rem; color: #333; padding: 6px 10px; background: #f0f9f5; border: 1px solid #c8e6d8; border-radius: 6px; white-space: nowrap; line-height: 1.4; }
.joseki-compare__point--start { font-weight: 700; }
.joseki-compare__row--after .joseki-compare__point--start { background: #fff5e6; border-color: #ff8a00; color: #ff8a00; }
.joseki-compare__span { flex: 1; text-align: center; font-size: 0.7rem; padding: 4px 8px; border-top: 2px dashed; margin: 0 4px; white-space: nowrap; }
.joseki-compare__span--over { border-color: #e53e3e; color: #e53e3e; }
.joseki-compare__span--within { border-color: #008654; color: #008654; }
.joseki-compare__result { width: 160px; flex-shrink: 0; text-align: center; padding: 8px 12px; border-radius: 6px; font-size: 0.8rem; line-height: 1.4; }
.joseki-compare__result--before { background: #fff5f5; color: #e53e3e; border: 1px solid #e53e3e; }
.joseki-compare__result--after { background: #f0f9f5; color: #008654; border: 1px solid #008654; }

/* Lawyer comment section */
.lawyer-comment { display: flex; gap: 28px; align-items: flex-start; background: #fff; border: 1px solid #dce8e0; border-radius: 8px; padding: 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.lawyer-comment__photo { flex: 0 0 140px; text-align: center; }
.lawyer-comment__photo img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid #008654; }
.lawyer-comment__photo-name { font-size: 0.8rem; color: #333; font-weight: 700; margin-top: 8px; line-height: 1.5; }
.lawyer-comment__photo-role { font-size: 0.7rem; color: #008654; font-weight: 600; }
.lawyer-comment__body { flex: 1; }
.lawyer-comment__body p { margin-bottom: 12px; line-height: 2.0; color: #333; font-size: 1.05rem; }
.lawyer-comment__body p:last-child { margin-bottom: 0; }

/* Lawyer team */
.lawyer-team { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.lawyer-team__member { text-align: center; flex: 0 0 200px; background: #fff; border: 1px solid #dce8e0; border-radius: 8px; padding: 24px 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.lawyer-team__member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid #008654; margin-bottom: 12px; }
.lawyer-team__name { font-size: 0.95rem; font-weight: 700; color: #333; margin-bottom: 4px; }
.lawyer-team__role { font-size: 0.75rem; color: #008654; font-weight: 600; line-height: 1.5; }

/* Footer logo row */
.footer__logo-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 16px; }
.footer__logo-row img { height: 45px; width: auto; }

/* Case Timeline */
.case-timeline { margin: 24px 0 0; }
.case-timeline__row { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.case-timeline__step { text-align: center; min-width: 90px; padding: 12px 8px; background: #f0f9f5; border: 2px solid #c8e6d8; border-radius: 8px; }
.case-timeline__step--highlight { background: #fff5e6; border-color: #ff8a00; }
.case-timeline__step--result { background: #008654; border-color: #008654; color: #fff; }
.case-timeline__step--result .case-timeline__event { color: #fff; font-weight: 700; }
.case-timeline__age { font-size: 0.75rem; color: #666; margin-bottom: 4px; min-height: 1.2em; }
.case-timeline__step--highlight .case-timeline__age { color: #ff8a00; font-weight: 700; }
.case-timeline__step--result .case-timeline__age { color: rgba(255,255,255,0.8); }
.case-timeline__event { font-size: 0.85rem; font-weight: 600; color: #333; line-height: 1.4; }
.case-timeline__arrow { color: #a0aec0; font-size: 1.2rem; padding: 0 6px; flex-shrink: 0; }

/* Header Logo Images */
.header__logo-img { height: 60px; width: auto; }
.header__site-link { display: flex; align-items: center; margin-left: 20px; padding-left: 20px; border-left: 1px solid #ccc; }
.header__title-img { height: 52px; width: auto; }
.header__mail-btn img { height: 60px; width: auto; display: block; }
.header__tel img { height: 60px; width: auto; display: block; }

/* Hero Additions */
.hero__asterisk { font-size: 0.8em; vertical-align: super; }
.hero__lead { font-size: 1.15rem; opacity: 0.95; margin-bottom: 8px; }
.hero__lead strong { color: #ffd700; font-size: 1.35em; }
.hero__action { display: inline-block; background: rgba(255,255,255,0.15); color: #fff; padding: 8px 28px; border-radius: 30px; font-size: 0.95rem; font-weight: 600; margin: 16px 0 24px; letter-spacing: 0.08em; border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(4px); }
.hero__footnote { font-size: 0.75rem; opacity: 0.7; margin-top: 20px; }

/* Checklist with numbers */
.checklist__num { color: #008654; font-weight: 700; }

/* ========================
   RESPONSIVE - MOBILE (768px and below)
   ======================== */
@media (max-width: 768px) {
  /* Base */
  body { padding-bottom: 70px; font-size: 1rem; }

  /* Header */
  .header__top { flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .header__site-title { display: none; }
  .header__cta { display: flex; gap: 8px; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 8px 12px; box-shadow: 0 -2px 8px rgba(0,0,0,0.15); z-index: 200; justify-content: center; }
  .header__tel img { height: 36px; }
  .header__mail-btn img { height: 36px; }
  .header__site-link { display: none; }
  .header__logo-img { height: 36px; }

  /* Navigation */
  .nav-bar { position: relative; height: 0; overflow: visible; background: transparent; }
  .nav { display: none; flex-direction: column; position: absolute; top: 0; left: 0; right: 0; background: #008654; padding: 0; gap: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 99; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 20px; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.15); min-height: 44px; }
  .nav-toggle { display: flex; color: #008654; font-size: 1.8rem; }

  /* Section */
  .section { padding: 36px 0; }
  .section__title { font-size: 1.25rem; }
  .section__title br { display: none; }

  /* Hero Banner (upper orange) */
  .hero-banner__inner { flex-direction: column; gap: 8px; padding: 12px 16px; text-align: center; }
  .hero-banner__text { font-size: 0.95rem; }
  .hero-banner__text strong { font-size: 1.1em; }
  .hero-banner__sub { font-size: 0.82rem; }

  /* Hero Main */
  .hero { min-height: 320px; }
  .hero__bg { background-size: auto 100%; background-position: center top; }
  .hero__overlay { background: linear-gradient(180deg, rgba(0,86,52,0.85) 0%, rgba(0,86,52,0.75) 50%, rgba(0,107,68,0.40) 90%, rgba(0,134,84,0.15) 100%); }
  .hero__inner { flex-direction: column; min-height: auto; }
  .hero__content { padding: 28px 16px 16px; text-align: center; max-width: 100%; }
  .hero__cta { justify-content: center; flex-direction: column; gap: 10px; }
  .hero__cta .btn { width: 100%; }
  .hero__profile { flex: 0 0 auto; min-height: auto; padding: 0 16px 16px; justify-content: center; }
  .hero h1 { font-size: 1.35rem; }
  .hero h1 br { display: none; }
  .hero__sub { font-size: 0.95rem; }
  .hero__lead { font-size: 1rem; }
  .hero__lead strong { font-size: 1.2em; }
  .hero__amount-num { font-size: 1.7rem; }
  .hero__amount-label { font-size: 0.95rem; }
  .hero__action { padding: 6px 20px; font-size: 0.88rem; margin: 12px 0 16px; }
  .hero__footnote { font-size: 0.72rem; }

  /* Cards */
  .card { padding: 18px 16px; }

  /* Tables */
  .table-wrap { margin: 16px -16px; padding: 0 8px; }
  table { font-size: 0.82rem; table-layout: fixed; width: 100%; min-width: 0; }
  th, td { padding: 8px 6px; word-break: break-word; }
  th { font-size: 0.75rem; white-space: normal; }
  td { word-break: break-word; }
  td.td--highlight { min-width: auto; white-space: nowrap; text-align: center; }

  /* CTA */
  .cta-section { padding: 28px 16px; }
  .cta-section__title { font-size: 1.15rem; }
  .cta-section__buttons { flex-direction: column; gap: 10px; }
  .cta-section__buttons .btn { width: 100%; justify-content: center; }

  /* Buttons */
  .btn { padding: 14px 20px; font-size: 1rem; width: 100%; justify-content: center; min-height: 48px; }
  .btn--small { padding: 10px 16px; font-size: 0.88rem; min-height: 44px; }

  /* Footer CTA */
  .footer-cta { padding: 20px 16px; }
  .footer-cta__buttons { flex-direction: column; }
  .footer-cta__tel { font-size: 1.5rem; }
  .footer-cta__buttons .btn { width: 100%; }

  /* Sticky CTA - hidden, header CTA is fixed at bottom */
  .sticky-cta { display: none; }

  /* Subnav */
  .subnav a { padding: 10px 12px; font-size: 0.85rem; }

  /* Footer */
  .footer { padding: 24px 16px; }
  .footer__nav { flex-direction: column; gap: 8px; }
  .footer__info { flex-direction: column; }
  .footer__address { text-align: center; }
  .footer__logo-row { flex-direction: column; gap: 12px; }

  /* Checklist */
  .checklist li { padding: 14px 14px 14px 44px; font-size: 1rem; min-height: 44px; }
  .checklist li::before { left: 12px; }

  /* FAQ */
  .faq-q { font-size: 1.05rem; min-height: 44px; }
  .faq-a { padding-left: 24px; font-size: 1rem; }

  /* Timeline */
  .timeline { padding-left: 28px; }
  .timeline__label { font-size: 1rem; }
  .timeline__text { font-size: 1rem; }

  /* Flow Steps */
  .flow-steps { align-items: center; }
  .flow-step { max-width: 100%; font-size: 0.95rem; padding: 16px 20px; min-height: 44px; }
  .flow-arrow { text-align: center; width: 100%; }

  /* Sim Cards */
  .sim-card { padding: 20px 16px; }
  .sim-card dl { grid-template-columns: 1fr; gap: 4px; }
  .sim-card dt { font-size: 0.85rem; margin-top: 8px; }
  .sim-card dd { font-size: 1rem; }
  .sim-card__result { font-size: 1.1rem; }

  /* Type Cards */
  .type-card { padding: 18px 16px; }
  .type-card__title { font-size: 0.95rem; }

  /* Type Flow (disease progression) - MOBILE IMPROVED */
  .type-flow { gap: 8px; margin: 12px 0; }
  .type-flow__step { max-width: 100%; padding: 12px 14px; font-size: 0.88rem; min-height: 44px; }
  .type-flow__step small { font-size: 0.78rem; }
  .type-flow__arrow { font-size: 1.1rem; padding: 4px 0; }

  /* Notice Banner */
  .notice-banner { padding: 18px 16px; }

  /* Alert */
  .alert { padding: 18px 16px; }
  .alert__title { font-size: 1.15rem; }

  /* Voice */
  .voice { padding: 20px 18px; }

  /* Joseki Compare - IMPROVED FOR MOBILE */
  .joseki-compare { padding: 16px 12px; margin-top: 16px; }
  .joseki-compare__title { font-size: 0.95rem; margin-bottom: 16px; }
  .joseki-compare__row { flex-direction: column; gap: 10px; align-items: stretch; padding: 12px 0; }
  .joseki-compare__label { width: 100%; text-align: left; font-size: 0.75rem; padding-bottom: 6px; }
  .joseki-compare__bar { flex-wrap: wrap; overflow-x: auto; -webkit-overflow-scrolling: touch; min-width: 100%; gap: 4px; }
  .joseki-compare__result { width: 100%; margin-top: 6px; font-size: 0.75rem; padding: 6px 10px; }
  .joseki-compare__point { font-size: 0.65rem; padding: 4px 6px; }
  .joseki-compare__span { font-size: 0.6rem; padding: 3px 4px; margin: 0 2px; }

  /* Case Timeline - IMPROVED FOR MOBILE */
  .case-timeline { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px -16px 0; padding: 0 16px; }
  .case-timeline__row { flex-wrap: nowrap; justify-content: flex-start; min-width: max-content; }
  .case-timeline__step { min-width: 64px; max-width: 72px; padding: 8px 5px; font-size: 0.8rem; }
  .case-timeline__event { font-size: 0.7rem; }
  .case-timeline__age { font-size: 0.6rem; }
  .case-timeline__arrow { padding: 0 2px; font-size: 0.9rem; }

  /* Lawyer comment - IMPROVED FOR MOBILE */
  .lawyer-comment { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; gap: 16px; }
  .lawyer-comment__photo { flex: 0 0 auto; }
  .lawyer-comment__photo img { width: 100px; height: 100px; }
  .lawyer-comment__body { text-align: left; width: 100%; }
  .lawyer-comment__body p { font-size: 0.95rem; line-height: 1.8; }

  /* Lawyer team */
  .lawyer-team { gap: 12px; }
  .lawyer-team__member { flex: 0 0 calc(50% - 6px); padding: 16px 12px; }
  .lawyer-team__member img { width: 100px; height: 100px; }

  /* Link arrow */
  .link-arrow { font-size: 0.9rem; }

  /* Page title */
  .page-title { font-size: 1.25rem; margin-bottom: 20px; }
  .result-amount { font-size: 1.25rem; }

  /* Conclusion */
  .conclusion { padding: 16px 14px; }
  .conclusion p { font-size: 0.92rem; }
}

/* Desktop nav override */
@media (min-width: 769px) {
  .nav-toggle { display: none; }
  .nav-bar { display: block; }
}

/* ========================
   RESPONSIVE - Small iPhone (390px and below)
   iPhone SE, iPhone 12 mini, etc.
   ======================== */
@media (max-width: 390px) {
  html { font-size: 15px; }

  /* Header */
  .header__logo-img { height: 30px; }
  .header__top { padding: 6px 10px; }

  /* Hero Banner */
  .hero-banner__inner { padding: 10px 12px; gap: 6px; }
  .hero-banner__badge { font-size: 0.82rem; padding: 3px 12px; }
  .hero-banner__text { font-size: 0.85rem; }
  .hero-banner__sub { font-size: 0.75rem; padding: 2px 10px; }

  /* Hero */
  .hero { min-height: 280px; }
  .hero h1 { font-size: 1.2rem; line-height: 1.4; }
  .hero__amount-num { font-size: 1.5rem; }
  .hero__lead { font-size: 0.95rem; }
  .hero__amount-label { font-size: 0.85rem; }

  /* Section titles */
  .section__title { font-size: 1.1rem; }

  /* Tables - optimized for iPhone SE/mini */
  table { font-size: 0.72rem; table-layout: fixed; width: 100%; min-width: 0; }
  th, td { padding: 6px 4px; }
  th { font-size: 0.68rem; }
  td small { font-size: 0.62rem; }

  /* FAQ */
  .faq-q { font-size: 0.95rem; }
  .faq-a { font-size: 0.9rem; padding-left: 20px; }

  /* Type flow - OPTIMIZED FOR SMALL SCREENS */
  .type-flow__step { padding: 10px 12px; font-size: 0.8rem; min-height: 44px; }
  .type-flow__step small { font-size: 0.7rem; }

  /* Joseki compare - OPTIMIZED FOR SMALL SCREENS */
  .joseki-compare { padding: 12px 10px; }
  .joseki-compare__title { font-size: 0.85rem; margin-bottom: 12px; }
  .joseki-compare__label { font-size: 0.7rem; }
  .joseki-compare__point { font-size: 0.6rem; padding: 3px 4px; }
  .joseki-compare__span { font-size: 0.55rem; padding: 2px 3px; }
  .joseki-compare__result { font-size: 0.7rem; padding: 4px 8px; }

  /* Case Timeline - OPTIMIZED */
  .case-timeline__step { min-width: 56px; max-width: 64px; padding: 6px 3px; font-size: 0.7rem; }
  .case-timeline__event { font-size: 0.6rem; }
  .case-timeline__age { font-size: 0.55rem; }
  .case-timeline__arrow { padding: 0 1px; font-size: 0.8rem; }

  /* Buttons */
  .btn { padding: 12px 16px; font-size: 0.92rem; min-height: 44px; }
  .btn--small { padding: 10px 14px; font-size: 0.85rem; }

  /* Checklist */
  .checklist li { padding: 12px 12px 12px 38px; font-size: 0.9rem; min-height: 44px; }
  .checklist li::before { left: 10px; font-size: 1rem; }

  /* Page title */
  .page-title { font-size: 1.1rem; margin-bottom: 16px; }
  .result-amount { font-size: 1.15rem; }

  /* Sim card */
  .sim-card { padding: 16px 12px; }
  .sim-card__title { font-size: 0.9rem; }
  .sim-card dl { gap: 3px 12px; }
  .sim-card dt { font-size: 0.75rem; }
  .sim-card dd { font-size: 0.9rem; }
  .sim-card__result { font-size: 0.95rem; }

  /* Conclusion */
  .conclusion { padding: 14px 12px; }
  .conclusion p { font-size: 0.85rem; line-height: 1.7; }

  /* Footer CTA */
  .footer-cta { padding: 16px 12px; }
  .footer-cta__tel { font-size: 1.3rem; }
  .footer-cta__buttons .btn { font-size: 0.85rem; padding: 12px 10px; }

  /* Alert */
  .alert { padding: 14px 12px; }
  .alert__title { font-size: 0.95rem; }
  .alert__text { font-size: 0.85rem; }

  /* Notice Banner */
  .notice-banner { padding: 14px 12px; }
  .notice-banner__title { font-size: 0.95rem; }
  .notice-banner__text { font-size: 0.8rem; }

  /* Voice */
  .voice { padding: 16px 12px; }
  .voice { font-size: 0.9rem; }

  /* Lawyer comment */
  .lawyer-comment { padding: 16px 12px; gap: 12px; }
  .lawyer-comment__photo img { width: 90px; height: 90px; }
  .lawyer-comment__body p { font-size: 0.85rem; line-height: 1.6; }

  /* Lawyer team */
  .lawyer-team__member { flex: 0 0 calc(50% - 6px); padding: 12px 10px; }
  .lawyer-team__member img { width: 80px; height: 80px; }
  .lawyer-team__name { font-size: 0.85rem; }
  .lawyer-team__role { font-size: 0.65rem; }

  /* Footer */
  .footer { padding: 20px 12px; }
  .footer__nav { gap: 4px 12px; }
  .footer__nav a { font-size: 0.75rem; }
  .footer__address { font-size: 0.75rem; }

  /* Card */
  .card { padding: 14px 12px; }

  /* CTA section */
  .cta-section { padding: 20px 12px; margin: 24px 0; }
  .cta-section__title { font-size: 1.05rem; }
  .cta-section__sub { font-size: 0.85rem; }

  /* Container */
  .container { padding: 0 12px; }
}
