/* ========================================================
   hotaru_tone.css
   LP v2 に準拠した共通トーンスタイル（藍の昼 → 明るい地 → 夜）
   正本：プロモーション部門/トーンの決まり_hotaruのページ_20261025.md
   ======================================================== */

:root {
    --tone-indigo-1: #3D4D62;
    --tone-indigo-2: #34445A;
    --tone-bg-light: #E9E4DA;
    --tone-night-1: #3A3550;
    --tone-night-2: #1E2034;
    --tone-night-3: #0B0C13;
    --tone-text-main: #14120E;
    --tone-text-sub: #554E44;
    --tone-text-head: #FFFFFF;
    --tone-text-head-sub: #F2EFE8;
    --tone-text-foot: #EDEBE4;
    --tone-link-body: #7A4E00;
    --tone-link-head: #F2C86A;
    --tone-link-foot: #EDEBE4;
    --tone-dot-body: #9A6400;
    --tone-border-body: rgba(20, 18, 14, 0.15);
    --tone-box-bg-body: rgba(20, 18, 14, 0.04);
}

/* 全体ベース */
body {
    background-color: var(--tone-bg-light) !important;
    color: var(--tone-text-main) !important;
    font-family: "Hiragino Mincho ProN", "YuMincho", serif !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* 背景写真・黒オーバーレイの完全無効化 */
.bg-overlay {
    display: none !important;
}

/* 各ページの container の余白リセット（外枠コンテナの全幅化対応） */
body > .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* --------------------------------------------------------
   1. 頭（藍の昼） .tone-head
   -------------------------------------------------------- */
.tone-head,
header.tone-head {
    width: 100% !important;
    background: linear-gradient(180deg, #3D4D62 0%, #34445A 100%) !important;
    color: #F2EFE8 !important;
    padding: 40px 24px 30px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.tone-head-inner,
.tone-head .tone-head-inner {
    max-width: 640px !important;
    margin: 0 auto !important;
}

.tone-head h1,
.tone-head .title {
    color: #FFFFFF !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    letter-spacing: 0.14em !important;
    margin: 0 0 10px !important;
}

.tone-head .subtitle {
    color: #F2EFE8 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
    letter-spacing: 0.1em !important;
}

.tone-head .tagline,
.tone-head .intro-text {
    color: #F2EFE8 !important;
    font-size: 0.85rem !important;
    line-height: 2.0 !important;
    margin-top: 15px !important;
    margin-bottom: 0 !important;
}

.tone-head .date {
    color: #F2EFE8 !important;
    font-size: 0.78rem !important;
    text-align: right !important;
    margin-bottom: 15px !important;
    opacity: 0.9 !important;
}

.tone-head a,
.tone-head a:visited {
    color: #F2C86A !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

/* --------------------------------------------------------
   2. つなぎ ＆ 本文（明るい地） .tone-body
   -------------------------------------------------------- */
.tone-body,
main.tone-body {
    width: 100% !important;
    background: linear-gradient(180deg, #34445A 0%, #E9E4DA 70px, #E9E4DA 100%) !important;
    color: #14120E !important;
    padding: 40px 24px 60px !important;
    box-sizing: border-box !important;
    margin: 0 !important;

    /* 既存のCSS変数を明るい地用に上書き */
    --accent: #7A4E00 !important;
    --text-primary: #14120E !important;
    --text-secondary: #554E44 !important;
    --text-muted: #554E44 !important;
    --border: rgba(20, 18, 14, 0.15) !important;
    --bg-color: #E9E4DA !important;
}

.tone-body > .container,
.tone-body-inner {
    max-width: 640px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* 本文内の各要素の幅制御 */
.tone-body section,
.tone-body .plan-item,
.tone-body .section-item,
.tone-body .toc-container {
    max-width: 640px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 白い文字の完全上書き */
.tone-body,
.tone-body p,
.tone-body div,
.tone-body span,
.tone-body li,
.tone-body td,
.tone-body th,
.tone-body dd,
.tone-body dt,
.tone-body h1,
.tone-body h2,
.tone-body h3,
.tone-body h4,
.tone-body section {
    color: #14120E;
}

/* 見出し */
.tone-body h2 {
    color: #14120E !important;
    font-size: 1.0rem !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    letter-spacing: 0.1em !important;
    margin-top: 40px !important;
    margin-bottom: 12px !important;
    position: relative !important;
    padding-left: 18px !important;
    border-bottom: none !important;
    text-align: left !important;
}

/* 見出しの頭の光の点（7px・#9A6400） */
.tone-body h2::before {
    content: '' !important;
    position: absolute !important;
    left: 2px !important;
    top: 9px !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #9A6400 !important;
    box-shadow: 0 0 8px 3px rgba(200, 140, 30, 0.5) !important;
}

.tone-body h3 {
    color: #14120E !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-top: 24px !important;
    margin-bottom: 8px !important;
    text-align: left !important;
}

/* 本文テキスト */
.tone-body p,
.tone-body li,
.tone-body td,
.tone-body th,
.tone-body dd,
.tone-body dt {
    color: #14120E !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 2.0 !important;
    letter-spacing: 0.06em !important;
}

.tone-body p {
    margin-bottom: 16px !important;
}

.tone-body ul,
.tone-body ol {
    margin-bottom: 20px !important;
    padding-left: 20px !important;
}

.tone-body li {
    margin-bottom: 8px !important;
}

/* 箇条書きの頭の記号 */
.tone-body ul li {
    color: #14120E !important;
}

/* 補足・注記・更新日 */
.tone-body .note,
.tone-body .date,
.tone-body .contact,
.tone-body small,
.tone-body .plan-note,
.tone-body .ai-disclaimer,
.tone-body .important {
    color: #554E44 !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    letter-spacing: 0.04em !important;
}

/* リンク */
.tone-body a,
.tone-body a:visited {
    color: #7A4E00 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.tone-body a:hover {
    color: #9A6400 !important;
}

/* 表・囲み・カード */
.tone-body table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    background: rgba(20, 18, 14, 0.04) !important;
    border: 1px solid rgba(20, 18, 14, 0.15) !important;
    border-radius: 8px !important;
}

.tone-body th,
.tone-body td {
    border: 1px solid rgba(20, 18, 14, 0.15) !important;
    padding: 10px 14px !important;
    color: #14120E !important;
}

.tone-body th {
    background: rgba(20, 18, 14, 0.06) !important;
    font-weight: 600 !important;
}

/* ボタン（戻るリンク等） */
.tone-body .back-link,
.tone-body .accept-link,
.tone-body .btn-container a,
.tone-body .issue-btn,
.tone-body .btn-lamp {
    display: inline-block !important;
    background: transparent !important;
    color: #14120E !important;
    border: 1px solid rgba(20, 18, 14, 0.25) !important;
    border-radius: 20px !important;
    padding: 8px 24px !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.08em !important;
    transition: 0.3s !important;
}

.tone-body .back-link:hover,
.tone-body .accept-link:hover,
.tone-body .btn-container a:hover,
.tone-body .issue-btn:hover,
.tone-body .btn-lamp:hover {
    background: rgba(20, 18, 14, 0.08) !important;
    color: #000000 !important;
    border-color: rgba(20, 18, 14, 0.4) !important;
}

/* 料金ページ固有の要素上書き */
.tone-body .toc-container {
    background: rgba(20, 18, 14, 0.03) !important;
    border: 1px solid rgba(20, 18, 14, 0.15) !important;
    border-radius: 12px !important;
    margin: 20px auto 40px !important;
    transform: none !important;
    opacity: 1 !important;
}

.tone-body .toc-title {
    color: #7A4E00 !important;
    font-weight: 600 !important;
}

.tone-body .toc-item-main > a {
    color: #7A4E00 !important;
    border-bottom: 1px solid rgba(122, 78, 0, 0.3) !important;
}

.tone-body .toc-sub-list a {
    color: #554E44 !important;
}

.tone-body .plan-card,
.tone-body .flow-box,
.tone-body .plan-box,
.tone-body .trial-notice,
.tone-body .gift-card {
    background: rgba(20, 18, 14, 0.04) !important;
    border: 1px solid rgba(20, 18, 14, 0.15) !important;
    border-radius: 12px !important;
}

.tone-body .plan-label,
.tone-body .section-title,
.tone-body .flow-title,
.tone-body .gift-title {
    color: #14120E !important;
    font-weight: 600 !important;
}

.tone-body .plan-price,
.tone-body .plan-period {
    color: #7A4E00 !important;
}

.tone-body .plan-desc,
.tone-body .flow-desc,
.tone-body .gift-desc {
    color: #14120E !important;
}

/* --------------------------------------------------------
   3. 足（夜） .tone-foot
   -------------------------------------------------------- */
.tone-foot,
footer.tone-foot {
    width: 100% !important;
    background: linear-gradient(180deg, #E9E4DA 0%, #3A3550 18%, #1E2034 45%, #0B0C13 100%) !important;
    color: #EDEBE4 !important;
    padding: 64px 24px 60px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    border-top: none !important;
    margin: 0 !important;
}

.tone-foot-inner {
    max-width: 640px !important;
    margin: 0 auto !important;
}

.tone-foot p,
.tone-foot div,
.tone-foot span,
.tone-foot .contact,
.tone-foot .footer-copyright,
.tone-foot .copyright {
    color: #EDEBE4 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.06em !important;
}

.tone-foot .footer-nav,
.tone-foot .footer-sub-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 18px !important;
    margin-bottom: 20px !important;
}

.tone-foot .footer-nav a,
.tone-foot .footer-sub-nav a,
.tone-foot a,
.tone-foot a:visited {
    color: #EDEBE4 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    border-bottom: none !important;
}

.tone-foot a:hover {
    color: #FFFFFF !important;
}

.tone-foot .back-link {
    color: #EDEBE4 !important;
    border: 1px solid rgba(237, 235, 228, 0.3) !important;
    background: transparent !important;
    border-radius: 20px !important;
}

.tone-foot .back-link:hover {
    background: rgba(237, 235, 228, 0.15) !important;
    color: #FFFFFF !important;
}

/* --------------------------------------------------------
   4. PWAホームへ戻るボタン（丸い札）
   -------------------------------------------------------- */
.pwa-back-btn {
    background: rgba(20, 18, 14, 0.65) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.pwa-back-btn:hover {
    background: rgba(20, 18, 14, 0.85) !important;
    color: #FFFFFF !important;
}
