/**
 * Contact Form 7 カスタムスタイル
 * MICS_HTML デザイン完全再現（0から作り直し）
 * 
 * @package MICS_Theme
 * @since 1.0.5
 * @updated 2026-01-29
 */

/* ================================================
   重要: style.min.cssの上書き
   
   style.min.cssには以下のスタイルが含まれており、
   Contact Form 7に影響を与えています：
   - input[type=checkbox]+span
   - input[type=radio]+span
   
   これらを無効化します。
   ================================================ */

/* style.min.cssのチェックボックススタイルを完全に無効化 */
.wpcf7 input[type="checkbox"] + span:not(.wpcf7-list-item-label),
.wpcf7-form input[type="checkbox"] + span:not(.wpcf7-list-item-label),
.wpcf7-checkbox input[type="checkbox"] + span:not(.wpcf7-list-item-label),
body .wpcf7 input[type="checkbox"] + span:not(.wpcf7-list-item-label),
body .wpcf7-form input[type="checkbox"] + span:not(.wpcf7-list-item-label) {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: auto !important;
    width: auto !important;
    vertical-align: baseline !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    cursor: auto !important;
    outline: none !important;
    transition: none !important;
}

/* チェック時のstyle.min.cssスタイルも無効化 */
.wpcf7 input[type="checkbox"]:checked + span:not(.wpcf7-list-item-label),
.wpcf7-form input[type="checkbox"]:checked + span:not(.wpcf7-list-item-label),
.wpcf7-checkbox input[type="checkbox"]:checked + span:not(.wpcf7-list-item-label) {
    background: transparent !important;
    border: none !important;
}

/* ::before を削除（.wpcf7-list-item-label以外） */
.wpcf7 input[type="checkbox"] + span:not(.wpcf7-list-item-label)::before,
.wpcf7-form input[type="checkbox"] + span:not(.wpcf7-list-item-label)::before,
.wpcf7-checkbox input[type="checkbox"] + span:not(.wpcf7-list-item-label)::before {
    display: none !important;
}

/* チェック時の::beforeも削除 */
.wpcf7 input[type="checkbox"]:checked + span:not(.wpcf7-list-item-label)::before,
.wpcf7-form input[type="checkbox"]:checked + span:not(.wpcf7-list-item-label)::before,
.wpcf7-checkbox input[type="checkbox"]:checked + span:not(.wpcf7-list-item-label)::before {
    display: none !important;
    opacity: 0 !important;
}

/* style.min.cssのラジオボタンスタイルを完全に無効化 */
.wpcf7 input[type="radio"] + span:not(.wpcf7-list-item-label),
.wpcf7-form input[type="radio"] + span:not(.wpcf7-list-item-label),
.wpcf7-radio input[type="radio"] + span:not(.wpcf7-list-item-label),
body .wpcf7 input[type="radio"] + span:not(.wpcf7-list-item-label),
body .wpcf7-form input[type="radio"] + span:not(.wpcf7-list-item-label) {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: auto !important;
    width: auto !important;
    vertical-align: baseline !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    cursor: auto !important;
    outline: none !important;
    transition: none !important;
}

/* 選択時のstyle.min.cssスタイルも無効化 */
.wpcf7 input[type="radio"]:checked + span:not(.wpcf7-list-item-label),
.wpcf7-form input[type="radio"]:checked + span:not(.wpcf7-list-item-label),
.wpcf7-radio input[type="radio"]:checked + span:not(.wpcf7-list-item-label) {
    background: transparent !important;
    border: none !important;
}

/* ::after を削除（.wpcf7-list-item-label以外） */
.wpcf7 input[type="radio"] + span:not(.wpcf7-list-item-label)::after,
.wpcf7-form input[type="radio"] + span:not(.wpcf7-list-item-label)::after,
.wpcf7-radio input[type="radio"] + span:not(.wpcf7-list-item-label)::after {
    display: none !important;
}

/* 選択時の::afterも削除 */
.wpcf7 input[type="radio"]:checked + span:not(.wpcf7-list-item-label)::after,
.wpcf7-form input[type="radio"]:checked + span:not(.wpcf7-list-item-label)::after,
.wpcf7-radio input[type="radio"]:checked + span:not(.wpcf7-list-item-label)::after {
    display: none !important;
}

