@charset "utf-8";
/* 改版: 2026-06-04 会話画面：広告上固定・トーク欄のみスクロール */
/* 改版: 2026-06-04 ニックネームの左位置を少し左へ */
/* 改版: 2026-06-04 ニックネームを枠内左に揃え、枠との縦余白を詰める */
/* 改版: 2026-06-04 チャットトーク：自分は白・相手は灰色 */
/* 改版: 2026-06-04 チャットトーク（ニックネーム上・角丸枠本文）の表示 */
/* 改版: 2026-06-04 会話フッター入力が input のため textarea 用 resize を削除 */
/* 改版: 2026-06-04 操作ボタンは退室幅に合わせて中央寄せ（flex 均等伸縮は削除） */
/* 改版: 2026-06-04 会話フッター送信を btn-sm 用オレンジに戻す（大きい submit-btn は使わない） */
/* 改版: 2026-06-04 会話画面の固定フッター（textarea 込み）用余白を追加 */
/* 改版: 2026-06-04 広告枠の下に 6px マージンを追加 */
/* 改版: 2026-06-04 境界線・会話用 room ヘッダー用スタイルを削除（undo） */
/* 改版: 2026-06-04 広告ダミー 320×50 の見た目を追加 */
/* 改版: 2026-06-04 広告枠の上・左右パディングを削除（下のみ現状維持） */
/* 改版: 2026-06-04 広告枠を白 main の上（全幅・ページ背景上）用に調整 */
/* 改版: 2026-06-04 広告枠の背景をランディング背景色（#f4f9f6）に合わせる */
/* 改版: 2026-06-04 room 画面上部の Google 広告用スペースを追加 */
/* 改版: 2026-06-04 コラム一覧・本文表示用スタイルを追加 */
/* 改版: 2026-06-04 コラム一覧用スタイルを削除 */
/* 改版: 2026-06-04 静的ページ・サイトナビ用スタイルを追加 */

/* ==========================================================================
   151a (一期一会) アプリ専用カスタムスタイル
   ========================================================================== */

/* 全体背景とベース */
body.app-151a-landing {
    background-color: #f4f9f6; /* 全体的に優しい薄緑がかった背景 */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
}

/* フッター固定用の余白確保 */
body.app-151a-landing--footer-fixed {
    padding-bottom: 90px;
}
/* 会話画面: textarea 付き固定フッター分（QR 等・ページ全体スクロール時） */
body.app-151a-landing--room-chat-footer {
    padding-bottom: 150px;
}
/* 会話画面: 広告は常に上、トークだけ中間でスクロール */
body.app-151a-landing--room-chat-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    padding-bottom: 0;
}
body.app-151a-landing--room-chat-layout .app-151a-ad-top {
    flex-shrink: 0;
    z-index: 1040;
}
body.app-151a-landing--room-chat-layout .app-151a-landing-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 0.75rem;
    padding-bottom: 0;
}
body.app-151a-landing--room-chat-layout .app-151a-landing-inner {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
body.app-151a-landing--room-chat-layout .app-151a-chat-section {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}
body.app-151a-landing--room-chat-layout .app-151a-chat-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* 固定フッター（入力欄）に最後のトークが隠れない分 */
    padding-bottom: 150px;
}

/* ヘッダーの調整 */
.app-151a-landing-header {
    background-color: #ffffff !important;
}
.app-151a-landing-header .navbar-brand {
    font-weight: 700;
    color: #e59362 !important; /* ロゴ文字はオレンジ */
}

/* メインコンテナの幅制限（スマホ最適化） */
.app-151a-landing-main {
    max-width: 500px;
    margin: 0 auto;
}

