@charset "UTF-8";

#contents {
    padding: 20px 0 50px 0;
    display: block;
}
@media (orientation: portrait) {
    #contents {
        padding: 160px 0 50px 0;
    }
}

#contents > p#return {
    font-size: .75rem;
    margin: 0 10px 20px 10px;
}

#contents > h2 {
    text-align: center;
    margin: 0 0 40px 0;
}
#contents > h2 > span {
    font-weight: bold;
    font-size: 1.2rem;
    background-color: #75c3ff;
    color: #fff;
    padding: 8px 20px;
}


/* ステップインジケーター */

.step-indicator {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0 0 36px 0;
    padding: 0;
    gap: 0;
}

.step-indicator > li {
    position: relative;
    flex: 1;
    max-width: 160px;
    text-align: center;
    font-size: .8rem;
    color: #aaa;
    padding: 8px 0 6px 0;
    border-bottom: 3px solid #ddd;
}

.step-indicator > li.active {
    color: #0096d1;
    font-weight: bold;
    border-bottom-color: #75c3ff;
}

.step-indicator > li.done {
    color: #75c3ff;
    border-bottom-color: #75c3ff;
}


/* お問い合わせフォーム */

#contact-app {
    margin: 0 auto;
    padding: 0 15px 60px 15px;
    max-width: 640px;
}

#form-intro {
    margin: 0 0 30px 0;
    font-size: .9rem;
}

#form-intro > p {
    margin: 0 0 8px 0;
    line-height: 1.7;
}

.required-note {
    font-size: .8rem;
    color: #666;
}

.required-mark {
    color: #e03c3c;
    font-weight: bold;
    margin-left: 2px;
}


/* フォーム行 */

.form-row {
    margin: 0 0 24px 0;
}

.form-row > label {
    display: block;
    font-size: .9rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 6px 0;
}

.form-row > input[type="text"],
.form-row > input[type="email"],
.form-row > input[type="tel"],
.form-row > textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #b0cfe0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    background-color: #f7fbff;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-row > input[type="text"]:focus,
.form-row > input[type="email"]:focus,
.form-row > input[type="tel"]:focus,
.form-row > textarea:focus {
    outline: none;
    border-color: #75c3ff;
    background-color: #fff;
}

.form-row > textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.6;
}

.char-count {
    text-align: right;
    font-size: .75rem;
    color: #888;
    margin: 4px 0 0 0;
}


/* 確認画面 */

#confirm-intro {
    margin: 0 0 24px 0;
    font-size: .9rem;
    line-height: 1.7;
}

.confirm-table {
    margin: 0 0 30px 0;
    border-top: 1px solid #b0cfe0;
}

.confirm-row {
    display: flex;
    border-bottom: 1px solid #b0cfe0;
    padding: 14px 0;
    gap: 16px;
}

.confirm-row > dt {
    flex-shrink: 0;
    width: 9em;
    font-size: .85rem;
    font-weight: bold;
    color: #555;
    padding-top: 1px;
}

.confirm-row > dd {
    font-size: .95rem;
    color: #333;
    line-height: 1.6;
    word-break: break-all;
}

.confirm-row > dd.message-preview {
    white-space: pre-wrap;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.back-btn {
    display: inline-block;
    background-color: #fff;
    color: #0096d1;
    font-size: 1rem;
    font-weight: bold;
    padding: 13px 36px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid #75c3ff;
    transition: background-color 0.2s;
    letter-spacing: 2px;
    -webkit-appearance: none;
    appearance: none;
}

.back-btn:hover {
    background-color: #eaf6ff;
    opacity: 1;
}


/* Turnstile */

.turnstile-row {
    display: flex;
    justify-content: center;
}


/* 送信ボタン */

.submit-row {
    text-align: center;
    margin-top: 10px;
}

.submit-btn {
    display: inline-block;
    background-color: #75c3ff;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    padding: 14px 50px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s, opacity 0.2s;
    letter-spacing: 2px;
    -webkit-appearance: none;
    appearance: none;
}

.submit-btn:hover:not(:disabled) {
    background-color: #4faee8;
    opacity: 1;
}

.submit-btn:disabled {
    background-color: #b0d9f5;
    cursor: not-allowed;
    opacity: 0.7;
}


/* メッセージ */

.message {
    text-align: center;
    padding: 30px 20px;
    border-radius: 6px;
    margin: 20px 0;
}

.success-message {
    background-color: #eaf6ff;
    border: 1px solid #75c3ff;
}

.success-message > i {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 16px;
}

.success-message > p {
    font-size: .95rem;
    color: #333;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.success-message > p > a {
    display: inline-block;
    margin-top: 10px;
    color: #0096d1;
}

.error-message {
    background-color: #fff0f0;
    border: 1px solid #e03c3c;
    margin-bottom: 20px;
}

.error-message > p {
    font-size: .9rem;
    color: #c0392b;
    margin: 0;
}


@media print, screen and (min-width:490px) {

    #contents {
        padding: 40px 0 50px 0;
    }
    @media (orientation: portrait) {
        #contents {
            padding: 175px 0 50px 0;
        }
    }

}


@media print, screen and (min-width:700px) {

    #contents {
        padding: 40px 0 50px 0;
    }
    @media (orientation: portrait) {
        #contents {
            padding: 145px 0 50px 0;
        }
    }

    #contents > p#return {
        margin: 0 auto 20px auto;
        width: 640px;
    }

}


@media print, screen and (min-width:800px) {

    #contents {
        padding: 20px 0 50px 0;
    }

}
