@charset "utf-8";
/* ==========================================================================
   tool.css  ―  サイト内ツールの見た目（2026年8月27日 追加）
   --------------------------------------------------------------------------
   2つのページで共有しています。
     ・/checksheet/index.php … 見学チェックシート（見学した施設をその場で記録・比較）
     ・/step/index.php         … 介護のやることリスト

   ★このファイルは style.css の @import には入れていません。
   　上の2ページからだけ読み込みます（他のページに影響を出さないため）。
   ★色は費用シミュレーション（css/simulation.css）と揃えています。
   　メイン #e95377 ／濃いピンク #cc2b5a ／薄いピンクの背景 #fdf7f9
   ========================================================================== */

/*-------------------------------------------------------------
  ページ上部の帯（#teaser）
  費用シミュレーションと同じ写真を使っています。
  新しい画像を用意しなくても成立させるためです。
-------------------------------------------------------------*/
#teaser.tool{
    background: url(../images/common/teaser.jpg)no-repeat center center;
    background-size: cover;
}
@media screen and (max-width: 767px) {
    #teaser.tool{
        background: url(../images/common/teaser_sp.jpg)no-repeat center center;
        background-size: cover;
    }
    #breadcrumb.tool{
        box-sizing: border-box;
        height: auto;
        min-height: 30px;
        padding: 7px 10px;
        line-height: 1.6;
    }
}
#teaser.tool h1{
    text-align: center;
}
#teaser.tool h1 br{ display: none; }
@media screen and (max-width: 767px) {
    #teaser.tool h1 br{ display: inline; }
}

/*-------------------------------------------------------------
  共通の外枠
-------------------------------------------------------------*/
.tool_wrap{
    padding: 60px 0 20px;
}
.tool_wrap .inner{
    width: 1000px;
    max-width: 92%;
    margin: 0 auto;
}
@media screen and (max-width: 767px) {
    .tool_wrap{ padding: 30px 0 10px; }
    .tool_wrap .inner{ max-width: 90%; }
}

.tool_lead{
    font-size: 17px;
    line-height: 2;
    margin-bottom: 20px;
}
.tool_lead .lead_hook{
    display: block;
    font-family: var(--font-head);
    font-size: 21px;
    line-height: 1.6;
    color: #cc2b5a;
    margin-bottom: 10px;
}
@media screen and (max-width: 767px) {
    .tool_lead{ font-size: 15px; line-height: 1.9; }
    .tool_lead .lead_hook{ font-size: 18px; }
}

