body.body-contact {
    padding: 20px 0;
}

.container.container-contact {
    width: 900px;
    padding: 0;
    border: 3px solid #C1E5F5;
}

.container.container-contact2 {
    width: 900px;
    padding: 0;
    border: 3px solid #F2F2B0;
}

.container.container-contact3 {
    width: 900px;
    padding: 0;
    border: 3px solid #E6CDE3;
}

.container-privacy {
    box-shadow: 0px 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.header-contact {
    /*資料請求*/
    text-align: left;
    box-shadow: none;
    background-color: #C1E5F5;
}

.header-contact2 {
    /*無料デモ*/
    text-align: left;
    box-shadow: none;
    background-color: #F2F2B0;
}

.header-contact3 {
    /*問合せ*/
    text-align: left;
    box-shadow: none;
    background-color: #E6CDE3;
}

.header-contact-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-contact .logo {
    /*justify-content: flex-start;*/
    padding-top:20px;
    padding-bottom:40px;
    text-align:center;
}

.header-contact2 .logo {
    /*justify-content: flex-start;*/
    padding-top:20px;
    padding-bottom:40px;
    text-align:center;
}

.header-contact3 .logo {
    /*justify-content: flex-start;*/
    padding-top:20px;
    padding-bottom:40px;
    text-align:center;
}

.header-contact h2 {
    margin: 24px 0 0 64px;
}

.header-contact .logo img {
    height: 55px;
}

/* タイトル文字の設定 */
.header-title {
    font-size: 1.6em;
    margin: auto !important;
}

.header-title span {
    display: block;
    font-size: 0.8em !important;
}

/* セクション全体 */
.contact_word{
    padding-left:35px;
    padding-right:35px;
}

.contact_word .contact_title{
    font-size:20px;
    font-weight: bold;
}

.document-section {
    background-color: #d6e9ca94;
    padding: 20px 50px 10px;
}

.document-title {
    margin-bottom: 15px;
    margin-top: 0;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-list li {
    display: flex;
    align-items: center;
    margin: 0 15px 15px;
    font-weight: bold;
    font-size: 1.2em;
}

.document-list li img {
    width: 36px;
    height: auto;
    margin-right: 10px;
}

.request_photo{
    text-align:center;
}

.request_head{
    width:70%;
    padding:15px;
}

.request_head2{
    width:45%;
    padding:15px;
}

.request_head3{
    width:30%;
    padding:15px;
}

.text-center {
    text-align: center;
}

.form-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    overflow: hidden;
}

.form-outer {
    padding: 32px;
    width: 800px;
    margin: auto;
    border:1px;
}

.form-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-title{
    width:265px;
}

.form-group2 {
    display: flex;
    align-items: flex-start;
}

.form-group label {
    flex: 1;
}

.form-input {
    flex: 3;
}

h2.privacy-title {
    display: inline-block;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    touch-action: none;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

select {
    color: #333;
}

textarea {
    resize: none;
    height: 100px;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.btn {
    display: inline-block;
    background-color: #008542;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    text-align: center;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    width: 200px;
    border: 1px solid #008542;
}

.btn.btn-default {
    background: transparent;
    border: 1px solid #2f3030;
    color: #2f3030;
}

.btn.btn-default:hover {
    background-color: #d8d8d8;
}

.btn:hover {
    background-color: #005f2d;
}

.mr-20 {
    margin-right: 20px;
}

.d-none {
    display: none;
}

.mandatory {
    color: #fff;
    font-size: 14px;
    background: #F62340;
    padding: 1px 3px;
    text-align: center;
    margin-right: 10px;
}

.mandatory2 {
    width:42px;
}

.link {
    font-size: 12px;
    margin-top: 10px;
    display: block;
    color: #2C6ABE;
    text-decoration: underline;
}

.link {
    font-size: 16px;
    margin-top: 10px;
    display: block;
    color: #2C6ABE;
    text-decoration: underline;
}

.sp-manual-link {
    margin-top: 10px;
    display: block;
    color: #2C6ABE;
    text-decoration: underline;
    padding-bottom: 10px;
}

.error-message {
    color: red;
    display: none;
}

.empty-label {
    flex: 0 !important;
}

.form-input-flex {
    display: flex;
}

.form-input-flex label {
    margin-bottom: 0;
}

.form-input-flex input {
    width: 20px;
}

.form-group.checkbox-space {
    margin-bottom: 0;
}

.form-group.button-space {
    align-items: flex-end;
}

.form-group.button-space label {
    flex: 3;
    margin-left: 34px;
}

.form-group.button-space .form-input {
    flex: 1;
    text-align: right;
}

.privacy-link {
    display: inline;
}

.readonly-style {
    background-color: #f8f9fa;
    border: none;
    pointer-events: none;
    touch-action: none;
    accent-color: #939393;
}

label.readonly-style {
    background-color: transparent;
}

.footer-img {
    margin-top: 60px;
}

button:disabled {
    opacity: 0.5;
    cursor: auto;
}

.privacy-contents {
    padding: 20px;
}

pre {
    white-space: pre-line;
    margin: 24px 10px 0 64px;
}

pre.thanks {
    font-size: 14px;
}

.btn-back-div {
    height: 40vh;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.btn.btn-default.btn-back {
    width: 100px;
    text-decoration: none;
}

.sp-manual-contents {
    margin: 24px 0 0 64px;
}

/* 背景（画面全体） */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* 背景の白さ */
    z-index: 9999;
    display: none;
}

/* スピナー（ど真ん中設定 ＋ 形） */
.spinner {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #008542;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.mt-1 {
    margin-top: 1rem;
}

/* 回転アニメーション */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container.container-contact {
        /* width: 100%; */
        width: 98%;
    }
    
    .container.container-contact2 {
       /* width: 100%; */
       width: 98%;
    }
    
    .container.container-contact3 {
        /* width: 100%; */
        width: 98%;
    }

    .header-contact-flex {
        flex-direction: column;  /* 要素を縦並びにする */
        gap: 8px;               /* 上（ロゴ）と下（文字）の間隔を空ける */
    }

    .header-contact h2 {
        margin: 20px 0 0 20px;
    }

    .header-title {
        padding-top: 10px;
    }

    pre {
        margin: 20px 10px 0 20px;
    }

    h2.privacy-title {
        display: block;
    }

    .creation {
        margin-left: 20px;
    }

    .form-group {
        display: block;
    }

    .form-group.d-none {
        display: none;
    }

    .btn {
        padding: 8px 12px;
        width: 150px;
    }

    #send-buttons .form-input {
        display: flex;
        padding-top: 20px;
    }

    .sp-manual-contents {
        margin: 20px 0 0 20px;
    }
}
