:root {
    --primary-color: #006fb9;
    --primary-dark: #2980b9;
    --secondary-color: #007136;
    --secondary-dark: #27ae60;
    --wechat-color: #007136;
    --wechat-dark: #05a84e;
    --dark-color: #002249;
    --light-color: #ebf3fd;
    --text-color: #333;
    --border-color: #d8eaff;
    --white: #fff;
    --black: #000;
}

/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 60px 0;
}

.section h2 {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-dark);
}

/* ヘッダー */
header {
    background: var(--dark-color);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* ヒーローセクション */
#hero {
    background: url('./images/mv.jpg') center/cover;
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

/* PRセクション */
#pr {
    background: #fff;
    text-align: center;
}

.pr-content {
    max-width: 800px;
    margin: 0 auto;
}

.pr-points {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pr-point {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 15px;
    flex: 1;
    min-width: 230px;
    max-width: 350px;
}

.pr-point i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* 事業紹介セクション */
#about {
    background-color: #ebf3fd;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-points {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.point {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.point i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.point-content h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.point-content p {
    margin-bottom: 0;
    color: var(--text-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-points {
        width: 100%;
    }
}

/* 車種一覧 */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.car {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.car:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.car img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car h3, .car p {
    padding: 0 15px 15px;
}

.more-btn {
    display: block;
    text-align: center;
    margin-top: 40px;
}

/* 予約フォーム */
#reservation-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
}

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

.form-group h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.car-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.car-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    transition: border-color 0.3s;
}

.car-option:hover {
    border-color: var(--primary-color);
}

.car-option input[type="radio"] {
    display: none;
}

.car-option input[type="radio"]:checked + img {
    border: 3px solid var(--primary-color);
}

.car-option img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 3px solid transparent;
}

.checkbox-option {
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    background: #d4e7ff;
    border-radius: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: var(--secondary-dark);
}

/* WeChat連絡先 */
.wechat-contact {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.wechat-qr {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    background: var(--white);
}

.wechat-btn {
    background: var(--wechat-color);
    margin-top: 20px;
}

.wechat-btn:hover {
    background: var(--wechat-dark);
}

/* フッター */
footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .features, .pr-points {
        flex-direction: column;
    }

    .feature, .pr-point {
        margin-bottom: 20px;
    }

    #hero {
        padding: 100px 0;
    }
}