/* 「保存されます」「送信していません」の断り書き */
.tool_privacy{
    box-sizing: border-box;
    background: #fdf7f9;
    border: 1px solid #f3c4d1;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}
.tool_privacy strong{ color: #cc2b5a; }

/* 見出し */
.tool_hdg{
    font-family: var(--font-head);
    font-size: 24px;
    line-height: 1.5;
    color: #333;
    border-left: 6px solid #e95377;
    padding-left: 14px;
    margin: 50px 0 20px;
}
.tool_hdg3{
    font-family: var(--font-head);
    font-size: 19px;
    line-height: 1.6;
    color: #cc2b5a;
    margin: 30px 0 12px;
}
@media screen and (max-width: 767px) {
    .tool_hdg{ font-size: 20px; margin: 36px 0 16px; padding-left: 10px; border-left-width: 4px; }
    .tool_hdg3{ font-size: 17px; }
}

/* ボタン類 */
.tool_btn{
    display: inline-block;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #e95377;
    border-radius: 999px;
    color: #cc2b5a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    padding: 12px 24px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s;
}
.tool_btn:hover{ opacity: .7; }
.tool_btn.solid{
    background: #e95377;
    color: #fff;
}
.tool_btn.quiet{
    border-color: #ccc;
    color: #6e6e6e;
    font-weight: 400;
    font-size: 14px;
    padding: 10px 18px;
}
.tool_actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;   /* 2026年8月27日：左ぞろえから中央ぞろえに */
    margin: 24px 0 10px;
}
@media screen and (max-width: 767px) {
    .tool_btn{ font-size: 14px; padding: 11px 18px; }
    .tool_actions{ gap: 8px; }
}

/* 注意書き */
.tool_disclaimer{
    margin: 40px 0 0;
    padding-top: 20px;
    border-top: 1px solid #ececec;
}
.tool_disclaimer p{
    font-size: 13px;
    line-height: 1.9;
    color: #6e6e6e;
    margin-bottom: 6px;
}

/* JavaScriptが無効なときの案内 */
.tool_noscript{
    background: #fdf0f0;
    border: 1px solid #f3c4d1;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* ==========================================================================
   見学チェックシート（#checksheet）
   ========================================================================== */

/* 施設の切り替えタブ */
.cs_tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 2px solid #e95377;
    margin-bottom: 0;
}
.cs_tab{
    box-sizing: border-box;
    background: #f7f7f7;
    border: 1px solid #ececec;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #6e6e6e;
    cursor: pointer;
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cs_tab.is_active{
    background: #e95377;
    border-color: #e95377;
    color: #fff;
}
.cs_tab.cs_add{
    background: #fff;
    border: 1px dashed #e95377;
    color: #cc2b5a;
    font-weight: 400;
}
@media screen and (max-width: 767px) {
    .cs_tab{ font-size: 13px; padding: 10px 12px; }
}

/* 1施設ぶんの入力欄 */
.cs_panel{
    box-sizing: border-box;
    border: 1px solid #ececec;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 24px;
    background: #fff;
}
@media screen and (max-width: 767px) {
    .cs_panel{ padding: 16px 12px; }
}

.cs_head{
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ececec;
    margin-bottom: 10px;
}
.cs_head label{
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #6e6e6e;
    margin-bottom: 4px;
}
.cs_head .cs_f_name{ flex: 1 1 300px; }
.cs_head .cs_f_date{ flex: 0 1 180px; }
.cs_head .cs_f_staff{ flex: 1 1 220px; }
.cs_head .cs_f_agency{ flex: 1 1 240px; }
.cs_head .cs_f_agencystaff{ flex: 1 1 200px; }
.cs_head input{
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 16px; /* 16px未満にすると、iPhoneで入力時に画面が拡大します */
    font-family: inherit;
}
.cs_head input:focus{ border-color: #e95377; outline: none; }

/* 分類の見出し */
.cs_group{
    margin-top: 26px;
}
.cs_group_tit{
    font-family: var(--font-head);
    font-size: 17px;
    color: #cc2b5a;
    background: #fdf7f9;
    border-radius: 4px;
    padding: 8px 14px;
    margin-bottom: 4px;
}
.cs_group_tit .cs_group_num{
    font-size: 13px;
    font-weight: 400;
    color: #6e6e6e;
    margin-left: 8px;
}

/* ==========================================================================
   1項目（2026年8月27日に作りを分けました）
   --------------------------------------------------------------------------
   初めての方が「どこを見て、どこに書くのか」で迷っていたため、
   　上（白い部分）＝**見るところ**（番号・確認すること・その見かた）
   　下（色のついた箱）＝**書くところ**（○△×とメモ）
   と、はっきり分けています。○△×のどれかを押すと項目の左に緑の帯が付き、
   記録の済んだ項目がひと目で分かります。
   ========================================================================== */
.cs_item{
    border: 1px solid #f0f0f0;
    border-left: 4px solid #ececec;
    border-radius: 6px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color .2s;
}
.cs_item.is_filled{
    border-left-color: #3d9e6a;
}

/* ---- 見るところ ---- */
.cs_item_head{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px 14px;
    background: #fff;
}
.cs_item_no{
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #6e6e6e;
    font-size: 13px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
}
.cs_item.is_filled .cs_item_no{
    background: #e8f6ee;
    color: #2f7f54;
}
.cs_item_txt{ flex: 1 1 auto; min-width: 0; }
.cs_item_label{
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
    color: #222;
}
.cs_item_hint{
    font-size: 13px;
    line-height: 1.85;
    color: #777;
    margin-top: 5px;
}
.cs_item_hint .cs_kotsu{
    display: inline-block;
    background: #fdf0f4;
    color: #cc2b5a;
    border-radius: 3px;
    padding: 1px 6px;
    margin-right: 6px;
    font-weight: 700;
}

/* ---- 書くところ ---- */
.cs_item_in{
    padding: 14px 18px 16px;
    background: #fbfbfb;
    border-top: 1px dashed #ececec;
}
.cs_item.is_filled .cs_item_in{
    background: #fafdfb;
}

/* ○△×。記号だけでは意味が伝わらないので、下に言葉を出しています */
.cs_marks{
    display: flex;
    gap: 8px;
}
.cs_mark{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    flex: 0 0 auto;
    width: 84px;
    padding: 7px 4px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, background-color .15s, color .15s;
}
.cs_mark .cs_mark_sign{
    font-size: 20px;
    line-height: 1;
}
.cs_mark .cs_mark_word{
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
}
.cs_mark:hover{ border-color: #bbb; }
.cs_mark.is_on[data-mark="o"]{ background: #e8f6ee; border-color: #3d9e6a; color: #2f7f54; }
.cs_mark.is_on[data-mark="d"]{ background: #fdf7ea; border-color: #d9a72c; color: #a97d10; }
.cs_mark.is_on[data-mark="x"]{ background: #fdf0f0; border-color: #d9534f; color: #c0392b; }

/* メモ */
.cs_note_lab{
    display: block;
    margin: 12px 0 4px;
    font-size: 12px;
    font-weight: 700;
    color: #999;
}
.cs_note{
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 9px 11px;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.7;
    resize: vertical;
    min-height: 42px;
    background: #fff;
}
.cs_note:focus{ border-color: #e95377; outline: none; }


/* 全体メモ */
.cs_free{
    margin-top: 26px;
}
.cs_free textarea{
    box-sizing: border-box;
    width: 100%;
    min-height: 100px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 12px;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.8;
}

/* 保存しましたの表示 */
.cs_saved{
    font-size: 13px;
    color: #3d9e6a;
    margin-left: 4px;
    opacity: 0;
    transition: opacity .3s;
}
.cs_saved.is_on{ opacity: 1; }

/* 比較表 */
.cs_compare{
    margin-top: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cs_compare table{
    border-collapse: collapse;
    width: 100%;
    min-width: 620px;
    font-size: 14px;
}
.cs_compare th,
.cs_compare td{
    border: 1px solid #ececec;
    padding: 8px 10px;
    line-height: 1.6;
    vertical-align: top;
}
.cs_compare thead th{
    background: #fdf7f9;
    color: #cc2b5a;
    font-weight: 700;
    text-align: center;
}
.cs_compare tbody th{
    background: #fafafa;
    text-align: left;
    font-weight: 400;
    color: #555;
    min-width: 220px;
}
.cs_compare td{ text-align: center; width: 120px; }
.cs_compare .cs_c_group th{
    background: #f3f3f3;
    font-weight: 700;
    color: #333;
}
.cs_compare .cs_c_mark{ font-size: 18px; font-weight: 700; }
.cs_compare .cs_c_mark.o{ color: #2f7f54; }
.cs_compare .cs_c_mark.d{ color: #a97d10; }
.cs_compare .cs_c_mark.x{ color: #c0392b; }
.cs_compare .cs_c_none{ color: #ccc; }
.cs_compare .cs_c_note{
    display: block;
    font-size: 12px;
    color: #6e6e6e;
    text-align: left;
    margin-top: 4px;
    white-space: pre-wrap;
}
.cs_compare_sub{
    font-size: 13px;
    color: #6e6e6e;
    margin-bottom: 8px;
}



/* ==========================================================================
   やることリスト（#step）
   ========================================================================== */

/* いま何合目か */
.st_progress{
    box-sizing: border-box;
    background: #fdf7f9;
    border: 1px solid #f3c4d1;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 30px;
}
.st_progress_top{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}
.st_progress_now{
    font-family: var(--font-head);
    font-size: 20px;
    color: #cc2b5a;
    line-height: 1.5;
}
.st_progress_cnt{
    font-size: 14px;
    color: #6e6e6e;
}
.st_bar{
    height: 10px;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    margin: 12px 0 14px;
    border: 1px solid #f0d3db;
}
.st_bar_in{
    height: 100%;
    width: 0;
    background: #e95377;
    border-radius: 999px;
    transition: width .4s;
}
.st_next{
    font-size: 15px;
    line-height: 1.9;
}
.st_next .st_next_lbl{
    display: inline-block;
    background: #e95377;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 3px;
    padding: 2px 8px;
    margin-right: 8px;
}
@media screen and (max-width: 767px) {
    .st_progress{ padding: 16px 14px; }
    .st_progress_now{ font-size: 17px; }
    .st_next{ font-size: 14px; }
}

/* 段階 */
.st_stage{
    border: 1px solid #ececec;
    border-radius: 8px;
    margin-bottom: 16px;
    background: #fff;
    overflow: hidden;
}
.st_stage.is_done{ border-color: #cfe6d9; }
.st_stage_head{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    background: #fafafa;
}
.st_stage.is_open .st_stage_head{ background: #fdf7f9; }
.st_stage_no{
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e95377;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.st_stage.is_done .st_stage_no{ background: #3d9e6a; }
.st_stage_tit{
    flex: 1 1 auto;
    font-family: var(--font-head);
    font-size: 19px;
    line-height: 1.5;
    color: #333;
}
.st_stage_cnt{
    flex: 0 0 auto;
    font-size: 13px;
    color: #6e6e6e;
}
.st_stage_arrow{
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform .2s;
    margin-right: 4px;
}
.st_stage.is_open .st_stage_arrow{ transform: rotate(-135deg); }
.st_stage_body{
    display: none;
    padding: 4px 20px 20px;
}
.st_stage.is_open .st_stage_body{ display: block; }
.st_stage_note{
    font-size: 14px;
    line-height: 1.9;
    color: #6e6e6e;
    background: #fafafa;
    border-radius: 4px;
    padding: 12px 14px;
    margin: 10px 0 6px;
}
@media screen and (max-width: 767px) {
    .st_stage_head{ padding: 14px 12px; gap: 10px; }
    .st_stage_tit{ font-size: 16px; }
    .st_stage_cnt{ display: none; }
    .st_stage_body{ padding: 4px 12px 16px; }
}

/* やること1件 */
.st_task{
    border-bottom: 1px solid #f2f2f2;
    padding: 14px 2px;
}
.st_task:last-child{ border-bottom: none; }
.st_task_label{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.st_task input[type="checkbox"]{
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    accent-color: #e95377;
}
.st_task_txt{
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    color: #333;
}
.st_task input:checked ~ .st_task_txt{ color: #999; text-decoration: line-through; }
.st_task_desc{
    font-size: 14px;
    line-height: 1.9;
    color: #6e6e6e;
    margin: 6px 0 0 34px;
}
.st_task_link{
    margin: 8px 0 0 34px;
}
.st_task_link a{
    display: inline-block;
    font-size: 14px;
    color: #cc2b5a;
    text-decoration: underline;
    line-height: 1.7;
}
.st_task_link a::before{
    content: "▶";
    font-size: 10px;
    margin-right: 6px;
    text-decoration: none;
    display: inline-block;
}
.st_task_link a.is_tool::before{ content: "🔧"; }
@media screen and (max-width: 767px) {
    .st_task_txt{ font-size: 15px; }
    .st_task_desc,
    .st_task_link{ margin-left: 34px; }
}

/* 相談の差し込み */
.tool_cv{
    box-sizing: border-box;
    background: #fdf7f9;
    border: 1px solid #f3c4d1;
    border-radius: 8px;
    padding: 26px 28px;
    margin: 44px 0 10px;
    text-align: center;
}
.tool_cv .tc_tit{
    font-family: var(--font-head);
    font-size: 21px;
    color: #cc2b5a;
    line-height: 1.5;
    margin-bottom: 10px;
}
.tool_cv .tc_txt{
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 18px;
}
@media screen and (max-width: 767px) {
    .tool_cv{ padding: 20px 16px; }
    .tool_cv .tc_tit{ font-size: 18px; }
    .tool_cv .tc_txt{ font-size: 14px; text-align: left; }
}

/* ==========================================================================
   印刷（見学チェックシートを持って行くため）
   --------------------------------------------------------------------------
   ヘッダー・フッター・電話の固定バーなど、紙に要らないものを消します。
   ========================================================================== */
@media print {
    @page { size: A4; margin: 10mm; }

    /* --- 白紙モード（「白紙を印刷（A4・1枚）」を押したとき） -------------
       画面の中身をすべて伏せて、A4 1枚のシートだけを出します。 */
    body.cs_print_blank .tool_wrap .inner > *{ display: none !important; }
    /* ★ひとつ上の「すべて隠す」より詳しく書かないと負けます（クラス4つ）。
       　 .cs_printsheet だけの指定だと隠す側が勝ってしまい、白紙が出ません。 */
    body.cs_print_blank .tool_wrap .inner > .cs_printsheet{ display: block !important; }
    body.cs_print_blank .tool_wrap{ padding: 0; }

    header,
    .pullmenu,
    #teaser,
    #breadcrumb,
    .pagetop,
    .fixed_ft,
    .pro_band,
    .col_banner,
    .top_contact,
    footer,
    .tool_actions,
    .tool_cv,
    .tool_privacy,
    .tool_lead,
    .tool_disclaimer,
    .cs_printnote,
    .cs_tabs{
        display: none !important;
    }
    /* 画面には出さず、紙にだけ出す見出し */
    .cs_printhead{ display: flex !important; align-items: center; gap: 6mm; border-bottom: 1.5pt solid #000; padding-bottom: 3mm; margin-bottom: 5mm; }
    /* 日付欄のカレンダーの絵は紙に要りません */
    .cs_head input::-webkit-calendar-picker-indicator{ display: none; }
    body{ background: #fff; }
    .tool_wrap{ padding: 0; }
    .tool_wrap .inner{ width: 100%; max-width: 100%; }
    .cs_panel{ border: none; padding: 0; }
    .cs_note{ background: #fff; border-color: #ddd; }
    .cs_item{ page-break-inside: avoid; }
    .st_stage_body{ display: block !important; }
    .cs_print_all .cs_panel{ page-break-after: always; }
}

/* ==========================================================================
   あわせてご覧ください（関連ページのカード）
   --------------------------------------------------------------------------
   費用シミュレーション（css/simulation.css の .sim_links）と同じ見た目です。
   あちらは #simulation の中でしか効かないため、同じ指定をここに置いています。
   ========================================================================== */
.tool_links{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 10px;
}
.tool_links a{
    display: block;
    box-sizing: border-box;
    padding: 22px 22px 20px;
    border: 1px solid #ebebeb;
    border-top: 4px solid #e95377;
    border-radius: 6px;
    background: #fff;
    color: #111;
    text-decoration: none;
    transition: .25s;
}
.tool_links a:hover{
    border-color: #f3c4d1;
    border-top-color: #e95377;
    box-shadow: 0 8px 24px rgba(233,83,119,.13);
    transform: translateY(-3px);
}
.tool_links a .tit{
    font-family: var(--font-head);
    font-size: 18px;
    line-height: 1.5;
}
.tool_links a .txt{
    margin-top: 10px;
    color: #555;
    font-size: 13px;
    line-height: 1.8;
}
.tool_links a .more{
    display: block;
    margin-top: 14px;
    color: #cc2b5a;
    font-size: 13px;
}
.tool_links a .more:after{
    content: '';
    display: inline-block;
    margin-left: 8px;
    width: 14px;
    height: 14px;
    background: url(../images/common/ico_arrow02.png)no-repeat center center;
    background-size: 14px;
    vertical-align: -1px;
}
@media screen and (max-width: 1024px) {
    .tool_links{ grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 767px) {
    .tool_links{ grid-template-columns: 1fr; gap: 12px; }
    .tool_links a{ padding: 16px 16px 14px; }
    .tool_links a .tit{ font-size: 16px; }
}

/* リード文のうしろに付ける補足の1行 */
.tool_lead .tool_lead_sub{
    display: inline-block;
    margin-top: 10px;
    color: #5f5560;
    font-size: 14px;
    line-height: 1.9;
}
@media screen and (max-width: 767px) {
    .tool_lead .tool_lead_sub{ font-size: 13px; }
}

/* 本文の段落（ツールページで使う素の p） */
.tool_wrap .inner > p:not([class]){
    font-size: 16px;
    line-height: 2;
    margin-bottom: 10px;
}
@media screen and (max-width: 767px) {
    .tool_wrap .inner > p:not([class]){ font-size: 15px; line-height: 1.9; }
}

/* 「施設を追加」のタブだけは、文字を省略しないで出します
   （他のタブは施設名が長いことがあるので、はみ出さないよう省略しています） */
.cs_tab.cs_add{
    max-width: none;
    white-space: nowrap;
}

/* 「印刷すれば紙のチェックシートになります」の1行。
   2026年8月27日にPDFの配布をやめたため、紙が必要な方の行き先はここです。 */
.cs_printnote{
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    background: #fafafa;
    border-left: 3px solid #f3c4d1;
    padding: 10px 14px;
    margin: 6px 0 10px;
}
.cs_printnote strong{ color: #cc2b5a; }

/* 印刷したときだけ出る見出し（画面では隠しています）。
   紙が独り歩きしても、どこのシートか・どこに相談できるかがわかるようにするためです。 */
.cs_printhead{ display: none; }
.cs_printhead .cph_logo img{ width: 40mm; height: auto; }
.cs_printhead .cph_txt{ flex: 1 1 auto; }
.cs_printhead .cph_tit{
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}
.cs_printhead .cph_sub{
    font-size: 12px;
    color: #333;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

/* ==========================================================================
   A4・1枚のチェックシート（.cs_printsheet）
   --------------------------------------------------------------------------
   「白紙を印刷（A4・1枚）」でだけ紙に出ます。画面には出しません。
   ★A4（余白10mm）の中身は 190mm × 277mm。**2026-08-27の実測で 269.6mm**（残り7.4mm）。
   　 項目を1つ足すと約7.2mm 増えるので、**1つ足しただけで2枚目に落ちます。**
   　 ★残りをあえて7mm残しています。ブラウザの印刷設定で「ヘッダーとフッター」を
   　 　 入れている方がいるためで、ここを詰め切ると相手の環境で2枚目に落ちます。
   　 収まっているかの測り方はメモ sumairu-site-tools を見てください。
   ★1枚に収めるため、画面にある項目の説明文（ヒント）は載せていません。
   ========================================================================== */
.cs_printsheet{ display: none; }

.cs_printsheet .cps_head{
    display: flex;
    align-items: center;
    gap: 6mm;
    border-bottom: 1.5pt solid #000;
    padding-bottom: 3.5mm;
    margin-bottom: 3.5mm;
}
.cs_printsheet .cps_logo{ flex: 0 0 auto; margin: 0; }
.cs_printsheet .cps_logo img{ width: 40mm; height: auto; display: block; }
.cs_printsheet .cps_ttl{ flex: 1 1 auto; }
.cs_printsheet .cps_tit{
    font-family: var(--font-head);
    font-size: 14pt;
    font-weight: 700;
    color: #000;
    line-height: 1.3;
}
.cs_printsheet .cps_sub{
    font-size: 8pt;
    color: #333;
    line-height: 1.5;
    margin-top: 1mm;
}

.cs_printsheet .cps_meta{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-bottom: 3mm;
    font-size: 8.5pt;
}
.cs_printsheet .cps_meta th,
.cs_printsheet .cps_meta td{
    border: 0.5pt solid #666;
    padding: 2mm 2mm;
    line-height: 1.4;
}
.cs_printsheet .cps_meta th{
    background: #f0f0f0;
    width: 36mm;
    font-weight: 700;
    white-space: nowrap;
    text-align: left;
    color: #000;
}

.cs_printsheet .cps_tbl{
    width: 100%;
    border-collapse: collapse;
    font-size: 8.5pt;
    table-layout: fixed;
}
.cs_printsheet .cps_tbl th,
.cs_printsheet .cps_tbl td{
    border: 0.5pt solid #666;
    padding: 1.4mm 2mm;
    line-height: 1.35;
    color: #000;
    vertical-align: middle;
}
.cs_printsheet .cps_tbl thead th{
    background: #d8d8d8;
    font-weight: 700;
    text-align: center;
    padding: 1mm 2mm;
    font-size: 8pt;
}
.cs_printsheet .cps_tbl thead th.cps_n{ text-align: left; }
.cs_printsheet .cps_tbl .cps_g th{
    background: #e8e8e8;
    font-weight: 700;
    text-align: left;
    padding: 0.8mm 2mm;
    font-size: 8.5pt;
}
.cs_printsheet .cps_tbl .cps_n{ width: 46%; }
.cs_printsheet .cps_tbl .cps_m{ width: 17%; text-align: center; letter-spacing: .08em; white-space: nowrap; }
.cs_printsheet .cps_tbl .cps_w{ width: 37%; }

.cs_printsheet .cps_foot{
    font-size: 7.5pt;
    color: #333;
    margin-top: 2.5mm;
    line-height: 1.5;
}

/* ==========================================================================
   分類ごとに1画面ずつ送ります（2026年8月27日）
   --------------------------------------------------------------------------
   25項目を縦に並べると、375pxの画面で**ページ全体が14,209px＝画面21枚分**に
   なっていました。パソコンでも縦に長すぎたため、**画面の幅にかかわらず**
   立地／スタッフ／居室／食事／医療／費用 の6画面に分けています。

   ★印刷（「書いた内容を印刷」）のときだけは6分類すべてを並べます。
   　この節のいちばん下の @media print がその指定です。
   ★分類の中身は js/checksheet.js の GROUPS が持っています。
   　分類を増やすとタブも自動で増えますが、6つを超えると横に入りません。
   ========================================================================== */

/* いま見ている分類だけを出します */
.cs_panel .cs_group{
    display: none;
}
.cs_panel .cs_group.is_current{
    display: block;
    animation: cs_slidein .22s ease-out;
}
@keyframes cs_slidein{
    from{ opacity: 0; transform: translateX(14px); }
    to{ opacity: 1; transform: translateX(0); }
}

/* ---- 上の分類タブ ---- */
.cs_gnav{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 0 0 22px;
}
.cs_gtab{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 12px 4px;
    border: 1px solid #ececec;
    border-radius: 6px;
    background: #fafafa;
    color: #6e6e6e;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s;
}
.cs_gtab:hover{
    border-color: #f3c4d1;
    background: #fdf7f9;
}
/* ★「スタッフ」だけ4文字で、放っておくと2行に折り返してタブが高くなります。
   　 折り返しを止めています。 */
.cs_gtab .cs_gtab_name{
    white-space: nowrap;
}
.cs_gtab .cs_gtab_cnt{
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
}
.cs_gtab.is_current{
    border-color: #e95377;
    background: #e95377;
    color: #fff;
}
.cs_gtab.is_current:hover{
    border-color: #e95377;
    background: #e95377;
}
/* その分類を全部つけ終えたら緑に */
.cs_gtab.is_done:not(.is_current){
    border-color: #cfe6d9;
    background: #f2faf6;
    color: #2f7f54;
}

/* ---- 下の「前へ／次へ」 ---- */
.cs_gstep{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid #f2f2f2;
}
.cs_gstep button{
    box-sizing: border-box;
    flex: 0 0 auto;
    min-width: 150px;
    padding: 14px 20px;
    border: 1px solid #e95377;
    border-radius: 999px;
    background: #fff;
    color: #cc2b5a;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
}
.cs_gstep button:hover:not(:disabled){
    opacity: .75;
}
.cs_gstep button.cs_gnext{
    background: #e95377;
    color: #fff;
}
.cs_gstep button:disabled{
    border-color: #e0e0e0;
    background: #f5f5f5;
    color: #bbb;
    cursor: default;
}
.cs_gpos{
    font-size: 14px;
    color: #6e6e6e;
}

/* ---- スマートフォン：同じ作りのまま、寸法だけ詰めます ---- */
@media screen and (max-width: 767px){
    .cs_gnav{
        gap: 3px;
        margin-bottom: 14px;
    }
    .cs_gtab{
        gap: 1px;
        padding: 7px 1px;
        font-size: 11px;
        letter-spacing: -.04em;   /* ★「スタッフ」が入りません。外さないでください */
    }
    .cs_gtab .cs_gtab_cnt{
        font-size: 10px;
    }
    .cs_gstep{
        gap: 8px;
        margin-top: 18px;
        padding-top: 14px;
    }
    .cs_gstep button{
        min-width: 96px;
        padding: 11px 12px;
        font-size: 14px;
    }
    .cs_gpos{
        font-size: 13px;
    }
}

/* 389px以下：タブの文字を1pxだけ小さくします（「スタッフ」を1行に収めるため） */
@media screen and (max-width: 389px){
    .cs_gtab{
        font-size: 10px;
    }
}

/* 印刷（「書いた内容を印刷」）では、隠している分類も全部出します */
@media print{
    .cs_panel .cs_group{ display: block !important; animation: none !important; }
    .cs_gnav,
    .cs_gstep{ display: none !important; }
}

/* ==========================================================================
   スマートフォンでは印刷のボタンを出しません（2026年8月27日）
   --------------------------------------------------------------------------
   スマートフォンから紙に出す方はほとんどいないため、ボタンと、その説明の
   1行を隠しています。残すのは「見学した施設を比べる」と「入力を消す」の2つです。
   ★機能を消したわけではありません。ブラウザのメニューから印刷すれば、
   　「書いた内容を印刷」と同じ結果（項目の説明もメモも出る形）になります。
   ★A4・1枚の白紙シートは、パソコンから印刷してください。
   ========================================================================== */
@media screen and (max-width: 767px){
    #csBtnPrintBlank,
    #csBtnPrint,
    .cs_printnote{
        display: none;
    }
}

/* ==========================================================================
   「いま何をするところか」を示す部品（2026年8月27日）
   --------------------------------------------------------------------------
   ページに入った方が、名前を入れる → 見ながら印を付ける → 比べる、
   の3つの順番で迷わないようにするためのものです。
   ========================================================================== */

/* 使い方の帯（ページ上部） */
.cs_howto{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0 0 26px;
}
.cs_howto .ch_item{
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #f3c4d1;
    border-radius: 8px;
    background: #fff;
}
.cs_howto .ch_no{
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e95377;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}
.cs_howto .ch_txt{
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}
.cs_howto .ch_txt strong{ color: #cc2b5a; }
@media screen and (max-width: 767px){
    .cs_howto{
        grid-template-columns: 1fr;
        gap: 6px;
        margin-bottom: 20px;
    }
    .cs_howto .ch_item{ padding: 10px 12px; }
    .cs_howto .ch_txt{ font-size: 13px; }
}

/* 「1 …」「2 …」の見出し */
.cs_steplab{
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin: 26px 0 12px;
}
.cs_steplab:first-child{ margin-top: 0; }
.cs_stepno{
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e95377;
    color: #fff;
    font-family: var(--font-base);
    font-size: 14px;
    line-height: 26px;
    text-align: center;
}
@media screen and (max-width: 767px){
    .cs_steplab{ font-size: 15px; gap: 7px; margin: 22px 0 10px; }
    .cs_stepno{ width: 23px; height: 23px; font-size: 13px; line-height: 23px; }
}

/* 25項目のうち、いくつ記録できたか */
.cs_prog{
    margin: 0 0 14px;
}
.cs_prog_bar{
    height: 7px;
    background: #f0f0f0;
    border-radius: 999px;
    overflow: hidden;
}
.cs_prog_in{
    height: 100%;
    width: 0;
    background: #e95377;
    border-radius: 999px;
    transition: width .3s;
}
.cs_prog.is_full .cs_prog_in{ background: #3d9e6a; }
.cs_prog_txt{
    margin-top: 6px;
    font-size: 13px;
    color: #6e6e6e;
}
.cs_prog.is_full .cs_prog_txt{ color: #2f7f54; font-weight: 700; }

/* 印刷には出しません（紙では手順の案内は要りません） */
@media print{
    .cs_howto,
    .cs_steplab,
    .cs_prog{ display: none !important; }
}

/* 見出しの中に置く番号（「3 見学した施設を並べて比べる」） */
.tool_hdg .cs_stepno{
    display: inline-block;
    margin-right: 10px;
    vertical-align: 3px;
}

/* ==========================================================================
   行末に2〜3文字だけ残る「泣き別れ」を減らします（2026年8月27日）
   --------------------------------------------------------------------------
   ★text-wrap: pretty は日本語ではほとんど効きません（実測：泣き別れが起きる
   　 2通りのうち直ったのは1通り、しかも2文字→3文字）。**当てにしないでください。**
   　 効いた場合だけ得をする保険として入れてあります。
   ★実際に効いたのは「文を短くすること」と、下の**1行に入る文字数を増やす調整**です。
   　 文言を長くすると、また行末に1〜2文字だけ残るようになります。
   　 直したあとは preview で確認してください（確認のしかたはメモに残しています）。
   ========================================================================== */
.tool_wrap .inner p,
.cs_item_hint{
    text-wrap: pretty;
}

/* ★短い見出しや説明は balance のほうが効きます。
   　 2行になるとき「16文字＋2文字」ではなく「9文字＋9文字」のように
   　 行の長さをそろえてくれるので、行末に1〜2文字だけ残りません。
   　 （Chromeは6行までが対象。長い本文には効かないので pretty と使い分けます） */
.cs_item_label,
.cs_steplab,
.ch_txt,
.cs_group_tit,
.tool_hdg3{
    text-wrap: balance;
}

@media screen and (max-width: 767px){
    /* 項目名が「…距離か」「…いるか」と最後の1文字だけ次の行に落ちていたので、
       余白を詰めて文字を1px小さくし、1行に収まる文字数を増やしています */
    .cs_item_head{
        padding: 14px 13px 12px;
        gap: 9px;
    }
    .cs_item_in{
        padding: 12px 13px 14px;
    }
    .cs_item_label{
        font-size: 16px;
    }
    .cs_item_no{
        width: 23px;
        height: 23px;
        line-height: 23px;
        font-size: 12px;
    }
}

/* 使い方の3枚：見出しと説明を分けています。
   ★以前は <br> で1つの p に入れていましたが、**<br> があると
   　 text-wrap: balance が効かず**、行末に2〜3文字だけ残っていました。 */
.cs_howto .ch_body{ flex: 1 1 auto; min-width: 0; }
.cs_howto .ch_ttl{
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    color: #cc2b5a;
    text-wrap: balance;
}
.cs_howto .ch_txt{
    margin-top: 2px;
}
@media screen and (max-width: 767px){
    .cs_howto .ch_ttl{ font-size: 13px; }
}


@media screen and (max-width: 767px){
    /* ★○△×は幅84px固定だと 320px の画面で横にはみ出します
       　（3つ＋隙間で268px、入る幅は約233px）。
       　 画面に合わせて3等分し、指で押しやすい大きさを保ちます。 */
    .cs_marks{
        gap: 6px;
    }
    .cs_mark{
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }
}
