:root {
    --ws_pt: 100%;
    --ws_px: 900px;
    --ac_color: #2f66a4;
    --rc_wh: 20px;
    --base_padding: 5px;
    --large_fontsize: 22px;
    --btn_c1: #283593;
    --btn_c2: #ffffff;

    --sp_w: 93%;
}
/** sele-b **/
.sp{
    display: none;
}

/* ログイン画面：エラー文と、エラーのある入力欄 */
.index_section .err_message {
    margin: 0 0 16px;
    color: #d32f2f;
    font-weight: bold;
    line-height: 1.6;
}
.index_form_input.err,
.index_form_input[type="text"].err,
.index_form_input[type="email"].err {
    border-color: #d32f2f !important;
    background: #fff5f5 !important;
}

.err_d {
    width: min(750px, calc(100% - 32px));
    margin: 60px auto;
    padding: 32px 36px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    box-sizing: border-box;
}

.err_d .err_title {
    margin: 0 0 24px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
}

.err_d .err_message {
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: normal;
    color: #555555;
}

.err_d .err_button {
    display: inline-block;
    min-width: 220px;
    padding: 12px 24px;
    border-radius: 6px;
    background: #283593;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.err_d .err_button:hover {
    opacity: 0.8;
}

.err_d button.err_button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

.err_d .err_resume {
    margin: 0;
}

.err_d .err_sub {
    margin: 20px 0 0;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .err_d {
        width: calc(100% - 24px);
        margin: 32px auto;
        padding: 28px 20px;
    }

    .err_d .err_title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .err_d .err_message {
        font-size: 0.95rem;
        text-align: left;
    }

    .err_d .err_button {
        width: 100%;
        box-sizing: border-box;
    }
}

body {
    font-size: 16px;
    font-family: "游ゴシック","Yu Gothic","Meiryo UI" , "メイリオ" , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
    height: 100%;
    margin: 0px;
}

input[type=password] {
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    height: 3rem;
    width: 100%;
    font-size: 1rem;
    margin: 0 0 20px 0;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: all 0.3s;
}

input[type=password]:focus {
    box-shadow: 0 2px 0 #283593;
}

input[type=text] {
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    /*height: 3rem;*/
    height: 1.5rem;
    font-size: 1rem;
    margin: 0 5px 5px 5px;
    padding: 0;
    box-shadow: none;
    box-sizing: content-box;
    transition: all 0.3s;
}

input[type=text]:focus {
    box-shadow: 0 2px 0 #283593;
}

input[type=radio] {
    accent-color: var(--ac_color);
    width: var(--rc_wh);
    height: var(--rc_wh);
}

input[type=checkbox] {
    accent-color: var(--ac_color);
    width: var(--rc_wh);
    height: var(--rc_wh);
}

td {
    padding: var(--base_padding);
}

.header_cont {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
}

.btn_footer {
    margin-top: 30px;
    margin-bottom: 20px;
}

.top_d {
    font-size: var(--large_fontsize);
    font-weight: bold;
    padding: var(--base_padding);
    flex-basis: 100%;
    text-align: center;
}

.p_ber {
    display: flex;
    align-items: center;
}

.p_ber_d1 {
    width: 31%;
}

.p_ber_d2 {
    width: 38%;
}

.p_ber_d3 {
    width: 31%;
}

.bottom_div {
    width: 100%;
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

.bottom_space {
    width: 6%;
}

.btn {
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
    width: 250px;
    padding: 10px;
}

.btn--w {
    color: var(--btn_c1);
    background: var(--btn_c2);
}

.btn--w:hover {
    color: var(--btn_c1);
    background: #d1d1d1;
}

.btn--b {
    color: var(--btn_c2);
    background: var(--btn_c1);
}

.btn--b:hover {
    color: var(--btn_c2);
    background: #283493a0;
}

.btn--back {
    display: inline-block;
    min-width: 250px;
    padding: 12px 24px;
    border: 2px solid var(--btn_c1);
    border-radius: 6px;
    background: #fff;
    color: var(--btn_c1);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

.btn--back:hover {
    background: #283493a0;
    color: #fff;
}


.div_tw{
    width: 70%;
    display: flex;
    margin:auto;
    padding: 0px 10px;
    text-align: left;
}

.div_tw_sub1{
width: 60%;
}

.div_tw_sub2{
width: 40%;
text-align: center;
}

.div_main1{
    width: 70%;
    margin: 20px auto;
    border-collapse: collapse;
}

.div_main1_sub{
display: flex;
width: 45%;
margin: auto;
}

.div_main1_sub2{
display: flex;
}

.div_main1_sub3{
float: left;
height: 60px;
}

.div_main2{
width: 70%;
margin: 20px auto;
}

.div_main3{
    display: flex;
    width: 70%;
    margin: 20px auto;
}
  
.div_main3_sub1{
    /*width: 30%;*/
    width: 100%;
}

.div_main3_sub2{
    /*width: 70%;*/
    width: 100%;
}

.kd{
    width: 80%;
    text-align: left;
    font-weight: bold;
}

.sd{
    width: 80%;
    text-align: left;
    font-size: 14px;
}

.idpass_flex {
    display: flex;
    align-items: center;
    padding: 15px 0px;
}

.q_title {
    display: flex;
    flex-flow: row;
    flex-basis: 100%;
    color: #000;
    font-size: 16px;
    padding: var(--base_padding);
}

.q_input {
    width: var(--ws_pt);
    padding: 5px 0px;
}

.div_flex {
    display: flex;
    align-items: center;
    padding: 15px 0px;
}

.div_sub {
    width: 33%;
}

.box_border {
    width: 900px;
    border: 1px solid #666666;
}

.radius{
    display: flex;
    width: 80%;
    border: 1px solid #999999;
    background:#FFF9C4;
    margin: 10px auto 0px;
    padding: 5px;
    border-radius: 6px;
    text-align: left;
}

.radius_pl{
    padding-right: 15px;
}

.choice_div {
    width: 80%;
    margin: 10px auto 0px;
    padding: 0px;
    height: auto;
    text-align: left;
}

.choice_div2 {
    width: 80%;
    margin: 10px auto 0px;
    padding: 0px;
    height: auto;
    text-align: left;
}

.flex_d {
    display: flex;
}

.label_xy {
    padding: 5px;
}

.label_radius{
    display: flex;
    border-radius: 6px;
    background:#FFFFFF;
    margin-left: 10px;
    height: auto;
    border: 1px solid #999999;
    /*padding: 5px;*/
    box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.2) inset;
}

.label_radius_o{
    display: flex;
    border-radius: 6px;
    background:#FFFFFF;
    margin-left: 10px;
    height: auto;
    border: 1px solid #999999;
    box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.2) inset;
}

