:root {
    --primary: #1a365d;
    --accent: #e67e22;
    --bg-light: #fdfcf9;
    --text: #333;
    --muted: #546072;
    --border: #eaeaea;
}
* { box-sizing: border-box; }
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 17px; /* 高齢者向け：やや大きめ */
    line-height: 1.85;
    color: var(--text);
    margin: 0;
    background-color: #fff;
}
.muted { color: #666; }
.skip-link { position: absolute; left: -9999px; top: 10px; background: #fff; padding: 10px 12px; border: 2px solid var(--accent); border-radius: 10px; z-index: 9999; }
.skip-link:focus { left: 10px; }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(230,126,34,.55);
  outline-offset: 2px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 4%; }

/* Typography */
h1, h2, h3 { font-family: 'Noto Serif JP', serif; color: var(--primary); }
h2 { font-size: 2rem; position: relative; padding-left: 18px; margin: 50px 0 30px; border: 0; }
h2::before { content: ''; position: absolute; left: 0; top: 0.18em; width: 5px; height: 1.1em; background: var(--accent); border-radius: 3px; }

.no-accent { padding-left: 0; }
.no-accent::before { display: none; }

/* Header & Nav */
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 8px 0; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }

.logo-link { display: inline-flex; align-items: center; text-decoration: none; }

.logo-img { display: block; height: 40px; width: auto; }

