/* ==========================================================================
   contact.css - お問い合わせページ用スタイル
   ========================================================================== */

/* リセット
------------------------------------------------------------*/
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "M PLUS 1", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: #f5f5f5;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ヘッダー
------------------------------------------------------------*/
.site-header {
    background: #222;
    color: #fff;
    padding: 6px 0;
    flex-shrink: 0;
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
.header-logo {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* タイトルバー
------------------------------------------------------------*/
.title-bar {
    background: #1b47a0;
    padding: 10px 0;
    flex-shrink: 0;
}
.title-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
.title-bar-text {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
}
.title-bar-text a {
    color: #fff;
    text-decoration: none;
}
.title-bar-text a:hover {
    text-decoration: underline;
}

/* メインコンテンツ
------------------------------------------------------------*/
.container {
    flex: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px 20px;
    width: 100%;
}

.page-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

/* フォーム
------------------------------------------------------------*/
.contact-form {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.form-group label .required {
    color: #e53935;
    margin-left: 4px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1b47a0;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-actions {
    text-align: center;
    margin-top: 25px;
}

/* ボタン
------------------------------------------------------------*/
.btn {
    padding: 12px 50px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-confirm {
    background: #1b47a0;
    color: #fff;
}

.btn-confirm:hover {
    background: #153a85;
}

.btn-submit {
    background: #4CAF50;
    color: #fff;
}

.btn-submit:hover {
    background: #43A047;
}

.btn-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

.btn-back {
    background: #757575;
    color: #fff;
    margin-right: 15px;
}

.btn-back:hover {
    background: #616161;
}

/* メッセージ
------------------------------------------------------------*/
.form-message {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.form-message.success {
    color: #4CAF50;
}

.form-message.error {
    color: #e53935;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #1b47a0;
    text-decoration: none;
    font-size: 13px;
}

.back-link a:hover {
    text-decoration: underline;
}

/* 対象ページ情報
------------------------------------------------------------*/
.target-info {
    background: #f0f4f8;
    border: 1px solid #d0d8e0;
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 13px;
}
.target-info-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}
.target-info-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}
.target-info-url {
    font-size: 11px;
    color: #666;
    word-break: break-all;
}
.target-info-url a {
    color: #1976D2;
    text-decoration: none;
}
.target-info-url a:hover {
    text-decoration: underline;
}

/* 確認画面
------------------------------------------------------------*/
.confirm-section {
    display: none;
}
.confirm-item {
    margin-bottom: 20px;
}
.confirm-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
}
.confirm-value {
    font-size: 14px;
    color: #333;
    padding: 10px 12px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    white-space: pre-wrap;
    word-break: break-all;
}

/* フッター
------------------------------------------------------------*/
.site-footer {
    background: #222;
    color: #fff;
    padding: 10px 0;
    flex-shrink: 0;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.footer-inner a { color: #fff; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-sep { color: rgba(255,255,255,0.4); }
.footer-copy { color: rgba(255,255,255,0.6); }
