/*
Brutalist Racing Theme CSS
*/

:root {
    --b-bg-color: #0a0a0a;
    --b-text-color: #f0f0f0;
    --b-primary-color: #D3121E; /* Racing Red */
    --b-border-color: #333333;
    --b-line-green: #06C755;
    --b-font-heading: 'Zen Kaku Gothic New', sans-serif;
    --b-font-body: 'Noto Sans JP', sans-serif;
}

body.brutalist-theme {
    background-color: var(--b-bg-color);
    color: var(--b-text-color);
    font-family: var(--b-font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Reset & Basics */
.brutalist-theme * {
    box-sizing: border-box;
}

.brutalist-theme h1, .brutalist-theme h2, .brutalist-theme h3, .brutalist-theme h4 {
    font-family: var(--b-font-heading);
    margin-top: 0;
    font-weight: 900;
}

.brutalist-theme a {
    text-decoration: none;
    color: inherit;
}

.b-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.b-section-title {
    font-size: 2.5rem;
    color: var(--b-primary-color);
    border-bottom: 4px solid var(--b-border-color);
    padding-bottom: 10px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.b-section-title.center {
    text-align: center;
    border-bottom: none;
    position: relative;
}
.b-section-title.center::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--b-primary-color);
    margin: 15px auto 0;
}
.text-white { color: #fff !important; }
.center { text-align: center; }

/* Header */
.b-header {
    background: #000;
    border-bottom: 2px solid var(--b-border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.b-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.b-header-contact {
    text-align: right;
}
.b-header-contact .tel-text {
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 1px;
}
.b-header-contact .tel-number {
    font-size: 1.5rem;
    font-family: var(--b-font-heading);
    font-weight: 900;
    color: #fff;
    display: block;
    line-height: 1;
}

/* Hero Section */
.b-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.b-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}
.b-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}
.b-hero-title {
    color: #fff;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 40px;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.b-hero-title span {
    display: block;
}
.b-hero-title .line1 {
    font-size: 2rem;
    color: #aaa;
    margin-bottom: 10px;
}
.b-hero-title .line3 {
    color: var(--b-primary-color);
    font-size: 4rem;
}
.b-hero-cut {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--b-bg-color);
    transform: skewY(-3deg);
    z-index: 10;
}

/* Buttons */
.b-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.b-btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--b-font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.b-btn-primary {
    background: var(--b-primary-color);
    color: #fff;
    box-shadow: 4px 4px 0 #fff;
}
.b-btn-primary:hover {
    background: #fff;
    color: var(--b-primary-color);
    border-color: var(--b-primary-color);
    box-shadow: 4px 4px 0 var(--b-primary-color);
    transform: translate(-2px, -2px);
}
.b-btn-line {
    background: var(--b-line-green);
    color: #fff;
    box-shadow: 4px 4px 0 #fff;
}
.b-btn-line:hover {
    background: #fff;
    color: var(--b-line-green);
    border-color: var(--b-line-green);
    box-shadow: 4px 4px 0 var(--b-line-green);
    transform: translate(-2px, -2px);
}
.b-btn-secondary:hover {
    background: #fff !important;
    color: #000 !important;
    box-shadow: 4px 4px 0 #fff;
    transform: translate(-2px, -2px);
}

/* Promise Section */
.b-promise {
    padding: 100px 0;
    position: relative;
    z-index: 11;
}
.b-promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.b-promise-image {
    position: relative;
}
.b-promise-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%) contrast(120%);
    position: relative;
    z-index: 2;
}
.b-image-frame {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--b-primary-color);
    z-index: 1;
}
.b-promise-item {
    margin-bottom: 30px;
}
.b-promise-item h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 10px;
    border-left: 4px solid var(--b-primary-color);
    padding-left: 15px;
}
.b-promise-item p {
    color: #aaa;
    margin: 0;
    padding-left: 19px;
}

/* Flow Section */
.b-flow {
    padding: 80px 0;
    background: #111;
    border-top: 1px solid var(--b-border-color);
    border-bottom: 1px solid var(--b-border-color);
}
.b-flow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.b-step {
    background: #000;
    padding: 30px;
    border: 1px solid var(--b-border-color);
    position: relative;
}
.b-step-num {
    font-family: var(--b-font-heading);
    font-weight: 900;
    font-size: 4rem;
    color: rgba(255,255,255,0.05);
    position: absolute;
    top: 10px;
    right: 15px;
    line-height: 1;
}
.b-step h3 {
    color: var(--b-primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.b-step p {
    color: #ccc;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Contact Section */
.b-contact {
    padding: 100px 0;
    background: var(--b-bg-color);
}
.b-contact-lead {
    margin-bottom: 40px;
    color: #ccc;
}
.b-form-wrapper {
    background: #151515;
    padding: 40px;
    border: 2px solid var(--b-border-color);
    border-top: 6px solid var(--b-primary-color);
}

/* Footer */
.b-footer {
    background: #000;
    padding: 40px 0 20px;
    border-top: 2px solid var(--b-border-color);
}
.b-footer-inner {
    text-align: center;
}
.b-footer-logo {
    margin-bottom: 20px;
}
.b-footer-info {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.8;
}
.b-footer-copy {
    color: #555;
    font-size: 0.8rem;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .b-hero-title .line1 { font-size: 1.2rem; }
    .b-hero-title .line2 { font-size: 1.8rem; }
    .b-hero-title .line3 { font-size: 2.5rem; }
    .b-promise-grid { grid-template-columns: 1fr; }
    .b-flow-steps { grid-template-columns: 1fr; }
    .b-image-frame { display: none; }
    .b-form-wrapper { padding: 20px; }
}