.m_top {
    margin-top: 10px;
}

.w1{
    width: 93%;
}

.w2{
    width: 46%;
}

.w3{
    width: 30%;
}

.w4{
    width: 22%;
}

.w5{
    width: 70%;
}

.text1{
    width: 200px;
}

.text2{
    width: 60px;
}

.text3{
    /*width: 400px;*/
    width: 80%;
}

.text4{
    width: 50%;
}

.o_div{
    width: 70%;
}

.o_div2{
    width: 70%;
}

.area{
    width: 600px;
    height: 80px;
}

.td_br{
    border: 1px solid #000000;
    padding: 5px;
}

.td_c{
    text-align: center;
}

.tr_color{
    background: #F5F5F5;
}

.str_sh{
    display: none;
}

.tr_sh{
    display: none;
}

.mb_0 {
    margin-bottom: 0 !important;
}

.mb_1 {
  margin-bottom: 0.25rem !important;
}

.mb_2 {
  margin-bottom: 0.5rem !important;
}

.mb_3 {
  margin-bottom: 1rem !important;
}

.mb_4 {
  margin-bottom: 1.5rem !important;
}

.mb_5 {
  margin-bottom: 3rem !important;
}

.font_s {
  font-size: 0.9rem;
}

.bg_white {
  background-color: #f7f7f7;
}

.text_decoration_underline {
  text-decoration: underline;
}

.text_indent_1 {
  text-indent: 1em;
}

.text_indent_minus1 {
  padding-left: 1em;
  text-indent: -1em;
}

.list {
  display: inline-block;
  margin-left: 1em;
  text-indent: -1em;
}

.tx_b{
	font-weight:bold;
}

.tx_l{	/*フォントサイズ大きめ*/
	font-size:15pt;
}

.tx_s{
	font-size:11pt;
}

.tx_under{	/*アンダーライン*/
	text-decoration:underline;
}

.tx_c{
  text-align: center;
}

/* 装飾 */
.spn_b {
    font-weight: bold;
}

.spn_u {
    text-decoration: underline;
}

.fc1 {
    color: #ff0000;
}

.div_tate{
    height: 100px;
    writing-mode: vertical-rl;
    display: inline-block;
    text-orientation: upright;
}

.div_end{
    width: 50%;
    margin: auto;
    padding: 10px;
    border:2px solid #000000;
    font-size: 16px;
    font-weight:bold;
    text-align:center;
  }


/* text3対応 */
@media screen and (max-width: 950px) {
    .o_div{
        width: 90%;
    }

    .o_div2{
        width: 100%;
    }

    .text4{
        width: 50%;
    }

    .label_radius_o{
        display: inline-block;
        border-radius: 6px;
        background:#FFFFFF;
        margin-left: 10px;
        height: auto;
        border: 1px solid #999999;
        box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.2) inset;
    }
}

/* スマホ */
@media screen and (max-width: 700px) {
    .pc{
        display: none;
    }
    
    .sp{
        display: block;
        width: 100%;
    }

    .header_cont {
        width: 90%;
        margin: 0 auto;
    }

    .p_ber_d1 {
        width: 2%;
    }
    
    .p_ber_d2 {
        width: 55%;
    }
    
    .p_ber_d3 {
        width: 43%;
    }

    progress{
        width: 50%;
    }

    .btn {
        -webkit-appearance: none;
        appearance: none;
        display: inline-block;
        cursor: pointer;
        border-radius: 5px;
        width: 120px;
        padding: 10px;
        font-size: 16px;
    }

    .div_flex {
        display: block;
        align-items: center;
        padding: 15px 0px;
    }

    .div_tw{
        width: 90%;
        display: flex;
        margin:auto;
        padding: 0px 10px;
        text-align: left;
    }

    .div_main1{
        width: 90%;
        margin: 20px auto;
        border-collapse: collapse;
    }

    .div_main1_sub{
        display: block;
        width: 100%;
        margin: auto;
    }

    .div_main1_sub2{
        display: flex;
        margin: auto;
    }

    .div_main2{
        width: 90%;
        margin: 20px auto;
    }

    .div_main3{
        display: block;
        width: 90%;
        margin: 20px auto;
    }

    .div_main3_sub1{
        width: 100%;
    }
    
    .div_main3_sub2{
        width: 100%;
    }

    .idpass_flex {
        display: block;
        align-items: center;
        padding: 15px 0px;
    }

    .div_sub {
        width: 90%;
    }

    .radius{
        width: var(--sp_w);
        border: 1px solid #999999;
        background:#FFF9C4;
        margin: 10px auto 0px;
        padding: 5px;
        border-radius: 6px;
        text-align: left;
    }

    .flex_d {
        display: inline-block;
    }

    .choice_div {
        width: 90%;
        margin: 10px auto 0px;
        padding: 0px;
        height: auto;
        text-align: left;
    }

    .choice_div2 {
        width: 90%;
        margin: 0px auto 0px;
        padding: 0px;
        height: auto;
        text-align: left;
    }

    .label_radius{
        display: flex;
        border-radius: 6px;
        background:#FFFFFF;
        margin-left: 10px;
        margin-top: 10px;
        height: auto;
        border: 1px solid #999999;
        box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.2) inset;
    }

    .label_radius_o{
        display: flex;
        border-radius: 6px;
        background:#FFFFFF;
        margin-left: 10px;
        margin-top: 10px;
        height: auto;
        border: 1px solid #999999;
        box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.2) inset;
    }

    .o_div{
        width: 70%;
    }

    .o_div2{
        width: 70%;
    }

    .w1{
        width: var(--sp_w);
    }

    .w2{
        width: var(--sp_w);
    }

    .w3{
        width: var(--sp_w);
    }

    .w4{
        width: var(--sp_w);
    }

    .w5{
        width: var(--sp_w);
    }

    .text3{
        width: 80%;
    }

    .area{
        width: 90%;
        height: 60px;
    }

    .mtx {
        width: 96%;
        margin: auto;
    }

    .mtx td {
        display: block;
        width: 94%;
        text-align: left;
        padding: 10px;
    }

    .mtx-front{
        display: none;
    }

    .tr_sh{
        display: block;
        height: 20px;
    }

    .str_sh{
        display: inline;
    }

    .div_end{
        width: 80%;
        margin: auto;
        padding: 10px;
        border:2px solid #000000;
        font-size: 16px;
        font-weight:bold;
        text-align:center;
    }
}

