/* ============================================
   リセットとベーススタイル
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c41e3a; /* 深い赤 */
    --primary-dark: #9a1729;
    --secondary-color: #1a1a1a; /* 黒 */
    --gray-dark: #2a2a2a;
    --gray-medium: #4a4a4a;
    --gray-light: #cccccc;
    --gray-lighter: #e5e5e5;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --shadow: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ============================================
   コンテナ
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   ヘッダー
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-dark) 100%);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-heavy);
}

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

.logo h1 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav a.cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    font-weight: 700;
}

.nav a.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.4);
}

/* モバイルメニュートグル */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    z-index: 999;
    box-shadow: 0 4px 10px var(--shadow-heavy);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    color: var(--white);
    font-size: 1.1rem;
    display: block;
    padding: 10px;
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 40px 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px var(--shadow-heavy);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px var(--shadow-heavy);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   ボタンスタイル
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary-color);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-secondary:hover {
    background-color: var(--gray-lighter);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-heavy);
}

/* ============================================
   セクション共通スタイル
   ============================================ */
.section {
    padding: 100px 0;
}

.section:nth-child(even) {
    background-color: #f8f8f8;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ============================================
   会社概要セクション
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.about-item {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.about-label {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-value {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.about-value a {
    color: var(--primary-color);
    font-weight: 700;
}

.about-value a:hover {
    text-decoration: underline;
}

/* ============================================
   事業紹介セクション
   ============================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-heavy);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.service-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-image-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

.service-image-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.service-image-item:hover img {
    transform: scale(1.05);
}

.image-caption {
    background: var(--gray-dark);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-weight: 500;
}

/* ============================================
   保有車両セクション
   ============================================ */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.fleet-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-heavy);
    transition: all 0.3s ease;
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-heavy);
}

.fleet-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.fleet-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.fleet-count {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 20px 0;
}

.fleet-card p {
    line-height: 1.8;
    opacity: 0.9;
}

/* ============================================
   強みセクション
   ============================================ */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.strength-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px var(--shadow-heavy);
}

.strength-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gray-lighter);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.strength-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    z-index: 2;
}

.strength-card p {
    color: var(--text-gray);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* ============================================
   お問い合わせセクション
   ============================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info > p {
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.contact-detail-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-detail-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin: 5px 0;
}

.phone-number:hover {
    text-decoration: underline;
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

/* フォームスタイル */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.required {
    color: var(--primary-color);
    font-size: 0.85rem;
    background: rgba(196, 30, 58, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.optional {
    color: var(--text-gray);
    font-size: 0.85rem;
    background: var(--gray-lighter);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-lighter);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 18px 48px;
    min-width: 250px;
}

/* ============================================
   フッター
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-dark) 100%);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section a {
    color: var(--white);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-links {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-links a {
    color: var(--white);
    padding: 0 15px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ============================================
   トップへ戻るボタン
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6);
}

/* ============================================
   レスポンシブデザイン
   ============================================ */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-images {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero-content {
        padding: 30px 25px;
    }

    .hero-title {
        font-size: 2.2rem;
        font-weight: 900;
        margin-bottom: 25px;
        line-height: 1.3;
        text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7);
        letter-spacing: 0.05em;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 35px;
        line-height: 1.6;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-grid,
    .service-grid,
    .fleet-grid,
    .strength-grid {
        grid-template-columns: 1fr;
    }

    .service-image-item {
        margin: 0 -20px;
    }

    .service-image-item img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .hero-content {
        padding: 25px 20px;
    }

    .hero-title {
        font-size: 1.85rem;
        font-weight: 900;
        margin-bottom: 20px;
        line-height: 1.4;
        text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8);
        letter-spacing: 0.03em;
    }

    .hero-subtitle {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 30px;
        line-height: 1.7;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    }

    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .btn-submit {
        width: 100%;
        min-width: auto;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}