@charset "utf-8";

/* 404ページ専用スタイル */

/* 基本レイアウト */
.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;
}

/* 404エラーコンテンツ */
.error-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    line-height: 1.8;
    color: white;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 2em;
}

.error-code {
    font-size: 8em;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.error-content h1 {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.error-description {
    margin-bottom: 2rem;
    color: #ccc;
    font-size: 0.8em;
}

/* アクションボタン */
.error-actions {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-button, .contact-button {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.8em;
}

.home-button {
    background-color: #333;
    border: 2px solid #333;
}

.home-button:hover {
    background-color: #555;
    border-color: #555;
    text-decoration: none;
}

.contact-button {
    background-color: #e74c3c;
    border: 2px solid #e74c3c;
}

.contact-button:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    text-decoration: none;
}

/* エラー情報 */
.error-info {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    font-size: 0.7em;
}

.error-info p {
    margin-bottom: 1rem;
    color: #333;
}

.error-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-info li {
    margin-bottom: 0.5rem;
}

.error-info a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: inline-block;
    transition: all 0.3s ease;
}

.error-info a: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) {
    .error-content {
        padding: 2rem 1rem;
        line-height: 1.6;
    }
    
    .error-code {
        font-size: 6em;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .home-button, .contact-button {
        width: 200px;
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    .error-content {
        padding: 1.5rem 0.8rem;
        line-height: 1.5;
        font-size: 1.2em;
    }
    
    .error-code {
        font-size: 4em;
    }
    
    .error-content h1 {
        font-size: 1.3em;
    }
    
    .error-info {
        padding: 1rem;
    }
} 