/* form.html 専用のスタイル */
        .form-page-title {
            text-align: center;
        }
        #form {
            border-collapse: collapse;
            margin: 1em 0;
        }
        #form th, #form td {
            border: 1px solid #808080;
            padding: 8px;
            font-size: 14px;
        }
        #form th {
            background: #EEEEEE;
            font-size: 14px;
        }
        #form td {
            background: #fff;
        }
        #form th .must {
            width: 100px;
        }

        /* for message */
        p.msg {
            color: #dd0000;
            margin: 2em;
        }
        span.msg {
            color: #dd0000;
        }
        .scroll-spy p {
            margin-left: 0px;
            font-weight: bold;
            font-size: 13px;
            padding-left: 0px;
        }
        .scroll-spy ul {
            list-style: none;
            padding-left: 10px;
        }
        .scroll-spy li {
            padding-left: 3.3rem;
            list-style-position: outside;
        }
        .table_agree {
            margin: 10px 10px;
        }
        .table_agree th {
            font-size: 11px!important;
        }
        .table_agree td {
            padding-bottom: 0px!important;
            font-size: 11px!important;
        }
        .table_agree ul {
            padding-left: 0px;
        }
        .table_agree li {
            font-size: 11px;
            padding-left: 0px;
            padding-right: 50px;
        }

        /* form-top */
        section#form-top h1,
        section#form-top h2 {
            background-color: #082E5D;
            color: #fff;
            font-size: 18px;
            padding:10px 20px 10px 20px;
            margin-top: 30px;
            text-align: center;
        }

        /* 必須アイコンは画像ではなくCSSで対応 */
        section#form-top th.must {
            color: #ff0000;  /*必須アイコンの色を #ff0000 に変更 */
        }
        .badge-danger {
            color: #fff !important;
            background-color: #b00020 !important;
        }

        .scroll-spy {
            width: 100%;
            height: 200px;
            font-size: 11px;
            overflow-x: hidden;
            overflow-y: scroll;
            border: solid 1px #C0C0C0;
            margin-bottom: 15px;
        }
        .scroll-spy:focus { outline: 3px solid #082E5D; outline-offset: 2px; }
        .scroll-spy p {
            padding: 10px 10px 10px 10px;
        }
        .svg-inline--fa.fa-w-18 {
            margin-top: 15px;
        }
        .Error {
            padding-top: 30px;
            padding-bottom: 100px;
        }

        .btn-submit {
            width: 150px;
        }

        .turnstile-container {
            display: flex;
            justify-content: center;
            min-height: 70px;
            margin: 1rem 0;
        }

        /* 個人情報の取り扱いに関するテキストとチェックボックスを中央に配置 */
        .message-box {
            text-align: center;
            margin: 20px auto;
            max-width: 100%; /* 必要に応じて調整 */
        }


        .no-link-style {
            color: inherit;
            text-decoration: none;
        }
        .no-link-style:hover,
        .no-link-style:active,
        .no-link-style:visited {
            color: inherit;
            text-decoration: none;
        }

        .required-label::after {
            content: " *";
            color: #f00;
        }
        /* エラー表示のスタイル */
        .form-control.invalid {
            border-color: #f00;
        }
        .error-message {
            color: #b00020;
            display: none; /* 初期状態では非表示 */
        }
        .error-message.error-visible {
            display: block; /* エラー時に表示 */
        }

        .scroll-spy table {
            width: 100%;
            table-layout: fixed;
        }
        .scroll-spy th, .scroll-spy td {
            word-break: break-word;
        }
        .scroll-spy th {
            font-weight: bold;
        }
        .scroll-spy table {
            width: 98%; /* 幅を98%に調整 */
            margin: 0 auto; /* 中央寄せ */
        }


        /* テーブル内のカラム幅調整 */
        .table_agree th:nth-child(1),
        .table_agree td:nth-child(1) {
            width: 25%; /* 左カラムの幅を25%に設定 (調整可能) */
        }

        .table_agree th:nth-child(2),
        .table_agree td:nth-child(2) {
            width: 75%; /* 右カラムの幅を75%に設定 (調整可能) */
        }

        /* ラベルを左寄せにする */
        .form-group label {
            text-align: left;
            display: block; /* ブロック要素にして幅を確保 */
            margin-bottom: 0.5rem; /* 下に少し余白 */
        }


        /* 入力フィールドの幅を100%にする */
        #form input[type="text"],
        #form input[type="email"],
        #form input[type="tel"],
        #form textarea {
            width: 100%;
            box-sizing: border-box; /* paddingとborderをwidthに含める */
        }

        /* 同意チェックボックスとラベルを中央揃え */
        .consent-container {
            margin-top: 1rem;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 100%;
        }

        .consent-container label {
            display: inline-block;
            vertical-align: middle;
        }

        .consent-container input[type="checkbox"] {
            margin: 0 8px 0 0;
            vertical-align: middle;
            appearance: none;
            -webkit-appearance: none;
            width: 16px;
            height: 16px;
            border: 1px solid #999;
            border-radius: 3px;
            background-color: #fff;
            cursor: pointer;
        }

        .consent-container input[type="checkbox"]:checked {
            background-color: #007bff;
            border-color: #007bff;
        }

        .consent-container input[type="checkbox"]:checked::after {
            content: '\2713';
            display: block;
            text-align: center;
            color: #fff;
            font-size: 14px;
            line-height: 14px;
        }

        .consent-container span {
            vertical-align: middle;
        }

        /* より小さい画面用のスタイル */
        @media screen and (max-width: 480px) {
            section#form-top h1,
            section#form-top h2 {
                font-size: 16px;
            }
            #form th {
                padding-right: 10px; /* 必須アイコンのスペースを減らす */
            }
            .scroll-spy {
              font-size: 10px;
            }
        }

        /* ハニーポットフィールド用スタイル */
        .honeypot {
            display: none !important; /* 絶対に表示させない */
            visibility: hidden !important; /* さらに見えないように */
            opacity: 0 !important; /* 透明度も0に */
            position: absolute !important; /* 位置も絶対位置で画面外に */
            left: -9999px !important;
            top: -9999px !important;
            height: 0 !important;
            width: 0 !important;
            z-index: -1 !important;
        }
