@charset "utf-8";

/* お問い合わせページ専用スタイル */

/* 基本レイアウト */
.gridContainer {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

#LayoutCenter {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    background-color: white;
    border-left: 2px solid #666;
    border-right: 2px solid #666;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* 1200px以下（タブレット・スマホ）では全画面表示 */
@media only screen and (max-width: 1200px) {
    #LayoutCenter {
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 0;
        border-left: none;
        border-right: none;
    }
}

/* CompanyTop - ブランド名のスタイル */
#CompanyTop {
    background-color: black;
    color: white;
    font-family: serif;
    font-size: 2.5em;
    font-weight: bold;
    padding: 20px;
    text-align: right;
    margin: 0;
}

/* サイト全体の背景色を黒に設定 */
body {
    background-color: black;
}

/* お問い合わせコンテンツ */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
    color: #333;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 2em;
}

.contact-content h1 {
    color: #000;
    border-bottom: 3px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 1.5em;
    font-weight: bold;
}

.contact-content h2 {
    color: #333;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.3em;
    font-weight: bold;
    border-left: 4px solid #666;
    padding-left: 1rem;
}

.contact-description {
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.8em;
}

/* 戻るリンク */
.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 2px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.back-link:hover {
    background-color: #333;
    color: white;
    text-decoration: none;
}

/* フォームスタイル */
.contact-form {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
    font-size: 0.7em;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 0.7em;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #333;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #555;
}

/* チェックボックススタイル */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.7em;
    color: #333;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
    transform: scale(1.5);
}

/* お問い合わせ情報 */
.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    text-align: center;
}

.back-button {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 1rem 2rem;
    border: 2px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.back-button:hover {
    background-color: #333;
    color: white;
    text-decoration: none;
}

/* Footer - 背景色黒、文字色白 */
footer {
    background-color: black;
    color: white;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* 下部のdivを横並びにする */
.footer-links {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

#brand, #Policy, #Inquiry {
    flex: 1;
    margin: 0;
    text-align: center;
}

/* スマホサイズでは縦並びに変更 */
@media only screen and (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        justify-content: center;
    }

    #brand, #Policy, #Inquiry {
        flex: none;
        margin: 8px 0;
    }
}

/* PCサイズでの文字サイズ調整 */
@media only screen and (min-width: 769px) {
    #brand, #Policy, #Inquiry {
        font-size: 1.4em;
    }
}

/* レスポンシブ対応 */
@media only screen and (max-width: 768px) {
    .contact-content {
        padding: 1rem;
        line-height: 1.6;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .contact-content {
        padding: 0.8rem;
        line-height: 1.5;
        font-size: 1.2em;
    }
    
    .contact-content h1 {
        font-size: 1.3em;
    }
    
    .contact-content h2 {
        font-size: 1.2em;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.8em;
    }
    
    .back-link {
        font-size: 0.8em;
    }
} 