@charset "utf-8";
/* CSS Document */

:root {
    --main-bg-color: #fcfcfc; /* ほぼ白 */
    --main-text-color: #333;
    --sub-text-color: #888;
    --accent-color: #ff8c00; /* 暖色系のオレンジをアクセントに */
    --font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}

body {
    background-color: var(--main-bg-color);
    color: var(--main-text-color);
    font-family: var(--font-family);
    display: block;
    justify-content: center;
    align-items: center;
	min-width: 320px;
    min-height: 100vh; 
    margin: 0;
    position: relative;
    padding: 20px 0;
}

.container-wrapper {
    width: 90%;
    max-width: 1200px;
    
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    margin: 0 auto 100px;
    min-height: 80vh;
}

/* ロゴエリア */
.logo-area {
    padding: 40px 30px 0;
    text-align: left;
}

.logo-img {
    max-height: 35px;
}

/* メインコンテンツの左右分割 */
.main-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.left-content {
    flex: 0 0 45%; 
    text-align: left;
    padding-right: 50px;
    z-index: 2;
    opacity: 0;
    animation: fadeInSlideRight 1s ease-out forwards;
}

@keyframes fadeInSlideRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.right-code {
    flex: 0 0 55%; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* エラーコードのスタイル */
.sub-message {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sub-text-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.error-code-small {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 800;
}

.message {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
}

.caution{ 
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
}

.description {
    font-size: 1rem;
    color: var(--sub-text-color);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* エフェクト 1: 巨大な背景コード */
.giant-code {
    font-family: 'Montserrat', sans-serif;
    font-size: 350px; 
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.1; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    letter-spacing: -20px;
    z-index: 1;
    animation: scaleIn 1.5s ease-out forwards;
}

/* エフェクト 2: 巨大コードのホバーによる錯覚効果 */
.main-container:hover .giant-code {
    transform: translate(-52%, -48%) rotate(-1deg);
    opacity: 0.15;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

@keyframes scaleIn {
    from { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    to { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
}

/* ボタンのスタイル */
.button {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.primary:hover {
    background-color: #e67e00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.6);
}

/* SHOPインフォメーション */
.store-details{
	padding: 20px auto;
	margin: 20px auto 60px;
	border-top: 1px solid #999;
}
.store-block{
	border-bottom: 1px solid #999;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    
    .container-wrapper {
        width: 100%;
        min-height: auto;
        border-radius: 0;
        margin: 0 0 100px;
        padding-bottom: 30px;
    }

    .logo-area {
        padding: 20px;
    }

    .main-container {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .left-content {
        flex: none;
        width: 100%;
        padding: 0;
        text-align: center;
        order: 2;
    }

    .right-code {
        flex: none;
        width: 100%;
        height: 120px;
        margin-bottom: 20px;
        order: 1;
    }

    .giant-code {
        font-size: 180px;
        letter-spacing: -10px;
        opacity: 0.15;
    }
    
    .message {
        font-size: 1.5rem;
    }
    
    .description {
        margin-bottom: 30px;
    }
}