/* ================================================
   MICS_HTMLのデザインを完全に再現
   
   MICS_HTML構造:
   <input type="checkbox"><span class="m-checkbox"></span>テレビ
   
   Contact Form 7構造:
   <input type="checkbox"><span class="wpcf7-list-item-label">テレビ</span>
   
   解決策:
   wpcf7-list-item-label を m-checkbox のようにスタイリング
   ================================================ */

/* ================================================
   チェックボックス
   ================================================ */

/* 0. リストアイテムを横並びに（最重要） - セレクター詳細度を最大化 */
.wpcf7 .wpcf7-checkbox .wpcf7-list-item,
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item,
span.wpcf7-form-control.wpcf7-checkbox span.wpcf7-list-item {
    display: inline-block !important;
    margin-right: 0.4rem !important;
    margin-bottom: 0.4rem !important;
    vertical-align: middle !important;
}

/* 1. チェックボックス本体を視覚的に隠す（クリックは可能に） */
.wpcf7 input[type="checkbox"],
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

/* 1.5. style.min.cssのスタイルを.wpcf7-list-item-labelから除去 */
.wpcf7 input[type="checkbox"] + .wpcf7-list-item-label,
.wpcf7-form input[type="checkbox"] + .wpcf7-list-item-label,
.wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label,
body .wpcf7 input[type="checkbox"] + .wpcf7-list-item-label,
body .wpcf7-form input[type="checkbox"] + .wpcf7-list-item-label {
    /* style.min.cssのスタイルをリセット */
    height: auto !important;
    width: auto !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    vertical-align: baseline !important;
}

/* 2. wpcf7-list-item-label を m-checkbox 風にスタイリング */
.wpcf7 input[type="checkbox"] + .wpcf7-list-item-label,
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label {
    position: relative !important;
    padding-left: 2.8rem !important; /* 2rem(ボックス幅) + 0.8rem(余白) */
    cursor: pointer !important;
    display: inline-block !important;
    font-weight: 500 !important;
    margin: 0.4rem !important;
    color: #333 !important;
    font-size: 1.6rem !important;
    line-height: 1.5 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    pointer-events: auto !important;
}

/* 3. ::before でチェックボックスの四角を作成 - 詳細度を最大化 */
.wpcf7 input[type="checkbox"] + .wpcf7-list-item-label::before,
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label::before,
body .wpcf7 input[type="checkbox"] + .wpcf7-list-item-label::before,
body .wpcf7-form input[type="checkbox"] + .wpcf7-list-item-label::before,
.wpcf7-checkbox input[type="checkbox"] + span.wpcf7-list-item-label::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 2rem !important;
    width: 2rem !important;
    background: #fff !important;
    border: 0.2rem solid #003f90 !important;
    cursor: pointer !important;
    display: block !important;
    vertical-align: -0.8rem !important;
    transition: all 0.15s ease-out 0s !important;
    outline: 0 !important;
    box-sizing: border-box !important;
    /* style.min.cssを上書き */
    opacity: 1 !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

/* 4. チェック時の背景色 - 詳細度を最大化 */
.wpcf7 input[type="checkbox"]:checked + .wpcf7-list-item-label::before,
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::before,
body .wpcf7 input[type="checkbox"]:checked + .wpcf7-list-item-label::before,
body .wpcf7-form input[type="checkbox"]:checked + .wpcf7-list-item-label::before,
.wpcf7-checkbox input[type="checkbox"]:checked + span.wpcf7-list-item-label::before {
    background: #003f90 !important;
    border: 0.2rem solid #003f90 !important;
}

/* 5. ::after でチェックマーク（SVGマスク使用） - 詳細度を最大化 */
.wpcf7 input[type="checkbox"] + .wpcf7-list-item-label::after,
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label::after,
body .wpcf7 input[type="checkbox"] + .wpcf7-list-item-label::after,
body .wpcf7-form input[type="checkbox"] + .wpcf7-list-item-label::after,
.wpcf7-checkbox input[type="checkbox"] + span.wpcf7-list-item-label::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 2rem !important;
    height: 2rem !important;
    display: block !important;
    opacity: 0 !important;
    background-color: #fff !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    transition: opacity 0.2s ease-in-out !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
}