/* room: 白い .zuzu-shell-main の直上（body 背景上）。スマホ向け全幅 */
.app-151a-ad-top {
    background-color: #f4f9f6; /* body.app-151a-landing と同じ */
    width: 100%;
    margin: 0 0 6px;
    padding: 0;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* レイアウト確認用ダミー（スマホ上部で多い 320×50。本番 AdSense 差し替え後に削除） */
.app-151a-ad-top-dummy {
    width: 320px;
    max-width: 100%;
    height: 50px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #8fa09a;
    background-color: #e9ecef;
    border: 1px dashed #adb5bd;
}

/* 入力パネル（薄緑のボックス） */
.app-151a-form-panel {
    background-color: #cee7df !important; /* 特徴的なミントグリーン背景 */
    border: 1px solid #b3dad0;
}
.app-151a-form-panel .form-label {
    font-weight: 600;
    color: #2c4e44;
    margin-bottom: 0.4rem;
}
.app-151a-form-panel .form-control,
.app-151a-form-panel .form-select {
    border: 2px solid #ffffff;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    background-color: #ffffff;
}
.app-151a-form-panel .form-control:focus,
.app-151a-form-panel .form-select:focus {
    border-color: #e59362;
    box-shadow: 0 0 0 0.25rem rgba(229, 147, 98, 0.25);
}
.app-151a-form-panel .form-control:disabled {
    background-color: #e9f3f0;
    color: #8fa09a;
    border-color: #e9f3f0;
}

/* 使い方＆安全プライバシーのカードスタイル */
.app-151a-landing-main .card {
    border-radius: 12px !important;
    border: 1px solid #e2ece8 !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.2s;
}
.app-151a-landing-main h2.h6 {
    font-weight: 700;
    color: #444444;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* アイコンカラーの統一 */
.app-151a-landing-main .fa-solid {
    color: #5bb39b !important; /* アイコンは爽やかなグリーン */
}

/* トクリュウ対策警告（マイルドかつ目立たせる） */
.app-151a-landing-main .alert-warning {
    background-color: #fff9e6;
    border: 1px solid #ffe699;
    border-radius: 12px;
    color: #66521a;
}
.app-151a-landing-main .alert-warning .fa-solid {
    color: #cca329 !important;
}

/* フッター固定ボタン領域 */
.app-151a-landing-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #ffffff 80%, rgba(255, 255, 255, 0));
    padding: 15px 20px 25px 20px;
    z-index: 1030;
}
.app-151a-landing-footer-inner {
    max-width: 460px;
    margin: 0 auto;
}
/* 会話タイムライン（1トーク＝ニックネーム＋角丸枠） */
.app-151a-chat-timeline {
    min-height: 4rem;
}
.app-151a-chat-talk {
    margin-bottom: 0.75rem;
}
.app-151a-chat-talk:last-child {
    margin-bottom: 0;
}
.app-151a-chat-talk-name {
    font-size: 0.75rem;
    line-height: 1.2;
    color: #6c757d;
    margin-bottom: 0.125rem;
    padding-left: 0.5rem;
}
.app-151a-chat-talk-body {
    border: 1px solid #e2ece8;
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
}
.app-151a-chat-talk--self .app-151a-chat-talk-body {
    background-color: #ffffff;
}
.app-151a-chat-talk--other .app-151a-chat-talk-body {
    background-color: #e9ecef;
    border-color: #dee2e6;
}
.app-151a-chat-talk-text {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #333333;
}

.app-151a-room-chat-footer .form-control {
    border-radius: 8px;
}
.app-151a-room-chat-footer .app-151a-room-chat-toolbar .btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.app-151a-room-chat-footer .btn-primary {
    background-color: #e59362 !important;
    border-color: #e59362 !important;
    box-shadow: none;
    font-weight: 600;
}
.app-151a-room-chat-footer .btn-primary:hover,
.app-151a-room-chat-footer .btn-primary:focus {
    background-color: #d67f4b !important;
    border-color: #d67f4b !important;
    box-shadow: none;
}

/* 特徴的なピーチオレンジの送信ボタン */
.app-151a-submit-btn {
    background-color: #e59362 !important;
    border-color: #e59362 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 4px 15px rgba(229, 147, 98, 0.4);
    border-radius: 30px !important;
}
.app-151a-submit-btn:hover,
.app-151a-submit-btn:focus {
    background-color: #d67f4b !important;
    border-color: #d67f4b !important;
    box-shadow: 0 2px 6px rgba(229, 147, 98, 0.2);
}

/* トップ末尾・静的ページ共通のサイトリンク */
.app-151a-site-nav {
    border-top: 1px solid #e2ece8;
    padding-top: 1rem;
    margin-top: 0.5rem;
}
.app-151a-site-nav .app-151a-site-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
}
.app-151a-site-nav a {
    color: #2c4e44;
    text-decoration: none;
}
.app-151a-site-nav a:hover {
    color: #e59362;
    text-decoration: underline;
}

/* 静的ページ（プライバシー・経緯・コラム） */
body.app-151a-static {
    background-color: #f4f9f6;
    color: #333333;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.app-151a-static-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 0.75rem 2.5rem;
}
.app-151a-static-container {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}
@media (min-width: 768px) {
    .app-151a-static-container {
        padding: 2.5rem;
    }
}
.app-151a-static-container h1 {
    color: #e59362;
    font-weight: 700;
    border-bottom: 2px solid #cee7df;
    padding-bottom: 15px;
}
.app-151a-static-container h2 {
    color: #2c4e44;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}
.app-151a-static-container p,
.app-151a-static-container li {
    line-height: 1.7;
    font-size: 0.95rem;
}
.app-151a-static-highlight {
    background-color: #fff9e6;
    border-left: 4px solid #cca329;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}
.app-151a-column-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.app-151a-column-list li {
    border-bottom: 1px solid #e2ece8;
    padding: 0.85rem 0;
}
.app-151a-column-list li:last-child {
    border-bottom: none;
}
.app-151a-column-list a {
    color: #2c4e44;
    font-weight: 600;
    text-decoration: none;
}
.app-151a-column-list a:hover {
    color: #e59362;
}
.app-151a-column-list .text-muted {
    font-size: 0.85rem;
}
.app-151a-column-body {
    line-height: 1.7;
    font-size: 0.95rem;
}