.wrapper {
    width: 900px;
    max-width: calc(100% - 30px);
    margin: 30px auto 50px;
    box-sizing: border-box;
    text-align: left;
}

/* =========================================================
   index.php 開始ページ
   ========================================================= */
/* タイトル */
.header {
    width: var(--ws_pt);
    background: #283593;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.sp_br {
    display: none;
}

@media screen and (max-width:700px) {
    .sp_br {
        display: inline;
    }
}

.index_section {
    margin-bottom: 20px;
    padding: 22px 25px;
    background: #ffffff;
    border: 1px solid #d9dfe8;
    border-radius: 6px;
    box-sizing: border-box;
}

.index_title {
    margin: 0 0 15px;
    padding: 0 0 10px;
    border-bottom: 2px solid #2f66a4;
    color: #283593;
    font-size: 19px;
    font-weight: bold;
}

.index_text {
    line-height: 1.8;
    margin-top: 0;
}

.index_link {
    margin: 8px 0 0;
}

.index_link a {
    color: #2f66a4;
    text-decoration: underline;
    word-break: break-all;
}

.index_consent {
    margin-top: 18px;
    padding: 14px 16px;
    background: #f4f7fb;
    border: 1px solid #d9e2ee;
    border-radius: 5px;
    font-weight: bold;
}

.index_consent label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

.index_consent input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 3px;
}

.index_contact {
    margin-top: 5px;
}

.index_contact_note {
    margin-bottom: 20px;
    line-height: 1.8;
}

.index_form_row {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.index_form_label {
    width: 120px;
    flex-shrink: 0;
    font-weight: bold;
}

.index_form_input,
.index_form_input[type="text"],
.index_form_input[type="email"] {
    width: 400px !important;
    height: 30px !important;

    margin: 0 !important;
    padding: 5px 10px !important;

    border: 1px solid #b8bec8 !important;
    border-radius: 4px !important;

    box-sizing: border-box !important;

    background: #fff !important;

    font-family: "游ゴシック","Yu Gothic","Meiryo UI","メイリオ","ＭＳ Ｐゴシック","MS PGothic",sans-serif !important;
    font-size: 16px !important;
    font-weight: normal !important;

    line-height: normal !important;

    box-shadow: none !important;
}

.index_form_input:focus {
    border-color: #2f66a4 !important;
    box-shadow: 0 0 0 2px rgba(47, 102, 164, 0.15) !important;
}

.index_required {
    color: #d32f2f;
    font-size: 14px;
    margin-left: 5px;
}

.index_option {
    font-size: 14px;
    margin-left: 5px;
}

.index_submit {
    text-align: center;
    margin-top: 30px;
}

.index_submit .btn {
    width: 180px;
    padding: 13px 20px;
    font-size: 17px;
    font-weight: bold;
}

.index_notes {
    width: 100%;
    box-sizing: border-box;   /* 余白を含めた幅にする（カードと同じ。右にはみ出さないように） */
    max-width:1000px;
    margin: 0 auto 40px;
    padding: 16px 20px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: left;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.index_notes p {
    margin: 0 0 8px;
}

.index_notes p:last-child {
    margin-bottom: 0;
}


/* スマホ */
@media screen and (max-width: 700px) {

    .index_box {
        width: 90%;
        margin: 20px auto 30px;
    }

    .index_section {
        padding: 18px 15px;
        margin-bottom: 18px;
    }

    .index_title {
        font-size: 18px;
    }

    .index_text {
        font-size: 15px;
        line-height: 1.8;
    }

    .index_form_row {
        display: block;
        margin-bottom: 16px;
    }

    .index_form_label {
        display: block;
        width: auto;
        margin-bottom: 5px;
    }

    .index_form_input {
        width:100% !important;
        max-width:100%;
        box-sizing:border-box !important;
    }

    .index_submit {
        margin-top: 25px;
    }

    .index_submit .btn {
        width: 180px;
    }

    .index_notes {
        /* 注意書きは .wrapper の中にあり、各カード（.index_section）と同じく .wrapper の幅いっぱいにする */
        width: 100%;
        max-width: 100%;
        font-size: 13px;
    }
}

/* 共通質問カード */
.question_card {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30px;
    padding: 24px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* 自由記入欄 */
.question_card > textarea,
.q2_reason,
.q18_reason textarea {
    display: block;
    width: 100%;
    min-height: 120px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #999;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
}

.question_no {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    background: #283593; /* ★番号をバッジ風にする */
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
}

.question_main {
    margin: 8px 0 16px;
    font-size: 17px;
    font-weight: bold;
    color: #1e293b;
    line-height: 1.6;
}

.question_sub {
    margin: 0;
    padding: 16px;
    font-size: 14px;
    color: #334155;
    background: #f4f7fb;
    border: 1px solid #bbeef7;
    border-radius: 6px;
    line-height: 1.7;
}

.question_sub a {
    color: #283593;
    text-decoration: underline;
    word-break: break-all;
}

/* =========================
   Q1
========================= */

.q_box {
    width: 100%;
    margin: 30px auto 50px;
    padding: 0;
    box-sizing: border-box;
}

/* Q1タイトル */
.q_box h1 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
}

/* 説明文 */
.q_box > p {
    margin: 0 0 20px;
    line-height: 1.8;
    color: #444;
}


/* =========================
   Q1 表：PC
   ========================= */

.mtx {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 30px;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #d9dee5;
}

.mtx th,
.mtx td {
    padding: 12px 8px;
    border: 1px solid #d9dee5;
    vertical-align: middle;
    box-sizing: border-box;
}

.mtx thead th {
    background: #f1f5f9;
    text-align: center;
    font-weight: bold;
    line-height: 1.4;
}

/* 項目 */
.mtx thead th:first-child {
    width: 36%;
}

/* 4つの回答欄 */
.mtx thead th:nth-child(2),
.mtx thead th:nth-child(3),
.mtx thead th:nth-child(4),
.mtx thead th:nth-child(5) {
    width: 16%;
}

.mtx tbody th {
    background: #fafbfc;
    text-align: left;
    line-height: 1.5;
}

.mtx td {
    text-align: center;
}

.mtx td label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    line-height: 1.4;
}

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}