/* 6. チェック時にチェックマークを表示 - 詳細度を最大化 */
.wpcf7 input[type="checkbox"]:checked + .wpcf7-list-item-label::after,
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label::after,
body .wpcf7 input[type="checkbox"]:checked + .wpcf7-list-item-label::after,
body .wpcf7-form input[type="checkbox"]:checked + .wpcf7-list-item-label::after,
.wpcf7-checkbox input[type="checkbox"]:checked + span.wpcf7-list-item-label::after {
    opacity: 1 !important;
}

/* ================================================
   ラジオボタン
   ================================================ */

/* 0. ラジオリストアイテムを横並びに（最重要） - セレクター詳細度を最大化 */
.wpcf7 .wpcf7-radio .wpcf7-list-item,
.wpcf7-form-control.wpcf7-radio .wpcf7-list-item,
.wpcf7-form .wpcf7-radio .wpcf7-list-item,
span.wpcf7-form-control.wpcf7-radio span.wpcf7-list-item {
    display: inline-block !important;
    margin-right: 0.4rem !important;
    margin-bottom: 0.4rem !important;
    vertical-align: middle !important;
}

/* 1. ラジオボタン本体を視覚的に隠す（クリックは可能に） */
.wpcf7 input[type="radio"],
.wpcf7-form-control.wpcf7-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

/* 1.5. style.min.cssのスタイルを.wpcf7-list-item-labelから除去 */
.wpcf7 input[type="radio"] + .wpcf7-list-item-label,
.wpcf7-form input[type="radio"] + .wpcf7-list-item-label,
.wpcf7-radio input[type="radio"] + .wpcf7-list-item-label,
body .wpcf7 input[type="radio"] + .wpcf7-list-item-label,
body .wpcf7-form input[type="radio"] + .wpcf7-list-item-label {
    /* style.min.cssのスタイルをリセット */
    height: auto !important;
    width: auto !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    vertical-align: baseline !important;
}

/* 2. wpcf7-list-item-label を m-radio 風にスタイリング */
.wpcf7 input[type="radio"] + .wpcf7-list-item-label,
.wpcf7-form-control.wpcf7-radio input[type="radio"] + .wpcf7-list-item-label {
    position: relative !important;
    padding-left: 2.8rem !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-weight: 500 !important;
    margin: 0.4rem !important;
    color: #333 !important;
    font-size: 1.6rem !important;
    line-height: 1.5 !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    pointer-events: auto !important;
}

/* 3. ::before でラジオボタンの円を作成 */
.wpcf7 input[type="radio"] + .wpcf7-list-item-label::before,
.wpcf7-form-control.wpcf7-radio input[type="radio"] + .wpcf7-list-item-label::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    height: 2rem !important;
    width: 2rem !important;
    background: #fff !important;
    border: 0.2rem solid #003f90 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: inline-block !important;
    vertical-align: -0.8rem !important;
    transition: all 0.15s ease-out 0s !important;
    outline: 0 !important;
}

/* 4. 選択時の背景色 */
.wpcf7 input[type="radio"]:checked + .wpcf7-list-item-label::before,
.wpcf7-form-control.wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label::before {
    background: #003f90 !important;
    border: 0.2rem solid #003f90 !important;
}

/* 5. ::after で内側の白い円 */
.wpcf7 input[type="radio"] + .wpcf7-list-item-label::after,
.wpcf7-form-control.wpcf7-radio input[type="radio"] + .wpcf7-list-item-label::after {
    content: '' !important;
    position: absolute !important;
    left: 0.5rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 1rem !important;
    height: 1rem !important;
    background-color: #fff !important;
    border-radius: 50% !important;
    display: block !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease-in-out !important;
}

/* 6. 選択時に内側の円を表示 */
.wpcf7 input[type="radio"]:checked + .wpcf7-list-item-label::after,
.wpcf7-form-control.wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label::after {
    opacity: 1 !important;
}

