@charset "UTF-8";
/* 建築業特化フォーム CSS */
html {
    font-size: 62.5%; /* 1rem = 10px */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    font-size: 1.6rem;
    background-color: rgb(243, 243, 243);
}

.contents {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
}

.phase_check {
    background: #dfdfdf;
    /* color: white; */
    padding: 40px;
    text-align: center;
}
.phase_check h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .phase_check h2 {
        font-size: 1.8rem;
    }
}

.phase_check ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    margin-bottom: 20px;
}

/* 進捗線 */
.phase_check ul::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 30%;
    right: 30%;
    height: 4px;
    background: rgb(245, 245, 245);
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

@keyframes progressFill {
    to {
        width: 0%;
    }
}
.phase_check ul li {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    padding: 0;
    margin: 0 20px;
}

/* ステップ番号 */
.phase_check ul li::before {
    content: attr(data-step);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(99, 99, 99);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    /* border: 3px solid rgba(255, 255, 255, 0.3); */
    transition: all 0.3s ease;
}

/* ステップテキスト */
.phase_check ul li span {
    font-size: 1.4rem;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* アクティブ状態 */
.phase_check ul li.active::before {
    background: linear-gradient(135deg, #5daaca, #4a99bb);
    color: white;
    border-color: #ffffff;
    transform: scale(1.1);
}

.phase_check ul li.active span {
    color: #e6bf38;
    font-weight: 700;
    opacity: 1;
    transform: translateY(-2px);
}

/* 完了状態 */
.phase_check ul li.completed::before {
    background: #2ecc71;
    border-color: #2ecc71;
    content: '✓';
    font-size: 2rem;
}

.phase_check ul li.completed span {
    color: #2ecc71;
    opacity: 1;
}

.in_form_tel {
    margin-top: 20px;
    padding: 15px;
    background: rgb(240, 240, 240);
    border-radius: 10px;
    margin-bottom: 20px;
}

.in_form_tel_n {
    font-weight: 600;
    font-size: 3.5rem;
}

.in_form_tel_n a {
    color: #c97f18;
    text-decoration: none;
}

/* フォーム全体のコンテナ */
form {
    padding: 40px;
}

/* フォームボックス */
.form_box {
    margin-bottom: 50px;
}

.inquiry_conf .form_box {
    margin-bottom: 20px;
}

/* フォームラベル */
.form_box label,
.form-label {
    display: inline-block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 1.8rem;
}
.form_box label small,
.form-label small {
    font-weight: normal;
}

/* 必須・任意マーカー */
.required {
    color: #e74c3c;
    margin-left: 5px;
    font-size: 1.4rem;
    padding: 2px 6px;
    background: #ffebee;
    border-radius: 4px;
}

.not-required {
    color: #27ae60;
    font-weight: normal;
    font-size: 1.4rem;
    margin-left: 5px;
    padding: 2px 6px;
    background: #e8f5e8;
    border-radius: 4px;
}

/* ヘルプテキスト */
.help-text {
    font-size: 1.4rem;
    color: #7f8c8d;
    margin-bottom: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    border-radius: 0 4px 4px 0;
}
.help-text span {
    color: rgb(133, 33, 33);
}

/* チェックボックスグループ */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-item:hover {
    background: #e3f2fd;
    border-color: #2196f3;
}

.checkbox-item input[type='checkbox'] {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: #667eea;
}

.checkbox-item label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-item small {
    display: block;
    color: #666;
    font-size: 1.4rem;
    margin-top: 4px;
}

/* ラジオボタングループ */
.radio-group,
.form_box.reply ul,
.form_box ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
    list-style: none;
}

.radio-item,
.form_box.reply li,
.form_box li {
    display: flex;
    align-items: center;
}

.radio-item input[type='radio'],
.form_box.reply li input[type='radio'],
.form_box li input[type='radio'] {
    margin-right: 10px;
    transform: scale(1.1);
    accent-color: #667eea;
}

.radio-item label,
.form_box.reply li label,
.form_box li label {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
}
.radio-item label:hover,
.form_box.reply li label:hover,
.form_box li label:hover {
    background: #e8f5e8;
    border-color: #4caf50;
}
/*ナンバー入力グループ*/
.form_number input {
    font-family: inherit;
    font-size: 216%;
    line-height: 1.15;
    margin: 0;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-right: 4px;
    margin-left: 4px;
    font-size: 1.7rem;
    padding: 10px 20px;
    margin-bottom: 5px;
}

/* 入力フィールド */
input[type='text'],
input[type='email'],
input[type='tel'],
textarea,
select,
.form-text {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
    line-height: 1;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
textarea:focus,
select:focus,
.form-text:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea,
.form-text[rows] {
    min-height: 120px;
    resize: vertical;
}
/*プルダウン入力グループ*/

.form_box select {
    width: 30%;
    text-align: left !important;
    margin-right: 10px;
}
@media (max-width: 768px) {
    .form_box select {
        width: 30%;
        text-align: center;
    }
}

/* 例示テキスト */
.example {
    font-size: 1.4rem;
    color: #7f8c8d;
    margin-top: 5px;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* 例示ボックス */
.example-box {
    background: #f0f8ff;
    border: 1px solid #b3d9ff;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.example-title {
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.example-title::before {
    content: '💡';
    margin-right: 8px;
}

.example-content {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #424242;
}

/* エラーメッセージ */
.erre_name {
    color: #e74c3c;
    font-size: 1.4rem;
    margin-top: 5px;
    display: block;
}

/* 注意事項 */
.notice {
    font-size: 1.4rem;
    color: #7f8c8d;
    margin-top: 10px;
    padding: 10px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 0 4px 4px 0;
}

/* 送信ボタン */
.submit_btn {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.soushin_btn,
.submit-btn {
    background: #667eea;
    color: white;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    margin-bottom: 40px;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}
@media (max-width: 768px) {
    .soushin_btn,
    .submit-btn {
        padding: 18px;
        width: 100%;
    }
}

.soushin_btn:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.soushin_btn:disabled,
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 信頼指標 */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 1.4rem;
    color: #666;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* フォーム選択エリア */
.form_select {
    margin-top: 10px;
}

/* プログレスバー（PHPフォーム用） */
.progress-bar {
    background: #f0f0f0;
    height: 6px;
    border-radius: 3px;
    margin: 20px 40px 30px 40px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #667eea, #764ba2);
    height: 100%;
    width: 20%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.sm_only {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .sm_only {
        display: unset !important;
    }
}
@media screen and (max-width: 768px) {
    .pc_only {
        display: none !important;
    }
}
.max_img {
    width: 1000px;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .max_img {
        width: 100%;
    }
}
/* フッター */
footer {
    background-color: gray;
    padding: 50px 30px;
    text-align: center;
    color: white;
}
@media screen and (max-width: 768px) {
    footer {
        padding: 30px 15px;
        font-size: 1.4rem;
    }
}

/* 確認画面用スタイル */
.form_caution {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 50px;
    text-align: center;
}

.form_caution p {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.form_caution span {
    font-size: 1.6rem;
    line-height: 1.6;
    opacity: 0.95;
}

.form_caution span span {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* 確認画面のフォームボックス */
.form_box p,
.form_box .kakunin {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.7rem;
    line-height: 1.6;
    color: #2c3e50;
    min-height: 50px;
    margin-top: 8px;
    word-wrap: break-word;
}

.form_box .kakunin {
    display: block;
}

.form_box {
    /* スクロールボックス（プライバシーポリシー） */
}
.form_box .scrollbox {
    max-height: 200px;
    overflow-y: auto;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    background: #f8f9fa;
    margin-top: 10px;
}
.form_box .scrollbox * {
    font-size: 1.4rem;
}
.form_box .scrollbox::-webkit-scrollbar {
    width: 8px;
}
.form_box .scrollbox::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.form_box .scrollbox::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
.form_box .scrollbox::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ボタンエリア */
.btn_area {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* 戻るボタン */
.modoru_btn {
    padding: 15px 40px;
    border: none;
    font-size: 1.7rem;
    font-weight: 600;
    cursor: pointer;
}

/* 確認画面での送信ボタン調整 */
.btn_area .soushin_btn {
    width: 80%;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
    font-size: 1.7rem;
    padding: 18px 40px;
    line-height: 1.4;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .btn_area .soushin_btn {
        width: 100%;
        margin-bottom: 0;
    }
}

.btn_area .soushin_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(39, 174, 96, 0.4);
}

@keyframes progressFill {
    to {
        width: 50%;
    }
}
/* 完了画面専用のphase_checkスタイル */
.phase_check.inqpage li[data-step='3'].active::before {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    animation: completePulse 2s ease-in-out infinite;
}

@keyframes completePulse {
    0%,
    100% {
        transform: scale(1.1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
}
/* 成功アニメーション */
.contents {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contents {
        margin: 40px 10px;
        border-radius: 15px;
    }
    .phase_check,
    form {
        padding: 15px;
    }
    .checkbox-group,
    .radio-group,
    .form_box.reply ul,
    .form_box ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .trust-indicators {
        flex-direction: column;
        gap: 10px;
    }
    .phase_check ul li {
        min-width: unset;
    }
    .form_caution {
        padding: 25px 12px;
    }
    .form_caution p {
        font-size: 1.8rem;
    }
    .form_caution span {
        font-size: 1.4rem;
    }
} /*# sourceMappingURL=form_.css.map */

.form_box.question_last {
    padding-bottom: 30px;
    border-bottom: 1px solid #bdbdbd;
}
@media (min-width: 768px) {
    .logo {
        width: 1000px;
        margin: auto;
    }
    .logo img {
        margin-left: 17px;
    }
}
@media (max-width: 768px) {
    .logo {
        text-align: center;
        margin: auto;
    }
}
.advisory-note {
    background: #fffaee;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.advisory-note img {
    width: 130px;
    margin-right: 30px;
}

.advisory-note p {
    font-weight: 500;
    font-size: 2rem;
    color: #ca5900;
}

.advisory-note p strong {
    font-size: 2.7rem;
    color: #f32a00;
}

.comp_part1 {
    margin-bottom: 30px;
    text-align: center;
}
.comp_part p {
    text-align: unset;
    font-weight: unset;
    font-size: unset;
    padding: 0;
}

.comp_part small {
    text-align: center;
    font-weight: unset;
    display: block;
}
@media screen and (max-width: 768px) {
    .comp_part small {
        text-align: left;
    }
}

.comp_part1 small {
    margin-top: 16px;
}

.comp_part1 h1 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.gray_back {
    background: #fbfbfb;
    background-image: linear-gradient(90deg, #eeeeee 1px, transparent 0), linear-gradient(#eeeeee 1px, transparent 0);
    background-size: 10px 10px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    margin: 20px 0px;
}

.comp_part2 {
    padding: 30px 12px 15px;
    text-align: left;
}

.comp_part2 small {
    margin-top: 20px;
}

.comp_part2_title {
    text-align: center;
}
.comp_part2_title p {
    color: #a30000;
    text-align: center;
    font-weight: bold;
    font-size: 1.8rem;
}

.comp_part2_title span {
    background: #a30000;
    color: white;
    padding: 1px 18px;
    font-weight: bold;
    font-size: 1.7rem;
    margin-bottom: 5px;
}
.reply_case {
    margin-top: 15px;
    box-shadow: 0px 5px 50px 0px rgba(0, 0, 0, 0.1019607843);
}

.reply_case .flex {
    align-items: center;

    font-weight: bold;
    color: white;
    font-size: 2rem;
    padding: 5px 0;
}
.reply_case .flex img {
    margin-right: 10px;
}
.reply_case_inner {
    padding: 15px;
    font-weight: bold;
}
.reply_case_inner h1 {
    font-size: 3.6rem;
    text-align: center;
    margin-top: 10px;
}

.tel_case .flex {
    background: #c25d00;
    padding: 15px;
}

.tel_case .reply_case_inner {
    background-color: #fff8eb;
    color: #ac5300;
}

.mail_case .flex {
    background: #1c8a34;
    padding: 15px;
}

.mail_case .reply_case_inner {
    background-color: #fff8eb;
    color: #00761a;
}

.mail_case .reply_case_inner h1 {
    font-size: 2.5rem;
}
.comp_part3 {
    padding: 15px 8px 40px;
    text-align: left;
}
.comp_part3_info {
    text-align: center;
    margin-top: 10px;
}
.comp_part3_info h1 {
    font-size: 2.5rem;
}

@media screen and (min-width: 480px) {
    .comp_part2 {
        width: 900px;
        margin: 0 auto;
    }
    .pc_flex {
        display: flex;
        align-items: stretch;
        justify-content: space-around;
    }
    .pc_flex .reply_case {
        width: 48%;
    }
    .reply_case_inner {
        height: 142px;
    }
}
.flex {
    display: flex;
    justify-content: center;
}
.to_mail {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}