/* ラジオ */
.radio_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio_group label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    cursor: pointer;
    line-height: 1.5;
}

.radio_group input[type="radio"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
}

.form_action {
    width: 100%;
    margin: 40px auto 20px;
    text-align: center;
}

.form_action .btn {
    display: inline-block;
}

.form_action .btn--b {
    min-width: 220px;
    padding: 14px 40px;
    font-size: 16px;
}


/* =========================
   スマホ
   ========================= */

@media screen and (max-width: 700px) {

    .q_box {
        width: 90%;
        margin: 25px auto 40px;
        padding: 0;
    }

    .q_box h1 {
        font-size: 18px;
        line-height: 1.5;
        margin: 0 0 12px;
    }

    .q_box > p {
        font-size: 14px;
        line-height: 1.8;
    }

    /* =========================
       表 共通
       ========================= */

    .table_wrap {
        width: 100%;
        overflow: visible;
    }

    .mtx {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 20px 0 25px;
        border: none;
        border-collapse: separate;
    }

    .mtx thead {
        display: none;
    }

    .mtx tbody {
        display: block;
        width: 100%;
    }

    .mtx tbody tr {
        display: block;
        width: 100%;
        margin: 0 0 15px;
        border: 1px solid #d9dee5;
        border-radius: 6px;
        overflow: hidden;
        background: #fff;
        box-sizing: border-box;
    }

    .mtx tbody th,
    .mtx tbody td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }


    /* =========================
       Q1 スマホ
       ※ survey_images の直後の表だけに適用
       ========================= */

    .survey_images + form .mtx tbody th {
        padding: 12px 14px;
        border: none;
        border-bottom: 1px solid #d9dee5;
        background: #eaf1f8;
        font-size: 15px;
        font-weight: bold;
        line-height: 1.6;
        text-align: left;
    }

    .survey_images + form .mtx tbody td {
        padding: 12px 14px;
        border: none;
        border-bottom: 1px solid #e5e7eb;
        background: #fff;
    }

    .survey_images + form .mtx tbody tr > *:last-child {
        border-bottom: none;
    }


    /* =========================
       Q1：①②の分類見出し
       ========================= */

    .survey_images + form .mtx tbody td:nth-child(2)::before {
        content: "① 認知";
        display: block;
        margin: -12px -14px 12px;
        padding: 9px 14px;
        background: #f1f5f9;
        font-size: 14px;
        font-weight: bold;
        color: #333;
        line-height: 1.5;
        text-align: left;
    }

    .survey_images + form .mtx tbody td:nth-child(4)::before {
        content: "② 利用（導入）有無";
        display: block;
        margin: -12px -14px 12px;
        padding: 9px 14px;
        background: #f1f5f9;
        font-size: 14px;
        font-weight: bold;
        color: #333;
        line-height: 1.5;
        text-align: left;
    }


    /* =========================
       Q1：選択肢
       ========================= */

    .survey_images + form .mtx tbody td label {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 40px;
        box-sizing: border-box;
        margin: 0;
        padding: 8px 10px;
        border: 1px solid #d9dee5;
        border-radius: 5px;
        background: #fff;
        line-height: 1.5;
        cursor: pointer;
    }
    .survey_images + form .mtx tbody td .visually-hidden {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }
    .survey_images + form .mtx tbody td input[type="radio"] {
        flex: 0 0 auto;
        width: 18px;
        height: 18px;
        margin: 0 7px 0 0;
    }

    .form_action .btn {
        width: 100%;
    }
}

    /* Q1：①「知らない」の項目の②「利用（導入）している」は選択不可（グレー表示） */
    .mtx td.mtx_disabled {
        background: #e9edf1;
        color: #8a949e;
        cursor: not-allowed;
    }
    .mtx td.mtx_disabled input {
        display: none;
    }
    .mtx td.mtx_disabled label {
        cursor: not-allowed;
    }
    .mtx td.mtx_disabled label::after {
        content: "－";
        font-weight: bold;
    }

/* 画像 */
.survey_images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 650px;
    margin: 20px auto 25px;
}

.survey_image {
    margin: 0;
    text-align: center;
}