/* ================================================
   横並び設定はチェックボックス・ラジオ各セクションの先頭に配置済み
   ================================================ */

/* ================================================
   その他のフォーム要素
   ================================================ */

/* テキスト入力 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: #fff;
    box-sizing: border-box;
}

/* フォーカス時 */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: #003f90;
    box-shadow: 0 0 0 3px rgba(0, 63, 144, 0.1);
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
    background: #003f90;
    color: #fff;
    border: none;
    padding: 1.5rem 6rem;
    font-size: 1.8rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.wpcf7 input[type="submit"]:hover {
    background: #00285a;
}

/* バリデーションエラー */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    display: block;
}

/* 郵便番号フィールド */
.wpcf7 input.m-zip {
    width: 20rem;
}

/* 住所ボタン */
.m-zip_Btn.-address {
    display: inline-block;
    padding: 1rem 2rem;
    margin-left: 1rem;
    background: #003f90;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.4rem;
}

.m-zip_Btn.-address:hover {
    background: #00285a;
}

/* Acceptanceチェックボックス（プライバシーポリシー同意など） */
.wpcf7 .wpcf7-acceptance input[type="checkbox"] + .wpcf7-list-item-label {
    font-size: 1.4rem;
}

/* ================================================
   フォーム上部コンテンツ
   ================================================ */
.l-contact_Main__TopContent {
    margin-bottom: 3rem;
}

/* ================================================
   エディター表示と一致させるスタイル（mics-editor-content）
   editor-style.css の定義をフロントでも再現する
   ================================================ */
.mics-editor-content h1,
.mics-editor-content h2,
.mics-editor-content h3,
.mics-editor-content h4,
.mics-editor-content h5,
.mics-editor-content h6 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 1.4;
    color: #003f90;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.mics-editor-content h1 {
    font-size: 3.2rem;
    border-bottom: 0.3rem solid #003f90;
    padding-bottom: 1rem;
}

.mics-editor-content h2 {
    font-size: 2.8rem;
    border-bottom: 0.2rem solid #003f90;
    padding-bottom: 0.8rem;
}

.mics-editor-content h3 {
    font-size: 2.4rem;
    position: relative;
    padding-left: 2rem;
}

.mics-editor-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.6rem;
    height: 100%;
    background-color: #003f90;
    border-radius: 0.3rem;
}

.mics-editor-content h4 {
    font-size: 2rem;
    color: #333333;
}

.mics-editor-content h5 {
    font-size: 1.8rem;
    color: #333333;
}

.mics-editor-content h6 {
    font-size: 1.6rem;
    color: #333333;
}

.mics-editor-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mics-editor-content ul,
.mics-editor-content ol {
    margin: 1.5rem 0;
}

.mics-editor-content ul {
    list-style: none;
    padding-left: 0;
}

.mics-editor-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.mics-editor-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 0.6rem;
    height: 0.6rem;
    background-color: #003f90;
    border-radius: 50%;
}

.mics-editor-content ol {
    list-style: decimal;
    padding-left: 2rem;
}

.mics-editor-content ol li {
    margin-bottom: 1rem;
}

.mics-editor-content strong,
.mics-editor-content b {
    font-weight: 700;
    color: #003f90;
}

.mics-editor-content a {
    color: #003f90;
    text-decoration: underline;
}

.mics-editor-content a:hover {
    color: #0066cc;
    text-decoration: none;
}

.mics-editor-content a.m-btn {
    color: #fff;
    text-decoration: none;
}

.mics-editor-content a.m-btn:hover {
    color: #fff;
    text-decoration: none;
}

.mics-editor-content blockquote {
    border-left: 0.4rem solid #003f90;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background-color: #f5f5f5;
    color: #666666;
    font-style: italic;
}

.mics-editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #ffffff;
    border: 0.1rem solid #e0e0e0;
}

.mics-editor-content table th {
    background-color: #f5f5f5;
    color: #333333;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    text-align: left;
    border: 0.1rem solid #e0e0e0;
}

.mics-editor-content table td {
    padding: 1.2rem 1.5rem;
    border: 0.1rem solid #e0e0e0;
}