.logo-main { display: block; font-size: 1.4rem; font-weight: bold; color: var(--primary); text-decoration: none; }
.logo-sub { font-size: 0.75rem; color: #666; }

/* Brand (logo + page name) */
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 380px; }
.brand-text { display: flex; flex-direction: column; gap: 2px; max-width: 380px; }
.brand-title { font-weight: 900; color: var(--primary); font-size: 1.05rem; line-height: 1.15; letter-spacing: 0.01em; overflow-wrap: anywhere; }
.brand-title--2line { line-height: 1.12; }
.brand-title--compact { font-size: 0.95rem; }
.brand-operator { font-size: 0.78rem; color: #546072; line-height: 1.2; }
.brand-operator a { color: inherit; text-decoration: none; }
.brand-operator a:hover { text-decoration: underline; }

.main-nav { justify-self: center; min-width: 0; }
.main-nav ul { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0; align-items: center; }
.main-nav a { text-decoration: none; color: var(--text); font-weight: bold; font-size: 0.95rem; white-space: nowrap; }
.main-nav a.is-active { color: var(--accent); }

.nav-cta a { background: var(--accent); color: #fff; padding: 8px 15px; border-radius: 4px; }
.header-meta { display: grid; gap: 6px; justify-self: end; max-width: 360px; }
.meta-row { display: grid; grid-template-columns: 4.5em 1fr; column-gap: 10px; align-items: start; }
.meta-key { font-size: 0.82rem; color: #546072; font-weight: 800; padding-top: 2px; }
.meta-val { font-size: 0.86rem; color: #111; line-height: 1.25; }
.meta-note { font-size: 0.78rem; color: #334155; opacity: 0.92; }
.header-meta .header-tel { font-size: 1.05rem; font-weight: 900; color: var(--primary); }

.header-tel { text-decoration: none; font-weight: 800; color: var(--primary); font-size: 1.05rem; }
.tel-label { display: block; font-size: 0.75rem; color: #666; line-height: 1.2; }

/* Breadcrumb */
.breadcrumb { background: #f7f7f7; border-bottom: 1px solid #eee; }
.breadcrumb ol { display: flex; gap: 10px; list-style: none; padding: 12px 0; margin: 0; font-size: 0.85rem; }
.breadcrumb li::after { content: '›'; margin-left: 10px; color: #999; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--primary); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0; background: linear-gradient(180deg, rgba(15,23,42,0.96), rgba(26,54,93,0.90)); color: #fff; }

.hero h1 { color: #fff; font-size: 2.4rem; margin: 0 0 16px; line-height: 1.2; }

.hero span { color: var(--accent); }

.hero-sub { padding: 64px 0; background: linear-gradient(180deg, rgba(15,23,42,0.96), rgba(26,54,93,0.90)); color: #fff; }

.hero-sub h1 { color: #fff; font-size: 2.2rem; margin: 0 0 12px; }
.hero-sub p { margin: 0; opacity: 0.95; }



.hero-grid { display: grid; grid-template-columns: 1fr minmax(240px, 380px); gap: 28px; align-items: center; }
.hero-copy { text-align: left; }
.hero-media { justify-self: end; }
.hero-media img { width: 100%; max-width: 380px; height: auto; max-height: 260px; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,0.25); object-fit: cover; display: block; }
.hero-cta { margin-top: 22px; display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }

.hero .badge-row, .hero-sub .badge-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
.badge { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); padding: 6px 10px; border-radius: 999px; font-size: 0.85rem; }

/* Common Layout */
.section-padding { padding: 30px 0; }
.snuggle-box { background: var(--bg-light); padding: 40px; border-radius: 10px; margin-bottom: 40px; border: 1px solid #eee; }

.lead { font-size: 1.05rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 800; line-height: 1.2; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid rgba(26,54,93,0.35); }
.btn-ghost { background: transparent; color: var(--primary); border: 1px solid rgba(26,54,93,0.35); }
.btn-ghost:hover { background: rgba(26,54,93,0.04); }
.btn-ghost--on-dark { color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost--on-dark:hover { background: rgba(255,255,255,0.08); }

.btn .icon { width: 18px; height: 18px; }
.btn.btn-accent .icon, .btn.btn-outline .icon, .btn.btn-ghost--on-dark .icon { filter: none; }

.icon { width: 22px; height: 22px; display: inline-block; vertical-align: middle; }
.icon-lg { width: 36px; height: 36px; }

/* Content blocks */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px; box-shadow: 0 4px 14px rgba(0,0,0,0.04); }
.card h3 { margin-top: 0; }

.card--icon h3 { display: flex; gap: 10px; align-items: center; }
.card--icon h3 .icon { flex: 0 0 auto; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 26px; position: relative; margin: 8px 0; line-height: 1.6; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0.15em; color: var(--accent); font-weight: 900; }

.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 18px 18px 18px 54px; margin: 14px 0; position: relative; }
.step-list li::before { content: attr(data-step); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Generic sections used by some pages */
.section { padding: 30px 0; }
.section-muted { background: #fafafa; }
.section-head { margin-bottom: 14px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Compact hero variant used on some pages */
.hero--compact { padding: 56px 0; }
.hero-inner { display: grid; grid-template-columns: 1fr minmax(240px, 380px); gap: 28px; align-items: center; }
.hero-kicker { font-weight: 900; opacity: .95; margin: 0 0 10px; }
.hero-lead { margin: 0; opacity: .95; }

/* Pricing table */
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 14px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table th { background: #f7f7f7; color: var(--primary); text-align: left; font-weight: 900; }
.price-table tr:last-child td { border-bottom: none; }

/* Standard tables */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { background: #f7f7f7; text-align: left; font-weight: 900; color: var(--primary); }
.table tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; }
.form-legal { font-size: 0.85rem; text-align: center; margin: 0 0 16px; }
.contact-big a { font-size: 1.6rem; font-weight: 900; color: var(--primary); text-decoration: none; }
.small { font-size: 0.85rem; color: #666; }
.notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; }
.notice-success { background: #e7f7ee; border: 1px solid #bde9cf; }
.notice-error { background: #fff0f0; border: 1px solid #f2b7b7; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Contact Form */
.contact-area { background: #f4f4f4; padding: 80px 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; }
.submit-btn { background: var(--accent); color: #fff; border: none; padding: 20px 40px; font-size: 1.2rem; cursor: pointer; display: block; margin: 0 auto; border-radius: 5px; }

/* Footer */
.site-footer { background: var(--primary); color: #fff; padding: 50px 0 120px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.footer-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 22px; }
.footer-title { color: #fff; border: none; padding: 0; margin: 0 0 10px; }
.footer-title a { color: inherit; text-decoration: none; }
.footer-title a:hover { text-decoration: underline; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-cta .btn-ghost { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 16px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { color: #fff; }
.footer-copy { text-align: center; margin-top: 28px; font-size: 0.85rem; opacity: 0.8; }
.map-embed iframe { width: 100%; height: 260px; border-radius: 12px; }
.floating-cv { position: fixed; bottom: 0; width: 100%; display: flex; z-index: 2000; }
.floating-cv a { flex: 1; text-align: center; padding: 18px 12px; color: #fff; text-decoration: none; font-weight: 900; display: flex; gap: 8px; align-items: center; justify-content: center; }
.floating-cv a .icon { width: 18px; height: 18px; }
.cv-form { background: var(--accent); }
.cv-tel { background: #00529b; }
.cv-mail { background: #0f172a; }


.hamburger-menu { display: none; background: transparent; border: 0; padding: 8px; border-radius: 999px; }
@media (max-width: 768px) {
    .header-inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; }
    .main-nav { display: none; } /* ハンバーガーメニューの実装を推奨 */
    .footer-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
}

/* ... (既存のCSSは省略) ... */

/* Header & Nav (モバイル用ハンバーガーメニュー追加) */
@media (max-width: 768px) {
    .header-inner { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; }
    .main-nav { display: none; /* 初期状態は非表示 */ position: absolute; top: 70px; left: 0; width: 100%; background: #fff; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .main-nav.active { display: block; } /* アクティブ時に表示 */
    .main-nav ul { flex-direction: column; }
    .main-nav li { border-bottom: 1px solid #eee; }
    .hamburger-menu { display: block; /* モバイルで表示 */ position: absolute; right: 20px; top: 20px; width: 30px; height: 20px; cursor: pointer; }
    .hamburger-menu span { display: block; height: 2px; background: var(--primary); margin-bottom: 5px; transition: 0.3s; }
    .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger-menu.active span:nth-child(2) { opacity: 0; }
    .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* アニメーションベーススタイル */
.fade-in, .slide-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.is-visible, .slide-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.slide-in-right { /* 右からカットイン */
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* スライドショー */
.slideshow { position: relative; width: 100%; height: 300px; overflow: hidden; margin: 40px 0; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.slideshow .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; justify-content: center; color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.slideshow .slide.active { opacity: 1; }
.slideshow .slide-content { background: rgba(0,0,0,0.5); padding: 20px 40px; border-radius: 8px; text-align: center; }

/* フローティングCVボタン */
.floating-cv { opacity: 0; transform: translateY(100%); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.floating-cv.is-visible { opacity: 1; transform: translateY(0); }

/* Modal (Exit intent) */
.modal { position: fixed; inset: 0; display: none; z-index: 3000; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.modal__panel { position: relative; max-width: 720px; margin: 10vh auto 0; background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.modal__close { position: absolute; right: 10px; top: 10px; width: 42px; height: 42px; border-radius: 999px; border: 1px solid #eee; background: #fff; font-size: 1.6rem; cursor: pointer; }
.modal__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.modal__note { font-size: 0.85rem; color: #666; margin-top: 14px; }

/* FAQ */
.faq { margin-top: 22px; }
.faq details { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 14px 16px; margin: 12px 0; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--primary); }
.faq p { margin: 10px 0 0; }

/* Tables (AEO / comparison) */
.table-wrap { overflow-x: auto; margin-top: 16px; }
.simple-table { width: 100%; border-collapse: collapse; min-width: 720px; background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; }
.simple-table th, .simple-table td { padding: 14px 14px; border-bottom: 1px solid #eee; vertical-align: top; }
.simple-table th { background: #f7f7f7; color: #1a365d; font-weight: 800; text-align: left; }
.simple-table tr:last-child td { border-bottom: none; }
.simple-table td { color: #222; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 768px) {
  .simple-table { min-width: 640px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: 2; }
  .header-inner { flex-wrap: wrap; }
  .header-tel-box { text-align: left; max-width: none; }
}


/* Mail toast (fallback) */
#mail-toast { position: fixed; right: 14px; bottom: 86px; z-index: 3000; width: min(360px, calc(100% - 28px)); }
#mail-toast .mail-toast-inner { background: rgba(15,23,42,0.96); color: #fff; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 16px; box-shadow: 0 18px 40px rgba(0,0,0,0.28); }
#mail-toast .mail-toast-title { font-weight: 900; font-size: 0.95rem; margin-bottom: 8px; }
#mail-toast .mail-toast-email { font-weight: 800; font-size: 1.05rem; word-break: break-all; margin-bottom: 10px; }
#mail-toast .mail-toast-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#mail-toast .mail-toast-btn { border: 0; border-radius: 12px; padding: 10px 12px; font-weight: 800; cursor: pointer; }
#mail-toast .mail-toast-copy { background: var(--accent); color: #fff; }
#mail-toast .mail-toast-close { background: rgba(255,255,255,0.12); color: #fff; }
#mail-toast .mail-toast-note { opacity: 0.85; font-size: 0.78rem; margin-top: 8px; line-height: 1.35; }

@media (max-width: 768px) {
  #mail-toast { right: 14px; left: 14px; width: auto; bottom: 96px; }
}

@media (max-width: 768px) {
  .header-meta { justify-self: start; width: 100%; }
  .meta-row { grid-template-columns: 4.2em 1fr; }
}

/* ボックスレイアウト */
.blog-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-table th,
.blog-table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

.blog-table th {
    background-color: #f2f2f2;
}

.blog-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: background 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.blog-row:hover {
    background: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.clickable-row:hover {
    background-color: #f9f9f9;
}
.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-list {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.blog-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    background-color: #fff;
    transition: background-color 0.2s;
    color: inherit;
}

.blog-list-item:hover {
    background-color: #f5f5f5;
}

.blog-category {
    background: #4caf50;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    min-width: 90px;
    text-align: center;
}

.blog-title {
    flex: 1;
    font-weight: bold;
    padding: 0 16px;
}

.blog-date {
    font-size: 0.85rem;
    color: #666;
    min-width: 110px;
    text-align: right;
}

.blog-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
}

.blog-list-header h2 {
    margin: 0;
}

.blog-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.blog-search-form input[type="text"],
.blog-search-form select,
.blog-search-form input[type="date"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.blog-search-form button {
    background: #4caf50;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.blog-search-form button:hover {
    background: #45a047;
}

/* ==============================
   やさしいにほんご（外国人向け3行まとめ）
   ============================== */
.easyjp{--easyjp-bg:#f0fdf4;margin:16px 0 24px;background:var(--easyjp-bg);border:1px solid rgba(34,197,94,.28);border-left:7px solid rgba(34,197,94,.75);border-radius:14px;padding:16px 16px 14px;color:#0f172a;box-shadow:0 10px 24px rgba(2,6,23,.08);position:relative}
.easyjp:after{content:'';position:absolute;top:-10px;left:28px;width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:10px solid var(--easyjp-bg);filter:drop-shadow(0 2px 2px rgba(2,6,23,.10))}
.easyjp--dark{--easyjp-bg:rgba(240,253,244,.14);background:var(--easyjp-bg);border-color:rgba(34,197,94,.40);color:#fff}
.easyjp--dark:after{border-bottom-color:var(--easyjp-bg)}
.easyjp__head{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.easyjp__tag{display:inline-block;background:rgba(34,197,94,.14);border:1px solid rgba(34,197,94,.30);padding:5px 10px;border-radius:999px;font-weight:900;font-size:.95rem;letter-spacing:.01em}
.easyjp--dark .easyjp__tag{background:rgba(34,197,94,.28);border-color:rgba(34,197,94,.44);color:#eafff3}
.easyjp__sub{font-size:.9rem;font-weight:800;opacity:.95}
.easyjp__list{margin:0;padding-left:1.25rem}
.easyjp__list li{margin:.28rem 0;line-height:1.6;font-size:1.02rem}


/* ==============================
   ペイン → ベネフィット（上部の感情導入）
   ============================== */
.emotion{margin:14px 0 16px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.emotion__col{background:rgba(255,255,255,.92);border:1px solid rgba(2,6,23,.10);border-radius:12px;padding:12px 12px 10px;box-shadow:0 8px 18px rgba(2,6,23,.06)}
.emotion--dark .emotion__col{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.18);color:#fff;box-shadow:none}
.emotion__label{font-weight:900;font-size:.86rem;letter-spacing:.01em;margin-bottom:6px}
.emotion__list{margin:0;padding-left:1.15rem;font-size:.95rem;line-height:1.55}
.emotion__list li{margin:.22rem 0}
.emotion__col--pain{border-left:6px solid var(--accent)}
.emotion__col--benefit{border-left:6px solid rgba(34,197,94,.75)}
.emotion__col--pain .emotion__label{color:var(--accent)}
.emotion__col--benefit .emotion__label{color:rgba(34,197,94,.95)}
.emotion--dark .emotion__col--pain .emotion__label{color:#ffd1a3}
.emotion--dark .emotion__col--benefit .emotion__label{color:#baf7cf}
@media (max-width: 820px){.emotion{grid-template-columns:1fr}}

/* ==============================
   カットイン（CVR強化）
   ============================== */
.cutin{margin:22px 0;background:#fff;border:1px solid rgba(2,6,23,.08);border-left:6px solid var(--accent);border-radius:14px;padding:18px;box-shadow:0 10px 24px rgba(2,6,23,.08)}
.cutin__title{margin:0 0 8px;font-size:1.1rem}
.cutin__lead{margin:0 0 14px}
.cutin__cta{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.cutin__cta .btn{margin:0}

/* ===== Add-ons for improvement (keep tone & existing components) ===== */

/* Brand: show catch copy (サクッ！とビザ) and keep page name compact */
.brand-catch { font-weight: 900; color: var(--primary); font-size: 1.05rem; line-height: 1.1; }
.brand-page { font-size: 0.78rem; color: #546072; line-height: 1.15; overflow-wrap: anywhere; }
.brand-page.brand-title--compact { font-size: 0.74rem; }
.brand { max-width: 280px; }
.brand-text { max-width: 280px; }

/* Quicknav list */
.quicknav-list { margin: 0; padding-left: 1.2em; }
.quicknav-list li { margin: 6px 0; }
.quicknav-list a { color: var(--primary); font-weight: 700; text-decoration: none; }
.quicknav-list a:hover { text-decoration: underline; }

/* Representative block */
.rep-box { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: start; }
.rep-box__img img { width: 140px; height: auto; border-radius: 12px; border: 1px solid #eee; display:block; }
@media (max-width: 720px) {
  .rep-box { grid-template-columns: 1fr; }
  .rep-box__img img { width: 120px; }
}

/* Official links */
.official-list { margin: 0; padding-left: 1.2em; }
.official-list li { margin: 6px 0; }
.official-list a { color: var(--primary); font-weight: 700; text-decoration: none; }
.official-list a:hover { text-decoration: underline; }


/* 目次（自動生成） */
.toc-box { margin: 18px auto 8px; max-width: 1060px; }
.toc-box .toc-title { font-weight: 900; margin: 0 0 10px; }
.toc-box .toc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; list-style: none; padding: 0; margin: 0; }
.toc-box .toc-list a { color: #0f172a; text-decoration: none; font-weight: 700; }
.toc-box .toc-list a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .toc-box .toc-list { grid-template-columns: 1fr; }
}

/* 読み進み（モバイル用インジケーター） */
.reading-indicator { position: fixed; right: 14px; bottom: 86px; z-index: 2500; background: rgba(255,255,255,0.96); border: 1px solid rgba(15,23,42,0.12); border-radius: 999px; box-shadow: 0 12px 28px rgba(0,0,0,0.12); padding: 10px 12px; display: none; max-width: calc(100% - 28px); }
.reading-indicator__text { font-size: 0.84rem; font-weight: 900; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reading-indicator__sub { font-size: 0.72rem; opacity: 0.8; margin-top: 2px; }
@media (max-width: 768px) {
  .reading-indicator { display: block; }
}

/* Quick overview pills (non-invasive) */
.pill-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:12px}
.pill-card{display:block;padding:12px 14px;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:#fff;box-shadow:0 6px 14px rgba(0,0,0,.04)}
.pill-card:hover{transform:translateY(-1px)}
/* ==============================
   Souzoku site accessibility tweaks (senior-friendly)
   ============================== */
:root{
  --base-font-size: 18px;
}
html{ font-size: var(--base-font-size); }
body{ line-height: 1.85; letter-spacing: .02em; }

/* Larger tap targets */
a, button, input, select, textarea{ min-height: 44px; }
.btn, .submit-btn, .cv-form, .cv-tel, .cv-mail{ padding-top: 14px; padding-bottom: 14px; }

/* Reduce cognitive load */
.main-nav a{ font-size: 1rem; }
.section-head h2{ line-height: 1.35; }

/* Focus visibility */
:focus{ outline: 3px solid rgba(255, 140, 0, .55); outline-offset: 2px; }

/* Make tables scrollable on small screens */
.table-scroll{ overflow-x:auto; -webkit-overflow-scrolling: touch; }
.table-scroll table{ min-width: 720px; }

/* Gentle highlight for key CTAs */
.hero-cta .btn{ font-size: 1.05rem; }

/* Ensure floating CV doesn't cover content on very small devices */
@media (max-width: 420px){
  .floating-cv a{ font-size: .95rem; padding: 12px 10px; }
}

/* ==============================
   Compatibility helpers (section/hero variants)
   ============================== */
.hero--compact{ padding:56px 0; }
.hero-inner{ display:grid; grid-template-columns:1fr minmax(240px,420px); gap:28px; align-items:center; }
.hero-kicker{ margin:0 0 8px; font-weight:900; opacity:.95; }
.hero-lead{ margin:0 0 10px; font-size:1.05rem; opacity:.95; }
.section{ padding:30px 0; }
.section-muted{ background:#fafafa; }