.survey_image img {
    display: block;
    width: auto;
    max-width: 300px;
    max-height: 200px;
    height: auto;
    margin: 0 auto;
}

.survey_image figcaption {
    margin-top: 6px;
    font-size: 13px;
    color: #555;
}

@media (max-width: 767px) {
    .survey_images {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .survey_image img {
        max-width: 220px;
        max-height: 160px;
    }

    .survey_image figcaption {
        font-size: 12px;
    }
}

/* =========================
   Q2-1 PC
   ========================= */

.q2_item {
    width: 100%;
    margin: 0 0 30px;
}

.q2_item_title {
    margin-bottom: 8px;
    margin-top: 50px;
    padding: 10px 12px;
    background: #f1f5f9;
    border: 1px solid #d9dee5;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

.q2_choice_label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

.q2_choice_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.q2_choice_table th,
.q2_choice_table td {
    width: 20%;
    padding: 10px 8px;
    border: 1px solid #d9dee5;
    text-align: center;
    box-sizing: border-box;
}

.q2_choice_table th {
    background: #f1f5f9;
    font-weight: bold;
    line-height: 1.4;
}

.q2_choice_table td {
    height: 48px;
}

.q2_choice_table label {
    display: block;
    cursor: pointer;
}

.q2_choice_table input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    vertical-align: middle;
}

.q2_reason_title {
    margin-top: 5px;
    line-height: 1.6;
}

.q2_reason_no {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 7px;
    background: #283593;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    margin-bottom: 0;
}

.q2_reason_text {
    font-size: 15px;
    margin: 5px 0;
    font-weight: bold;
}

.q2_reason {
    display: block;
    width: 100%;
    min-height: 120px;
    margin-top: 10px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #999;
    border-radius: 2px;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
}

@media screen and (max-width: 700px) {

    .q2_item {
        width: 96%;
        margin: 0 auto 25px;
    }

    .q2_item_title {
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: bold;
    }

    .q2_choice_table {
        width: 100%;
        border-collapse: collapse;
    }

    .q2_choice_table thead {
        display: none;
    }

    .q2_choice_table tbody,
    .q2_choice_table tr {
        display: block;
        width: 100%;
    }

    .q2_choice_table td {
        display: block;
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #d9dee5;
        box-sizing: border-box;
        text-align: left;
    }

    .q2_choice_table td + td {
        border-top: none;
    }

    .q2_choice_table label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        font-size: 15px;
    }

    .q2_choice_table input[type="radio"] {
        width: 20px;
        height: 20px;
        margin: 0;
        flex-shrink: 0;
    }

    .q2_choice_table label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    }
    
    .q2_choice_table .q2_choice_label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        white-space: normal;
    }

    .q2_reason_title {
        margin: 0 0 8px;
        font-size: 14px;
        line-height: 1.6;
    }

    .q2_reason {
        display: block;
        width: 100%;
        min-height: 120px;
        padding: 10px 12px;
        box-sizing: border-box;
        font-family: inherit;
        font-size: 15px;
        line-height: 1.6;
        resize: vertical;
    }
}

/* Q3～Q7 */
.choice_list {
    margin: 18px 0 0;
    padding: 0;
}

.choice_item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    margin-bottom: 6px;
    box-sizing: border-box;
    border: 1px solid #d9dee5;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    line-height: 1.5;
}

.choice_item:hover {
    background: #f1f5f9;
}

.choice_item input[type="radio"],
.choice_item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 20px;
    cursor: pointer;
}

.oa_field {
    margin: 10px 0 0 34px;
}

.oa_field label {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
}

.oa_field input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    box-sizing: border-box;
}

@media screen and (max-width: 700px) {

    .choice_list {
        margin-top: 14px;
    }

    .choice_item {
        padding: 11px 12px;
        margin-bottom: 6px;
        gap: 8px;
    }

    .choice_item input[type="radio"],
    .choice_item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }

    .oa_field {
        margin-left: 0;
    }

    .oa_field label {
        display: block;
    }

    .oa_field input[type="text"] {
        width: 100%;
        margin-top: 5px;
    }
}

/* =========================
   サイネージ画像3枚
   ========================= */

.survey_image_row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.survey_image_row .survey_image {
    flex: 1;
    min-width: 0;
    margin: 0;
    text-align: center;
}

.survey_image_row .survey_image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.survey_image_row .survey_image figcaption {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
}

@media screen and (max-width: 700px) {

    .survey_image_row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .survey_image_row .survey_image {
        width: 100%;
        max-width: 300px;
    }

    .survey_image_row .survey_image img {
        width: 100%;
        height: auto;
    }

    .survey_image_row .survey_image figcaption {
        font-size: 12px;
    }
}

/* Q18 */
.q18_reason {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #ddd;
}

/* =========================================================
   confirm.php
   確認画面専用CSS
========================================================= */


/* =========================================================
   全体
========================================================= */

.confirm-page {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 40px;
}


/* =========================================================
   確認画面タイトル
========================================================= */

.confirm-page .confirm-title {
    margin-bottom: 18px;
}

.confirm-page .confirm-title .question_main {
    margin-bottom: 0;
}


/* =========================================================
   注意文
========================================================= */

.confirm_notice {
    margin: 0 auto 24px;
    padding: 14px 18px;

    max-width: 1000px;

    font-size: 14px;
    line-height: 1.7;

    background-color: #f7f9fb;
    border: 1px solid #dfe5ea;
    border-radius: 6px;
}


/* =========================================================
   セクション見出し
========================================================= */

.confirm-page .confirm-section-title {
    margin-top: 28px;
    margin-bottom: 12px;
    padding-top: 13px;
    padding-bottom: 13px;
}

.confirm-page .confirm-section-title .question_main {
    margin: 0;
}


/* =========================================================
   設問カード
========================================================= */

.confirm-page > .question_card {
    margin-bottom: 14px;
    padding: 16px 22px;
}


/* =========================================================
   設問番号
========================================================= */