.mics-editor-content table tr:nth-child(even) {
    background-color: #fafafa;
}

/* ================================================
   マルチステップフォーム
   CF7 デフォルトのレスポンス出力を非表示
   ================================================ */
.l-cf7-multistep .wpcf7-response-output {
    display: none !important;
}

/* ================================================
   ステップインジケーター
   ================================================ */
.l-cf7-steps {
    margin-bottom: 4rem;
}

.l-cf7-steps__List {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.l-cf7-steps__Item {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 500;
    color: #bbb;
    padding: 0 1.2rem;
}

.l-cf7-steps__Item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: #ddd;
    color: #bbb;
    font-size: 1.1rem;
    font-weight: bold;
    margin-right: 0.8rem;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

/* アクティブステップ */
.l-cf7-steps__Item.-active {
    color: #003f90;
    font-weight: bold;
}

.l-cf7-steps__Item.-active span {
    background: #003f90;
    color: #fff;
}

/* 完了済みステップ */
.l-cf7-steps__Item.-done {
    color: #6b9fd4;
}

.l-cf7-steps__Item.-done span {
    background: #6b9fd4;
    color: #fff;
}

/* アイテム間の矢印 */
.l-cf7-steps__Item:not(:last-child)::after {
    content: '›';
    display: inline-block;
    margin-left: 1.2rem;
    font-size: 2.4rem;
    color: #ccc;
    line-height: 1;
    font-weight: 300;
}

@media (max-width: 767px) {
    .l-cf7-steps__Item {
        font-size: 1.1rem;
        padding: 0 0.6rem;
    }

    .l-cf7-steps__Item span {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 0.9rem;
        margin-right: 0.4rem;
    }

    .l-cf7-steps__Item:not(:last-child)::after {
        margin-left: 0.6rem;
        font-size: 1.8rem;
    }
}

/* ================================================
   確認画面
   ================================================ */
.l-cf7-confirm__Note {
    text-align: center;
    margin: 0 0 2.8rem;
    font-size: 1.5rem;
    color: #333;
}

.l-cf7-confirm__Error {
    text-align: center;
    color: #dc3545;
    font-size: 1.4rem;
    padding: 1.2rem 2rem;
    border: 1px solid #dc3545;
    border-radius: 4px;
    margin: 1.6rem 0;
    background: #fff5f5;
}

.l-cf7-confirm__Empty {
    color: #aaa;
    font-style: italic;
}

/* 確認テーブルのコンテンツ列 */
.m-table_Form.-confirm .m-table_Form__Content {
    word-break: break-word;
    white-space: pre-wrap;
}

/* 確認画面ボタンエリア */
.-confirm-btn-area {
    display: flex;
    gap: 1.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3.2rem;
}

/* 「修正する」ボタン（アウトラインスタイル） */
.m-btn.-back {
    background: #fff;
    color: #003f90;
    border: 0.2rem solid #003f90;
    min-width: 16rem;
    cursor: pointer;
}

.m-btn.-back:hover {
    background: #f0f4fa;
}

.m-btn.-back:disabled,
.m-btn.-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ================================================
   完了画面
   ================================================ */
.l-cf7-complete {
    padding: 6rem 2rem;
    text-align: center;
}

.l-cf7-complete__Inner {
    max-width: 64rem;
    margin: 0 auto;
}

.l-cf7-complete__Icon {
    width: 7.2rem;
    height: 7.2rem;
    margin: 0 auto 2.8rem;
    color: #003f90;
}

.l-cf7-complete__Icon svg {
    width: 100%;
    height: 100%;
}

.l-cf7-complete__Heading {
    font-size: 2.4rem;
    font-weight: bold;
    color: #003f90;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.l-cf7-complete__Lead {
    font-size: 1.6rem;
    line-height: 2;
    color: #333;
    margin-bottom: 4rem;
}

@media (max-width: 767px) {
    .l-cf7-complete {
        padding: 4rem 2rem;
    }

    .l-cf7-complete__Heading {
        font-size: 2rem;
    }

    .l-cf7-complete__Lead {
        font-size: 1.4rem;
        line-height: 1.8;
    }
}
