/* ==========================================================================
   全般のスタイル（リセット含む）
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    background-color: #1a1a1a; /* 高級感のあるダークグレー */
    color: #e0e0e0;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.subtitle {
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: #e50914; /* アクセントカラーの赤 */
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
header {
    background-color: rgba(17, 17, 17, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid #2a2a2a;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff;
}

.logo a:hover {
    color: #e50914;
}

.logo-img {
    height: 250px;
    width: auto;
    margin-top: -95px;
    margin-bottom: -95px;
    margin-left: -55px;
    vertical-align: middle;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: #e50914;
}

.btn-nav {
    background-color: #e50914;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
}

.btn-nav:hover {
    background-color: #b80710;
}

/* ==========================================================================
   メインビジュアル（ヒーロー）
   ========================================================================== */
.hero {
    height: 80vh;
    /* 背景画像：車やパーツのカッコいい画像（Unsplashより仮設定） */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1611245329351-97b35444131d?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* ヘッダー分空ける */
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #cccccc;
}

.btn-main {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 35px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
}

.btn-main:hover {
    background-color: #fff;
    color: #111;
}

/* ==========================================================================
   ABOUT（コンセプト）
   ========================================================================== */
.about {
    background-color: #222;
    text-align: center;
}

.about h2 {
    color: #fff;
}

.about p.lead {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    color: #aaa;
}

/* ==========================================================================
   PRODUCTS（商品一覧）
   ========================================================================== */
.products h2 {
    color: #fff;
    border-left: 4px solid #e50914;
    padding-left: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: #222;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #333;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: #e50914;
}

.product-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.product-info .category {
    font-size: 0.85rem;
    color: #e50914;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-info .price {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.product-info .tax {
    font-size: 0.85rem;
    color: #aaa;
    font-weight: normal;
}

.product-info .desc {
    font-size: 0.9rem;
    color: #aaa;
}

.btn-view-detail {
    display: inline-block;
    background-color: #e50914;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 12px;
    transition: background-color 0.3s;
}

.btn-view-detail:hover {
    background-color: #b80710;
}

/* ==========================================================================
   SHOP INFO & CONTACT（店舗情報・お問い合わせ）
   ========================================================================== */
.info {
    background-color: #111;
    border-top: 1px solid #2a2a2a;
}

.info-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.info-text {
    flex: 1;
    min-width: 300px;
}

.info-text h2 {
    color: #fff;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.info-table th, .info-table td {
    padding: 15px 0;
    border-bottom: 1px solid #2a2a2a;
    text-align: left;
}

.info-table th {
    width: 30%;
    color: #fff;
    font-weight: 700;
}

.info-table td {
    color: #aaa;
}

.info-contact {
    flex: 1;
    min-width: 300px;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
}

.info-contact h2 {
    color: #fff;
    margin-bottom: 20px;
}

.info-contact p {
    color: #aaa;
    margin-bottom: 30px;
}

.contact-buttons {
    text-align: center;
}

.btn-mail-action {
    display: block;
    background-color: #e50914;
    color: #fff;
    padding: 15px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.btn-mail-action:hover {
    background-color: #b80710;
}

.info-contact .tel {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
}

/* ==========================================================================
   フッター
   ========================================================================== */
footer {
    background-color: #0a0a0a;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #1a1a1a;
}

/* ==========================================================================
   レスポンシブ用（スマホ対応）
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        padding: 10px;
    }

    .logo-img {
        height: 120px;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 0;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav ul li {
        margin: 5px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .info-flex {
        flex-direction: column;
        gap: 40px;
    }
    
    .container {
        padding: 50px 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ADMIN PANEL（商品管理）
   ========================================================================== */
.admin {
    background-color: #222;
    border-bottom: 1px solid #2a2a2a;
}

.admin h2 {
    color: #fff;
    border-left: 4px solid #e50914;
    padding-left: 15px;
}

.admin-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.product-form {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

/* ==========================================================================
   CONTACT PAGE (いい感じのデザイン)
   ========================================================================== */
.contact-page {
    padding: 140px 20px 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.contact-container {
    max-width: 750px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 60px 50px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 10px;
}

.contact-container .subtitle {
    text-align: center;
}

.contact-desc {
    color: #aaa;
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: center;
    font-size: 0.95rem;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form label {
    display: inline-block;
    margin-bottom: 10px;
    color: #eee;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.required {
    background-color: #e50914;
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 12px;
    vertical-align: middle;
    font-weight: bold;
    letter-spacing: 0;
}

.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form input[type='tel'],
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e50914;
    background-color: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.15);
}

.form-submit {
    text-align: center;
    margin-top: 50px;
}

.btn-submit {
    background: linear-gradient(45deg, #e50914, #ff3b3b);
    color: #fff;
    padding: 18px 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(229, 9, 20, 0.4);
}

.btn-submit:disabled {
    background: #555;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

.form-message {
    margin-top: 30px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    display: none;
    font-size: 0.95rem;
}

.form-message.success {
    display: block;
    background-color: rgba(40, 167, 69, 0.15);
    color: #4dd86b;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-message.error {
    display: block;
    background-color: rgba(229, 9, 20, 0.15);
    color: #ff6b6b;
    border: 1px solid rgba(229, 9, 20, 0.3);
}

@media (max-width: 768px) {
    .contact-container {
        padding: 40px 25px;
    }
}

.info-map {
    flex: 1;
    min-width: 300px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    min-height: 300px;
}

.info-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
}