.confirm-page .question_no {
    margin-bottom: 5px;
}


/* =========================================================
   設問文
========================================================= */

.confirm-page .question_main {
    margin-bottom: 12px;
    line-height: 1.5;
}


/* =========================================================
   基本情報・回答項目
========================================================= */

.confirm_card {
    width: calc(100% - 44px);
    max-width: 900px;

    margin: 0 auto 14px;
    padding: 14px 22px;

    background-color: #fff;
    border: 1px solid #dfe5ea;
    border-radius: 6px;
    box-sizing: border-box;
}


/* =========================================================
   回答項目
========================================================= */

.confirm_item {
    display: flex;
    align-items: flex-start;

    margin: 0;
    padding: 8px 0;

    line-height: 1.6;
}

.confirm_item + .confirm_item {
    border-top: 1px solid #edf0f2;
}


/* =========================================================
   回答ラベル
========================================================= */

.confirm_label {
    width: 350px;
    min-width: 190px;

    margin: 0;
    padding-right: 20px;

    font-weight: bold;
    line-height: 1.6;
    box-sizing: border-box;
}


/* =========================================================
   回答内容
========================================================= */

.confirm_answer {
    flex: 1;

    margin: 0;

    line-height: 1.6;
    word-break: break-word;
}


/* =========================================================
   複数回答
========================================================= */

.confirm_answer_list {
    margin: 4px 0 0;
    padding-left: 0;
}

.confirm_answer_list p {
    margin: 0;
    padding: 3px 0;

    line-height: 1.55;
}


/* =========================================================
   Q1・Q18-1 確認用テーブル
========================================================= */

.confirm_table {
    width: 100%;

    margin-top: 12px;

    border-top: 1px solid #d8dee3;
    border-left: 1px solid #d8dee3;

    box-sizing: border-box;
}


/* 行 */

.confirm_table_row {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.7fr)
        minmax(180px, 1fr)
        minmax(180px, 1fr);

    background-color: #fff;
}


/* セル */

.confirm_table_cell {
    min-width: 0;

    padding: 8px 10px;

    border-right: 1px solid #d8dee3;
    border-bottom: 1px solid #d8dee3;

    font-size: 14px;
    line-height: 1.45;

    word-break: break-word;

    box-sizing: border-box;
}


/* ヘッダー */

.confirm_table_header {
    background-color: #f3f6f8;
}

.confirm_table_header .confirm_table_cell {
    font-weight: bold;
    text-align: center;
}


/* Q18-1の○マーク列（2・3列目）だけを中央寄せ。Q1の確認テーブルは対象外（左寄せのまま） */

.confirm_table--desktop_only
.confirm_table_row:not(.confirm_table_header)
.confirm_table_cell:nth-child(2),
.confirm_table--desktop_only
.confirm_table_row:not(.confirm_table_header)
.confirm_table_cell:nth-child(3) {
    text-align: center;
}

.confirm_q2_item {
    margin: 0 0 16px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #dfe5ea;
    border-radius: 6px;
}

.confirm_q2_item:last-child {
    margin-bottom: 0;
}

.confirm_q2_item .confirm_label {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-weight: bold;
}

.confirm_q2_item .confirm_answer {
    margin: 2px 0 10px;
}

.confirm_q2_item .confirm_answer:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    .confirm_q2_item {
        padding: 11px 12px;
    }

    .confirm_q2_item .confirm_label {
        font-size: 13px;
    }

    .confirm_q2_item .confirm_answer {
        font-size: 14px;
    }
}


/* =========================================================
   Q18-1
========================================================= */

/*
   Q18-1は「コンテンツ」の列を少し広め、
   2つの回答列を同程度にする。
*/

.confirm-page .question_card .confirm_table {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   自由回答
========================================================= */

.confirm-page .confirm_answer {
    white-space: normal;
}


/* =========================================================
   送信エリア
========================================================= */

.confirm-page .form_action {
    margin-top: 18px;
    text-align: center;
}

.confirm-page .form_action p {
    margin-bottom: 14px;
    line-height: 1.6;
}


/* =========================================================
   ボタン
========================================================= */

.confirm-page .form_action .btn {
    min-width: 220px;
}

/* デスクトップ：表形式を表示、モバイル用リストは隠す */
.confirm_list--mobile_only {
    display: none;
}

@media screen and (max-width: 767px) {
    /* モバイル：表形式を隠し、リスト形式を表示 */
    .confirm_table--desktop_only {
        display: none;
    }

    .confirm_list--mobile_only {
        display: block;
    }
}

.confirm_scroll_button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
}

.confirm_scroll_button button {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #283593;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

@media screen and (max-width: 700px) {
    .confirm_scroll_button {
        right: 12px;
        bottom: 12px;
    }

    .confirm_scroll_button button {
        padding: 9px 12px;
        font-size: 13px;
    }
}


/* =========================================================
   スマートフォン
========================================================= */

@media screen and (max-width: 767px) {

    .confirm-page {
        width: 90%;           /* 100% → 90% に変更（余白を揃える） */
        margin: 25px auto;    /* 追加 */
        padding-bottom: 25px;
    }

    /* Q1・Q18-1 確認用テーブル：横スクロールをやめて縦積みカードに */
    .confirm_table {
        overflow-x: visible;  /* auto → visible */
    }

    .confirm_table_header {
        display: none;        /* 見出し行は非表示にして、各セルに直接ラベルを出す */
    }

    .confirm_table_row:not(.confirm_table_header) {
        display: block;
        min-width: 0;          /* 680pxの指定を実質解除 */
        margin-bottom: 10px;
        border: 1px solid #d8dee3;
        border-radius: 6px;
        overflow: hidden;
    }

    .confirm_table_row:not(.confirm_table_header) .confirm_table_cell {
        display: block;
        width: 100%;
        border-right: none;
        text-align: left;
    }

    /* 1列目（媒体名／コンテンツ名）を見出し風に */
    .confirm_table_row:not(.confirm_table_header) .confirm_table_cell:first-child {
        background: #f1f5f9;
        font-weight: bold;
        border-bottom: 1px solid #d8dee3;
    }

    /* 2列目・3列目に、そのセルのラベルを自動で表示 */
    .confirm_table_row:not(.confirm_table_header) .confirm_table_cell:not(:first-child)::before {
        content: attr(data-label) "：";
        font-weight: bold;
        margin-right: 4px;
    }


    .confirm-page > .question_card {
        margin-bottom: 10px;
        padding: 13px 14px;
    }


    .confirm_notice {
        margin: 0 10px 18px;
        padding: 11px 13px;

        font-size: 13px;
        line-height: 1.6;
        max-width: 1000px;
    }


    .confirm-page .confirm-section-title {
        margin-top: 20px;
        margin-bottom: 8px;
    }


    /* 基本情報 */

    .confirm_card {
        width: calc(100% - 20px);

        margin-bottom: 10px;
        padding: 10px 13px;
    }


    .confirm_item {
        display: block;
        padding: 7px 0;
    }


    .confirm_label {
        width: auto;
        min-width: 0;

        padding: 0;
        margin-bottom: 2px;

        font-size: 13px;
    }


    .confirm_answer {
        font-size: 14px;
    }


    /* 複数回答 */

    .confirm_answer_list p {
        padding: 2px 0;
        font-size: 14px;
    }

    /* ボタン */

    .confirm-page .form_action .btn {
        width: 100%;
        max-width: 320px;
        min-width: 0;
    }

}

.complete-page {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* ===== 設問ページ：選択肢の見た目（追記） ===== */
.question_card .question_note { font-weight: normal; font-size: 14px; color: #475569; }

/* 左の「・」を消し、○／□ と文字を同じ高さに揃える（li を flex にすると「・」は出なくなる） */
.question_card ul.choice_list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}
.question_card ul.choice_list > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0 0 10px;
    line-height: 1.5;
}
.question_card ul.choice_list > li > input[type="radio"],
.question_card ul.choice_list > li > input[type="checkbox"] {
    margin: 0;
    flex: 0 0 auto;
}
.question_card ul.choice_list > li > label { cursor: pointer; }
.question_card .choice_input { display: inline-flex; align-items: center; gap: 2px; }
.question_card .choice_input input[type="text"] { margin: 0 4px; }

/* 前置きの入力欄（［　］年に一度）：短く、余白も詰める */
.question_card ul.choice_list > li > .choice_input input[type="text"] {
    width: 3em;
    margin: 0 2px;
    text-align: left;
}

/* 都道府県などのプルダウン */
.question_card select {
    font-size: 16px;
    width: 100%;                 /* スマホではカードの幅に合わせる */
    max-width: 280px;            /* パソコンでは広げすぎない */
    box-sizing: border-box;      /* 余白・枠を含めた幅にする（はみ出さないように） */
    padding: 8px 12px;
    border: 1px solid #999;
    border-radius: 4px;
    background: #fff;
    color: #1e293b;
}

/* スマホ：長い選択肢が○の下の行へ落ちないようにする。
   文字の幅を「1行の幅 − ○(20px)＋隙間(8px)」までに抑え、収まらなければ文字の途中で折り返す */
.question_card ul.choice_list > li > label {
    max-width: calc(100% - 28px);
    min-width: 0;
    overflow-wrap: anywhere;
}
/* 設問文の1〜2文字だけ次の行に落ちる（「くださ／い。」）のを減らす */
.question_card .question_main { text-wrap: pretty; }
@media screen and (max-width: 700px) {
    .question_card { padding: 18px 16px; }   /* 横の余白を詰めて、文字の幅を広げる */
}

/* セクション見出し：2行目以降を、「Ⅴ．」の幅だけ字下げ（ぶら下げインデント） */
.question_card .index_title {
    padding-left: 2em;
    text-indent: -2em;
}

/* ===== 問104：記載の観点（例） ===== */
.question_card .question_example {
    margin: 0 0 14px;
    padding: 12px 16px;
    background: #f4f7fb;
    border: 1px solid #d5e0ee;
    border-radius: 6px;
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
}
.question_card .question_example_title { margin: 0 0 4px; font-weight: bold; color: #283593; }
.question_card .question_example ul { margin: 0; padding-left: 1.3em; }
.question_card .question_example li { margin: 0; }

/* ===== 問106：連絡先 ===== */
.question_card .contact_note {
    margin: 0 0 16px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #7a2e0e;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 6px;
}
.question_card .contact_form { display: block; }
.question_card .contact_row,
.index_section .contact_row {
    display: grid;
    grid-template-columns: 11.5em 1fr;     /* 左：項目名　右：入力欄 */
    gap: 6px 16px;
    align-items: start;
    margin: 0 0 14px;
}
.question_card .contact_label,
.index_section .contact_label {
    padding-top: 9px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
}
.question_card .contact_badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: normal;
    line-height: 1.5;
    vertical-align: middle;
    border-radius: 3px;
    white-space: nowrap;
}
.question_card .contact_badge_req    { color: #fff; background: #c62828; }
.question_card .contact_badge_either { color: #7a2e0e; background: #fed7aa; }
.question_card .contact_field,
.index_section .contact_field { min-width: 0; }
.question_card input.contact_input,
.index_section input.contact_input {
    display: block;
    width: 100%;
    max-width: 28em;
    height: auto;
    margin: 0;
    padding: 8px 10px;
    box-sizing: border-box;
    font-size: 16px;                       /* 16px未満だと、iPhoneで入力時に画面が拡大される */
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    border: 1px solid #999;
    border-radius: 4px;
    box-shadow: none;
}
.question_card input.contact_input:focus,
.index_section input.contact_input:focus { border-color: #283593; box-shadow: 0 0 0 2px rgba(40, 53, 147, 0.2); }
.question_card .contact_row_zip input.contact_input { max-width: 9em; }
.question_card .contact_row_tel input.contact_input { max-width: 15em; }
.question_card .contact_hint {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}
@media screen and (max-width: 700px) {
    .question_card .contact_row,
    .index_section .contact_row { grid-template-columns: 1fr; gap: 2px; }
    .question_card .contact_label,
    .index_section .contact_label { padding-top: 0; }
    .question_card input.contact_input,
    .index_section input.contact_input { max-width: 100%; }
    .question_card .contact_row_zip input.contact_input { max-width: 9em; }
    .question_card .contact_row_tel input.contact_input { max-width: 15em; }
}

/* 開始画面の貴社名入力：説明文と入力行の左端をそろえ、項目名の列を狭くする */
.index_section .index_company_lead { margin: 4px 0 14px; }
.index_section .index_company_row { grid-template-columns: 5em 1fr; margin: 0 0 6px; align-items: center; }
.index_section .index_company_row .contact_label { padding-top: 0; }
@media screen and (max-width: 700px) {
    .index_section .index_company_row { grid-template-columns: 1fr; align-items: start; }
}

/* 前置き入力欄の選択肢：（…）の補足は、途中で切れない・小さめ */
.question_card .label_note {
    white-space: nowrap;
}
@media screen and (max-width: 700px) {
    .question_card .label_note {
        font-size: 0.9em;
    }
    /* ラベルが○や入力欄の下に落ちないよう、1行を維持して、ラベルは残り幅で内側折り返し */
    .question_card ul.choice_list > li:has(> .choice_input) {
        flex-wrap: nowrap;
    }
    .question_card ul.choice_list > li:has(> .choice_input) > label {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        overflow-wrap: normal;
    }
}

/* ===== 確認画面：右下の「上へ／下へ」ボタン ===== */
.scroll_nav {
    position: fixed;
    right: 14px;
    bottom: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.scroll_nav_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: #fff;
    background: rgba(40, 53, 147, 0.92);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-family: inherit;
    line-height: 1.1;
    -webkit-tap-highlight-color: transparent;
}
.scroll_nav_btn:hover,
.scroll_nav_btn:focus-visible { background: #1a237e; }
.scroll_nav_btn:focus-visible { outline: 3px solid #90caf9; outline-offset: 2px; }
.scroll_nav_icon { font-size: 15px; }
.scroll_nav_text { font-size: 11px; }
.scroll_nav_btn.is-hidden { display: none; }      /* 先頭／末尾にいるときは隠す */
@media print { .scroll_nav { display: none; } }

/* ===== 確認画面・回答済み画面：回答の一覧（設問ごとに1枚のカード） ===== */
.question_card .answer_question {
    margin: 4px 0 10px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.6;
    color: #1e293b;
}
.question_card .answer_text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    word-break: break-word;
}
.question_card .answer_text .answer_none { color: #64748b; }          /* 未回答 */
.question_card .answer_list { margin: 0; padding: 0; list-style: none; }
.question_card .answer_list li { margin: 0; padding: 1px 0; }

/* ===== トップページ・終了ページ：お問い合わせ欄（縦に並べ、背景色なし） ===== */
.contact_block .contact_items { display: block; margin: 0; }
.contact_block .contact_item { margin: 0 0 18px; padding: 0; background: none; border: none; }
.contact_block .contact_item:last-child { margin-bottom: 0; }
.contact_block .contact_item_title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: bold;
    color: #1e293b;
}
.contact_block .contact_item_body {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}
.contact_block .contact_item_body a { color: #283593; }

/* ===== 見出しの折り返し（タイトル・セクション名） ===== */
/* breakJa() が指定した位置（<wbr>）と空白でだけ折り返す。それでも1行に収まらない語だけ、途中で折り返す */
.ja_phrase {
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.nobr { white-space: nowrap; }       /* （…）の中は途中で折り返さない */

/* ===== ヘッダーのタイトル：スマホでは「令和８年度／自動車運送事業者向けアンケート」の2行 ===== */
.sp_br { display: none; }                         /* パソコンでは、全角スペースのまま1行 */
@media screen and (max-width: 700px) {
    .sp_br { display: inline; }                   /* スマホでは、全角スペースの位置で改行する */
    .sp_gap { display: none; }
    .top_d {
        font-size: clamp(16px, 4.8vw, 22px);      /* 2行目が1行に収まる大きさ（画面幅に合わせて変わる） */
        line-height: 1.5;
    }
}

/* ===== 設問文の注記（※複数回答可）（任意） ===== */
.question_card .question_note { white-space: nowrap; }      /* 途中で切れないようにする */
@media screen and (max-width: 700px) {
    .question_card .question_note {
        display: block;                                     /* スマホでは、設問文の下の行に出す */
        margin-top: 4px;
        font-size: 14px;
    }
}

/* ===== 回答画面：サーバー側の入力エラー表示 ===== */
.q_box .err_message {
    margin: 0 0 16px;
    padding: 12px 16px;
    border: 1px solid #d32f2f;
    border-left: 6px solid #d32f2f;
    border-radius: 4px;
    background: #fdecea;
    color: #b71c1c;
    line-height: 1.6;
}
.q_box .err_message .err_message_title {
    margin: 0 0 6px;
    font-weight: bold;
}
.q_box .err_message ul {
    margin: 0;
    padding-left: 1.4em;
}
.q_box .err_message li {
    margin: 4px 0;
}
.q_box .err_message a {
    color: #b71c1c;
    text-decoration: underline;
}

/* エラーのある設問：枠と入力欄の下線を赤にする */
.question_card.question_card_err {
    border-color: #d32f2f;
    box-shadow: 0 0 0 1px #d32f2f;
}
.question_card.question_card_err input[type="text"] {
    border-bottom: 2px solid #d32f2f;
}